OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as...
Android Build Merger (Role) [Wed, 3 Apr 2019 03:58:43 +0000 (03:58 +0000)]
Merge "Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660" into stage-aosp-master am: 78d17025e8" into pi-dev-plus-aosp

5 years agoMerge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library...
Paul Hu [Wed, 3 Apr 2019 03:57:51 +0000 (20:57 -0700)]
Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660" into stage-aosp-master
am: 78d17025e8

Change-Id: Ide6e0120b57228d2dd4c9895abf716f18b41b1fa

5 years agoMerge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library...
Android Build Merger (Role) [Wed, 3 Apr 2019 03:47:48 +0000 (03:47 +0000)]
Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660 am: 2d20cd2378" into pi-dev-plus-aosp

5 years agoMerge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am...
Paul Hu [Wed, 3 Apr 2019 03:47:27 +0000 (20:47 -0700)]
Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660
am: 2d20cd2378

Change-Id: Ibf8b3f0c986acb156c3705ee569554bf673269f0

5 years agoMerge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am...
Paul Hu [Wed, 3 Apr 2019 03:45:17 +0000 (20:45 -0700)]
Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660
am: 2d20cd2378

Change-Id: I5a5fd9f900bb1d7217364812d9d0e5477179bfc9

5 years agoMerge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library...
Android Build Merger (Role) [Wed, 3 Apr 2019 03:17:56 +0000 (03:17 +0000)]
Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660" into stage-aosp-master

5 years agoMerge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"
Paul Hu [Wed, 3 Apr 2019 03:17:33 +0000 (20:17 -0700)]
Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"
am: 3db9cfe660

Change-Id: I33db2bd452f5b30b382f8e0e913862ad6bcc099e

5 years agoMerge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"
Paul Hu [Wed, 3 Apr 2019 03:16:43 +0000 (20:16 -0700)]
Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"
am: 3db9cfe660

Change-Id: I387332fd5914474010eb1b29d6543028457599df

5 years agoMerge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"
Paul Hu [Wed, 3 Apr 2019 02:42:06 +0000 (02:42 +0000)]
Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"

5 years agoMerge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES" am: 50b59...
Dan Willemsen [Wed, 3 Apr 2019 01:48:21 +0000 (18:48 -0700)]
Merge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES" am: 50b59ccafc
am: d092f8a234

Change-Id: I9db35be9e19d51be23b540340bc5a1066ade0292

5 years agoMerge "Change UT to disabled by default" am: 3c1a889a9c
Brad Ebinger [Wed, 3 Apr 2019 01:39:55 +0000 (18:39 -0700)]
Merge "Change UT to disabled by default" am: 3c1a889a9c
am: 94c06c609a

Change-Id: I930b6873fcc24aebcf430f356bc1002db665ce5d

5 years agoMerge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES"
Dan Willemsen [Wed, 3 Apr 2019 01:13:51 +0000 (18:13 -0700)]
Merge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES"
am: 50b59ccafc

Change-Id: Ia61b5c353a0d8316319c9bd9e5723795cfe41957

5 years agoMerge "Change UT to disabled by default"
Brad Ebinger [Wed, 3 Apr 2019 01:05:12 +0000 (18:05 -0700)]
Merge "Change UT to disabled by default"
am: 3c1a889a9c

Change-Id: Id0e575b3e17515667371ff626a4423e1cb82b2c0

5 years agoMerge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES"
Treehugger Robot [Tue, 2 Apr 2019 23:46:52 +0000 (23:46 +0000)]
Merge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES"

5 years agoMerge "Change UT to disabled by default"
Treehugger Robot [Tue, 2 Apr 2019 23:21:31 +0000 (23:21 +0000)]
Merge "Change UT to disabled by default"

5 years agoUse LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES
Dan Willemsen [Tue, 2 Apr 2019 21:49:32 +0000 (14:49 -0700)]
Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES

LOCAL_TARGET_REQUIRED_MODULES is intended for host -> target
dependencies, not target -> target dependencies (which can use
LOCAL_REQUIRED_MODULES).

Test: treehugger
Change-Id: I84de8adcdd772be0169b6d6b8df6f69b00ce888f

5 years agoMerge "Convert frameworks/base/cmds/* to Android.bp" am: 179e132823
Colin Cross [Tue, 2 Apr 2019 17:19:15 +0000 (10:19 -0700)]
Merge "Convert frameworks/base/cmds/* to Android.bp" am: 179e132823
am: aa9e302a63

Change-Id: I05de333caa6aa5ed6b33389e2c320d845b9a36ee

5 years agoMerge "Convert frameworks/base/cmds/* to Android.bp"
Colin Cross [Tue, 2 Apr 2019 16:59:30 +0000 (09:59 -0700)]
Merge "Convert frameworks/base/cmds/* to Android.bp"
am: 179e132823

Change-Id: I22698f8a29dfe60b7dc1198ac62af5d59827e9d7

5 years agoMerge "Convert frameworks/base/cmds/* to Android.bp"
Colin Cross [Tue, 2 Apr 2019 16:39:04 +0000 (16:39 +0000)]
Merge "Convert frameworks/base/cmds/* to Android.bp"

5 years agoMerge "docs: Linked VpnService class description to guide." am: 97f778f0b5
Benjamin Miller [Tue, 2 Apr 2019 15:36:21 +0000 (08:36 -0700)]
Merge "docs: Linked VpnService class description to guide." am: 97f778f0b5
am: a2443f115e

Change-Id: I2a43d91af59ea51a8f81aecc0970e7ba77eaa3b1

5 years agoMerge "docs: Linked VpnService class description to guide."
Benjamin Miller [Tue, 2 Apr 2019 15:28:16 +0000 (08:28 -0700)]
Merge "docs: Linked VpnService class description to guide."
am: 97f778f0b5

Change-Id: I567720f4d1410b5d2da415321d7eebc2f79f35f6

5 years agoMerge "docs: Linked VpnService class description to guide."
Treehugger Robot [Tue, 2 Apr 2019 15:14:28 +0000 (15:14 +0000)]
Merge "docs: Linked VpnService class description to guide."

5 years agoMerge "Automatically greylist code in 3P packages" am: 1f80714c2d
Andrei-Valentin Onea [Tue, 2 Apr 2019 13:40:33 +0000 (06:40 -0700)]
Merge "Automatically greylist code in 3P packages" am: 1f80714c2d
am: 8b1745650b

Change-Id: I73ba988cc378c6204a95e3f9e6931336aaf3d953

5 years agoMerge "Automatically greylist code in 3P packages"
Andrei-Valentin Onea [Tue, 2 Apr 2019 13:29:51 +0000 (06:29 -0700)]
Merge "Automatically greylist code in 3P packages"
am: 1f80714c2d

Change-Id: Icb8a10c22c6ecfb807fa8d1669940f02edfd97c4

5 years agoMerge "Automatically greylist code in 3P packages"
Andrei-Valentin Onea [Tue, 2 Apr 2019 13:10:37 +0000 (13:10 +0000)]
Merge "Automatically greylist code in 3P packages"

5 years agoMerge "Ignore the asynchronous result while stopping keepalive" am: 7934214f4c
Junyu Lai [Tue, 2 Apr 2019 11:15:07 +0000 (04:15 -0700)]
Merge "Ignore the asynchronous result while stopping keepalive" am: 7934214f4c
am: deae9510db

Change-Id: I25daef8b1bbbbe93e636c320a032a486751ebcc9

5 years agoMerge "Ignore the asynchronous result while stopping keepalive"
Junyu Lai [Tue, 2 Apr 2019 11:05:49 +0000 (04:05 -0700)]
Merge "Ignore the asynchronous result while stopping keepalive"
am: 7934214f4c

Change-Id: Idc6d76ca412f7bbae3b32e81756c419d84dc2c80

5 years agoMerge "Ignore the asynchronous result while stopping keepalive"
Junyu Lai [Tue, 2 Apr 2019 10:48:23 +0000 (10:48 +0000)]
Merge "Ignore the asynchronous result while stopping keepalive"

5 years agoMake CaptivePortalProbeSpec and CaptivePortalProbeResult as a library
paulhu [Fri, 29 Mar 2019 11:21:30 +0000 (19:21 +0800)]
Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library

These two classes were added to @SystemApi because they are used
both by NetworkMonitor and CaptivePortalLogin. However it turns
out they are not needed in the framework, so having them as a
library sounds better.

Change-Id: Iadf77ec5952b6da8812dc6d006a39bd4e93d2bd9
Fix: 129433264
Test: atest NetworkStackTests FrameworksNetTests

5 years agoMerge "Address leftover comments on 923337 and 930217." am: 1e97aab6f4
Paul Hu [Tue, 2 Apr 2019 08:14:24 +0000 (01:14 -0700)]
Merge "Address leftover comments on 923337 and 930217." am: 1e97aab6f4
am: 55a22b5d17

Change-Id: Ibbc8dd7bb869f76515c9f57793db02953dd07804

5 years agoMerge "Address leftover comments on 923337 and 930217."
Paul Hu [Tue, 2 Apr 2019 07:58:18 +0000 (00:58 -0700)]
Merge "Address leftover comments on 923337 and 930217."
am: 1e97aab6f4

Change-Id: I733160ae51b8f0e80f78ab375cdb0a547b74f68d

5 years agoMerge "Address leftover comments on 923337 and 930217."
Paul Hu [Tue, 2 Apr 2019 07:39:04 +0000 (07:39 +0000)]
Merge "Address leftover comments on 923337 and 930217."

5 years agoMerge "Revert "Revert "Preload non-bootclasspath Java lib ClassLoaders.""" am: 4b5ca28dfe
Steven Moreland [Tue, 2 Apr 2019 02:50:13 +0000 (19:50 -0700)]
Merge "Revert "Revert "Preload non-bootclasspath Java lib ClassLoaders.""" am: 4b5ca28dfe
am: 4e709ea3fd

Change-Id: Ia5b6280f17a67f0fa791f36544a77e2af99e7e0e

5 years agoMerge "Revert "Revert "Preload non-bootclasspath Java lib ClassLoaders."""
Steven Moreland [Tue, 2 Apr 2019 02:38:43 +0000 (19:38 -0700)]
Merge "Revert "Revert "Preload non-bootclasspath Java lib ClassLoaders."""
am: 4b5ca28dfe

Change-Id: I63fa6d4a8671db24bf9fce898414c27068547ed2

5 years agoMerge "API Feedback for CBRS" am: 9c706654a2
Xiangyu/Malcolm Chen [Tue, 2 Apr 2019 02:26:11 +0000 (19:26 -0700)]
Merge "API Feedback for CBRS" am: 9c706654a2
am: f9edc9fffd

Change-Id: I7c449a129ab8bd759b40e0aa0a429dd7847ef755

5 years agoMerge "Revert "Revert "Preload non-bootclasspath Java lib ClassLoaders."""
Steven Moreland [Tue, 2 Apr 2019 02:19:44 +0000 (02:19 +0000)]
Merge "Revert "Revert "Preload non-bootclasspath Java lib ClassLoaders."""

5 years agoMerge "API Feedback for CBRS"
Xiangyu/Malcolm Chen [Tue, 2 Apr 2019 02:10:02 +0000 (19:10 -0700)]
Merge "API Feedback for CBRS"
am: 9c706654a2

Change-Id: I6a6d0a81100093696fc6e4b66b32e34dbed49913

5 years agoMerge "[IPMS] Implement regular maintenance" am: 7f10bb1c11
Paul Hu [Tue, 2 Apr 2019 02:09:46 +0000 (19:09 -0700)]
Merge "[IPMS] Implement regular maintenance" am: 7f10bb1c11
am: c308297bc2

Change-Id: Ia9bb46e1ffaf3c3d0a268de1dc0a2fad03b4e240

5 years agoMerge "Fix IpPrefixTest#testContainsInetAddress fail." am: 66a133858b
Paul Hu [Tue, 2 Apr 2019 01:59:35 +0000 (18:59 -0700)]
Merge "Fix IpPrefixTest#testContainsInetAddress fail." am: 66a133858b
am: 9872066d02

Change-Id: I257b51a4f0be974eacf8a6c0f12b5d5aacdc7a5f

5 years agoMerge "[IPMS] Implement regular maintenance"
Paul Hu [Tue, 2 Apr 2019 01:58:18 +0000 (18:58 -0700)]
Merge "[IPMS] Implement regular maintenance"
am: 7f10bb1c11

Change-Id: I82e4bc47ed3dc2d1b6907c7229df296ba2b4d88e

5 years agoMerge "Rename NetworkStackPermissionStub" am: 073e73a0c1
Remi NGUYEN VAN [Tue, 2 Apr 2019 01:54:02 +0000 (18:54 -0700)]
Merge "Rename NetworkStackPermissionStub" am: 073e73a0c1
am: 63d998d859

Change-Id: Iffecb9d56fe90d9c62e963c2c38094f0c2b21f39

5 years agoMerge "Fix IpPrefixTest#testContainsInetAddress fail."
Paul Hu [Tue, 2 Apr 2019 01:47:42 +0000 (18:47 -0700)]
Merge "Fix IpPrefixTest#testContainsInetAddress fail."
am: 66a133858b

Change-Id: I0926ee39c306fefdd158e1c4c7e4c1ba4b7c5f7d

5 years agoMerge "API Feedback for CBRS"
Xiangyu/Malcolm Chen [Tue, 2 Apr 2019 01:46:19 +0000 (01:46 +0000)]
Merge "API Feedback for CBRS"

5 years agoMerge "Rename NetworkStackPermissionStub"
Remi NGUYEN VAN [Tue, 2 Apr 2019 01:43:14 +0000 (18:43 -0700)]
Merge "Rename NetworkStackPermissionStub"
am: 073e73a0c1

Change-Id: I616fb13add96c3c4708510138a4e920336695239

5 years agoMerge "[IPMS] Implement regular maintenance"
Paul Hu [Tue, 2 Apr 2019 01:39:38 +0000 (01:39 +0000)]
Merge "[IPMS] Implement regular maintenance"

5 years agoMerge "Fix IpPrefixTest#testContainsInetAddress fail."
Paul Hu [Tue, 2 Apr 2019 01:33:02 +0000 (01:33 +0000)]
Merge "Fix IpPrefixTest#testContainsInetAddress fail."

5 years agoMerge "Rename NetworkStackPermissionStub"
Remi NGUYEN VAN [Tue, 2 Apr 2019 01:31:51 +0000 (01:31 +0000)]
Merge "Rename NetworkStackPermissionStub"

5 years agoMerge "Cleanup SystemReady in the network stack" am: e0ef7ce4f7
Chalard Jean [Tue, 2 Apr 2019 00:41:35 +0000 (17:41 -0700)]
Merge "Cleanup SystemReady in the network stack" am: e0ef7ce4f7
am: 4b130e8567

Change-Id: Id1348ffa1406adf08b94eec18b3b1e6da40e84be

5 years agoMerge "Add a new carrier config to show the WFC location privacy policy UI" am: 4c508...
Hall Liu [Tue, 2 Apr 2019 00:24:01 +0000 (17:24 -0700)]
Merge "Add a new carrier config to show the WFC location privacy policy UI" am: 4c508d1b03
am: d94791b712

Change-Id: I435a8b653960e07931bb8c0c11fad3f805431dc6

5 years agoMerge "BluetoothHealth: hide auto-created default constructors" am: 463454432b
Jack He [Tue, 2 Apr 2019 00:18:16 +0000 (17:18 -0700)]
Merge "BluetoothHealth: hide auto-created default constructors" am: 463454432b
am: 39a6d731bb

Change-Id: If1410685d139f44a87648bfdb87094cd30ec8462

5 years agoRename NetworkStackPermissionStub
Remi NGUYEN VAN [Tue, 26 Mar 2019 08:24:48 +0000 (17:24 +0900)]
Rename NetworkStackPermissionStub

Use NetworkStackPermissionConfig instead.

Bug: 129317412
Test: Flashed, booted, WiFi working
Merged-In: I7bdc058dddfa483823074055ad5c9d7d2efd37b9
Change-Id: I45299c12598cd3b33bfd78ae8698d98b77b18dc0

5 years agoMerge "Cleanup SystemReady in the network stack"
Chalard Jean [Tue, 2 Apr 2019 00:12:06 +0000 (17:12 -0700)]
Merge "Cleanup SystemReady in the network stack"
am: e0ef7ce4f7

Change-Id: I1a55078b74d5f94afde94da0dc5f6e1d2af10de3

5 years agoMerge "Pass debug.allocTracker.stackDepth to runtime if it exists" am: 72e80b5b1a
Mathieu Chartier [Tue, 2 Apr 2019 00:11:04 +0000 (17:11 -0700)]
Merge "Pass debug.allocTracker.stackDepth to runtime if it exists" am: 72e80b5b1a
am: efeaad3225

Change-Id: I16ff57136a2f53e97b494c866ac3497e00996823

5 years agoMerge "Add a new carrier config to show the WFC location privacy policy UI"
Hall Liu [Mon, 1 Apr 2019 23:34:30 +0000 (16:34 -0700)]
Merge "Add a new carrier config to show the WFC location privacy policy UI"
am: 4c508d1b03

Change-Id: I1b3c96de78b909dab372e3e3745c877b8becd2d6

5 years agoMerge "BluetoothHealth: hide auto-created default constructors"
Jack He [Mon, 1 Apr 2019 23:29:30 +0000 (16:29 -0700)]
Merge "BluetoothHealth: hide auto-created default constructors"
am: 463454432b

Change-Id: I51d7f625dd2bcb81fec4bcf25822d1533cbc5cee

5 years agoMerge "Cleanup SystemReady in the network stack"
Chalard Jean [Mon, 1 Apr 2019 23:28:47 +0000 (23:28 +0000)]
Merge "Cleanup SystemReady in the network stack"

5 years agoMerge "Pass debug.allocTracker.stackDepth to runtime if it exists"
Mathieu Chartier [Mon, 1 Apr 2019 23:24:14 +0000 (16:24 -0700)]
Merge "Pass debug.allocTracker.stackDepth to runtime if it exists"
am: 72e80b5b1a

Change-Id: Iaf05e6a285dbf626854a3b37101bea032af3a7a8

5 years agoMerge "Add a new carrier config to show the WFC location privacy policy UI"
Hall Liu [Mon, 1 Apr 2019 22:55:51 +0000 (22:55 +0000)]
Merge "Add a new carrier config to show the WFC location privacy policy UI"

5 years agoMerge "Revert "Convert Android.mk to Android.bp"" into pi-dev-plus-aosp
Jaewoong Jung [Mon, 1 Apr 2019 22:54:33 +0000 (22:54 +0000)]
Merge "Revert "Convert Android.mk to Android.bp"" into pi-dev-plus-aosp

5 years agoRevert "Convert Android.mk to Android.bp"
Jaewoong Jung [Mon, 1 Apr 2019 22:43:03 +0000 (22:43 +0000)]
Revert "Convert Android.mk to Android.bp"

This reverts commit 9a7e79112d5d936ace862e565b7df724906ae1de.

Reason for revert: Broke builds

Change-Id: I45b2e49535a12272963a24f1e9f7ef25b31e5360
Merged-In: I80688006411dcf32f8f329556044d25ad12af1ac

5 years agoMerge "BluetoothHealth: hide auto-created default constructors"
Treehugger Robot [Mon, 1 Apr 2019 22:37:43 +0000 (22:37 +0000)]
Merge "BluetoothHealth: hide auto-created default constructors"

5 years agoMerge "Pass debug.allocTracker.stackDepth to runtime if it exists"
Mathieu Chartier [Mon, 1 Apr 2019 22:29:07 +0000 (22:29 +0000)]
Merge "Pass debug.allocTracker.stackDepth to runtime if it exists"

5 years agoAPI Feedback for CBRS
Malcolm Chen [Thu, 21 Mar 2019 03:32:27 +0000 (20:32 -0700)]
API Feedback for CBRS

Bug: 128902411
Test: unittest
Change-Id: I2476834a5048d0e3c2c3413d7168a7a3ad2d7042
Merged-In: I2476834a5048d0e3c2c3413d7168a7a3ad2d7042

5 years agoMerge "Convert Android.mk to Android.bp" into pi-dev-plus-aosp
Jaewoong Jung [Mon, 1 Apr 2019 22:01:26 +0000 (22:01 +0000)]
Merge "Convert Android.mk to Android.bp" into pi-dev-plus-aosp

5 years agoMerge "Remove clearDefaultsForInactiveSubIds." am: 1e263e7bc0
Xiangyu/Malcolm Chen [Mon, 1 Apr 2019 21:31:06 +0000 (14:31 -0700)]
Merge "Remove clearDefaultsForInactiveSubIds." am: 1e263e7bc0
am: 4e32ac7754

Change-Id: I8c21ba73807837f999bf3fcc7fbef1d24c7500da

5 years agoMerge changes from topics "nw-scan-cts", "nw-scan-changes" am: f276a56215
Hall Liu [Mon, 1 Apr 2019 21:14:03 +0000 (14:14 -0700)]
Merge changes from topics "nw-scan-cts", "nw-scan-changes" am: f276a56215
am: 7e3864bc99

Change-Id: I45112b415f0f1d6a991b65a2f87c04f829a13548

5 years agoAllow requestNetworkScan to return sanitized info am: c9d7430685
Hall Liu [Mon, 1 Apr 2019 21:08:39 +0000 (14:08 -0700)]
Allow requestNetworkScan to return sanitized info am: c9d7430685
am: 87217889f1

Change-Id: I601304e6eaedef27a2adc413084e6a240a5e9b97

5 years agoMerge "Remove clearDefaultsForInactiveSubIds."
Xiangyu/Malcolm Chen [Mon, 1 Apr 2019 21:05:57 +0000 (14:05 -0700)]
Merge "Remove clearDefaultsForInactiveSubIds."
am: 1e263e7bc0

Change-Id: I8fb91dd4928cf8a607a876cc304c261bfb762a59

5 years agoMerge changes from topics "nw-scan-cts", "nw-scan-changes"
Hall Liu [Mon, 1 Apr 2019 20:54:15 +0000 (13:54 -0700)]
Merge changes from topics "nw-scan-cts", "nw-scan-changes"
am: f276a56215

Change-Id: I1399e0bd8a6ff26e8df2bfc7d4515e4dbb1d64e4

5 years agoMerge "Remove clearDefaultsForInactiveSubIds."
Xiangyu/Malcolm Chen [Mon, 1 Apr 2019 20:51:54 +0000 (20:51 +0000)]
Merge "Remove clearDefaultsForInactiveSubIds."

5 years agoAllow requestNetworkScan to return sanitized info
Hall Liu [Mon, 1 Apr 2019 20:47:42 +0000 (13:47 -0700)]
Allow requestNetworkScan to return sanitized info
am: c9d7430685

Change-Id: I91b315cd48095345f34755cc13d059158982a960

5 years agoMerge changes from topics "nw-scan-cts", "nw-scan-changes"
Hall Liu [Mon, 1 Apr 2019 20:31:10 +0000 (20:31 +0000)]
Merge changes from topics "nw-scan-cts", "nw-scan-changes"

* changes:
  Add shell permissions for CTS testing
  Allow requestNetworkScan to return sanitized info

5 years agoBluetoothHealth: hide auto-created default constructors
Jack He [Fri, 29 Mar 2019 00:42:26 +0000 (17:42 -0700)]
BluetoothHealth: hide auto-created default constructors

Fixes: 123926561
Test: make
Change-Id: I388472c82eaca245285b5ecf2959c415508d7e69

5 years agoConvert Android.mk to Android.bp
Jaewoong Jung [Wed, 27 Mar 2019 23:54:43 +0000 (16:54 -0700)]
Convert Android.mk to Android.bp

Bug: 122332340
Test: full build & flash on a Pixel + manual inspection + TreeHugger
Change-Id: I80688006411dcf32f8f329556044d25ad12af1ac
Merged-In: I80688006411dcf32f8f329556044d25ad12af1ac
(cherry picked from commit edfa8e90a1231df98be89994bc9d43458d96b79a)

5 years agoPass debug.allocTracker.stackDepth to runtime if it exists
Mathieu Chartier [Fri, 29 Mar 2019 20:49:35 +0000 (13:49 -0700)]
Pass debug.allocTracker.stackDepth to runtime if it exists

Since this is no longer called in ART, pass it down in bind application.

Bug: 37291459
Test: test-art-host

Change-Id: I23623e9b8e9ca6261d90cc1ae1c5d8c24cc4eba5

5 years agoMerge "Track public android.system API changes in libcore" am: 1423684d1a
Neil Fuller [Mon, 1 Apr 2019 16:59:59 +0000 (09:59 -0700)]
Merge "Track public android.system API changes in libcore" am: 1423684d1a
am: 0036c64764

Change-Id: I93b2d6742193414b3f6a81cd35e923a4f6b7f2fb

5 years agoMerge "Track public android.system API changes in libcore"
Neil Fuller [Mon, 1 Apr 2019 16:50:56 +0000 (09:50 -0700)]
Merge "Track public android.system API changes in libcore"
am: 1423684d1a

Change-Id: I98319e08a913b8c679579fb52bc4ded61fc5f5b0

5 years agoFix IpPrefixTest#testContainsInetAddress fail.
paulhu [Mon, 1 Apr 2019 16:49:00 +0000 (00:49 +0800)]
Fix IpPrefixTest#testContainsInetAddress fail.

The argument of IpPreFix#contains() has been marked as @NonNull.
So the IpPrefixTest#testContainsInetAddress should not test
contains() method wiht null object.

Bug: None
Test: atest FrameworksNetTests
      atest IpPrefixTest#testContainsInetAddress

Change-Id: I2f6bee19514dc47702f64d2a2bbf02d8b7b1b407

5 years agoMerge "Track public android.system API changes in libcore"
Neil Fuller [Mon, 1 Apr 2019 16:41:11 +0000 (16:41 +0000)]
Merge "Track public android.system API changes in libcore"

5 years agoMerge "Unhide ICMP echo constants." am: 82d1361e6d
Lorenzo Colitti [Mon, 1 Apr 2019 15:47:10 +0000 (08:47 -0700)]
Merge "Unhide ICMP echo constants." am: 82d1361e6d
am: a09b83fc67

Change-Id: I02db2b7fee8c5334f7e64ffd256cba9d320e0797

5 years ago[IPMS] Implement regular maintenance
paulhu [Mon, 25 Mar 2019 17:39:10 +0000 (01:39 +0800)]
[IPMS] Implement regular maintenance

Implement regular maintenance of IpMemoryStoreService. Regular
maintenance is scheduled for when the device is idle with access
power and a minimum interval of one day.

Bug: 113554482
Test: atest NetworkStackTests
Change-Id: Id3985e30d12307fc2e9fcbe782caaf97a627cef3

5 years agoMerge "Unhide ICMP echo constants."
Lorenzo Colitti [Mon, 1 Apr 2019 15:34:23 +0000 (08:34 -0700)]
Merge "Unhide ICMP echo constants."
am: 82d1361e6d

Change-Id: I1dad509eb0b56666cde0399dfcbaea050ce30630

5 years agoMerge "Unhide ICMP echo constants."
Lorenzo Colitti [Mon, 1 Apr 2019 15:08:44 +0000 (15:08 +0000)]
Merge "Unhide ICMP echo constants."

5 years agoMerge "Add comment for NetworkStack permissions" am: 154a0d0b38
Remi NGUYEN VAN [Mon, 1 Apr 2019 15:02:13 +0000 (08:02 -0700)]
Merge "Add comment for NetworkStack permissions" am: 154a0d0b38
am: b4493ea049

Change-Id: I4e1299713b3425a5a86f927e58238aa6da2e7c65

5 years agoMerge "Add comment for NetworkStack permissions"
Remi NGUYEN VAN [Mon, 1 Apr 2019 14:53:06 +0000 (07:53 -0700)]
Merge "Add comment for NetworkStack permissions"
am: 154a0d0b38

Change-Id: Ib338cd0de2b9a0aa16e096a299d4d4e5a6b25dd9

5 years agoMerge "Mark PROCESS_OUTGOING_CALLS permission as deprecated." am: 70e943ba80
Tyler Gunn [Mon, 1 Apr 2019 14:45:41 +0000 (07:45 -0700)]
Merge "Mark PROCESS_OUTGOING_CALLS permission as deprecated." am: 70e943ba80
am: 41ab607d3d

Change-Id: I0111b33db6fb43b387b977007180f362ba36e2db

5 years agoMerge "Add comment for NetworkStack permissions"
Treehugger Robot [Mon, 1 Apr 2019 14:45:18 +0000 (14:45 +0000)]
Merge "Add comment for NetworkStack permissions"

5 years agoMerge "Mark PROCESS_OUTGOING_CALLS permission as deprecated."
Tyler Gunn [Mon, 1 Apr 2019 14:32:39 +0000 (07:32 -0700)]
Merge "Mark PROCESS_OUTGOING_CALLS permission as deprecated."
am: 70e943ba80

Change-Id: I20fed9904a6b8d85c0e7a33ae8db8b3f4ae7987e

5 years agoAutomatically greylist code in 3P packages
Andrei Onea [Fri, 29 Mar 2019 15:27:55 +0000 (15:27 +0000)]
Automatically greylist code in 3P packages

generate_hidden_api_lists now receives a file containing package names
which need to be greylisted (although it could be made to work with any
api list required).
Also took the opportunity to clean up the tests to reflect the more
strict code.

Bug: 129387816
Test: m appcompat
Test: frameworks/base/tools/hiddenapi/generate_hiddenapi_lists_test.py
Change-Id: I619f8581d166aa48eda572bc0053d8739d6420eb

5 years agoMerge "Mark PROCESS_OUTGOING_CALLS permission as deprecated."
Tyler Gunn [Mon, 1 Apr 2019 14:13:50 +0000 (14:13 +0000)]
Merge "Mark PROCESS_OUTGOING_CALLS permission as deprecated."

5 years agoMerge "Add DHCP address lease expiry in IpMemoryStore." am: 17ea70c6d3
Xiao Ma [Mon, 1 Apr 2019 13:27:18 +0000 (06:27 -0700)]
Merge "Add DHCP address lease expiry in IpMemoryStore." am: 17ea70c6d3
am: 23f6cd281a

Change-Id: I690d6c1602292731f27b3f2d0a1a36cf95849d2e

5 years agoMerge "Add DHCP address lease expiry in IpMemoryStore."
Xiao Ma [Mon, 1 Apr 2019 13:16:08 +0000 (06:16 -0700)]
Merge "Add DHCP address lease expiry in IpMemoryStore."
am: 17ea70c6d3

Change-Id: Idb73423aaf875bb77d19f9661e243f152f734fa3

5 years agoMerge "Add DHCP address lease expiry in IpMemoryStore."
Xiao Ma [Mon, 1 Apr 2019 12:59:20 +0000 (12:59 +0000)]
Merge "Add DHCP address lease expiry in IpMemoryStore."

5 years agoAddress leftover comments on 923337 and 930217.
paulhu [Fri, 22 Mar 2019 08:35:06 +0000 (16:35 +0800)]
Address leftover comments on 923337 and 930217.

- Restrict unprivileged apps to use
  NetworkRequest.Builder#setSignalStrength.

- Remove the "throws NullPointerException" in
  CaptivePortalProbeSpec constructor.

- Remove the null check in LinkProperties.

- Add annotataion into all ConnectivityManager.NetworkCallback
  methods.

Change-Id: Id275cac1d6a30d7515cd7b113394f5e8a0179314
Fix: 129097486
Test: atest FrameworksNetTests

5 years agoIgnore the asynchronous result while stopping keepalive
junyulai [Mon, 1 Apr 2019 03:33:49 +0000 (11:33 +0800)]
Ignore the asynchronous result while stopping keepalive

Currently, onStopped callback are synchronizely triggered when
stop() was called, since the framework don't really care
about the result of stopping keepalive.

However, if keepalive failed to stop for some reason, the
handleStopKeepalive was called mistakenly and trigger additional
callback that fail the test case.

This commit is the behavior change prior to state machine
refactoring, and introduce a stopping state for ignoring the
result in the stopping state.

Bug: 129512753
Bug: 123988249
Test: 1. atest com.android.server.ConnectivityServiceTest \
         #testNattSocketKeepalives --generate-new-metrics 100
      2. atest FrameworksNetTests

Change-Id: I4fa94e0740ba488fb5fe7ac7c3812c195dd0ec4c

5 years agoMerge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues." am: f9d61f1c6d
Paul Hu [Mon, 1 Apr 2019 07:43:33 +0000 (00:43 -0700)]
Merge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues." am: f9d61f1c6d
am: 96f34c3151

Change-Id: I171e667dd279e008708fbc84972f63cbd5b55625

5 years agoMerge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues."
Paul Hu [Mon, 1 Apr 2019 07:34:26 +0000 (00:34 -0700)]
Merge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues."
am: f9d61f1c6d

Change-Id: I8d848c559e1c1e021a72bf525876aad9bddb3374

5 years agoMerge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues."
Paul Hu [Mon, 1 Apr 2019 07:20:53 +0000 (07:20 +0000)]
Merge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues."

5 years agoMerge "Provide link to android experimental flags API" am: 9876efdabe
Chiachang Wang [Mon, 1 Apr 2019 05:16:35 +0000 (22:16 -0700)]
Merge "Provide link to android experimental flags API" am: 9876efdabe
am: a94479c120

Change-Id: I3867a98978c3a80f9188590e235a67683e76f3a3

5 years agoMerge "Provide link to android experimental flags API"
Chiachang Wang [Mon, 1 Apr 2019 05:07:17 +0000 (22:07 -0700)]
Merge "Provide link to android experimental flags API"
am: 9876efdabe

Change-Id: I1c02f0725728c6cfe2d040071bcdb0bead71b510