OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Move NetworkStack start to AM.systemReady"
Remi NGUYEN VAN [Tue, 12 Mar 2019 05:37:29 +0000 (22:37 -0700)]
Merge "Move NetworkStack start to AM.systemReady"
am: f9cca7dcc2

Change-Id: I80776bcaf5888b7244f83a467bc7c67267ccfee0

5 years agoMerge "Update nullability of api"
Tony Huang [Tue, 12 Mar 2019 05:29:24 +0000 (22:29 -0700)]
Merge "Update nullability of api"
am: 47890345d0

Change-Id: Ie8ed183155b16c87a98c19f11f69fe869e797880

5 years agoMerge "Move NetworkStack start to AM.systemReady"
Remi NGUYEN VAN [Tue, 12 Mar 2019 05:27:33 +0000 (05:27 +0000)]
Merge "Move NetworkStack start to AM.systemReady"

5 years agoMerge "Update nullability of api"
Tony Huang [Tue, 12 Mar 2019 05:22:28 +0000 (05:22 +0000)]
Merge "Update nullability of api"

5 years agoMerge "Improve keepalive offload documentation and error handling"
Junyu Lai [Tue, 12 Mar 2019 05:21:27 +0000 (22:21 -0700)]
Merge "Improve keepalive offload documentation and error handling"
am: cc3a190b07

Change-Id: Ia87def27904309d405c39607326a77133632461d

5 years agoMerge "Improve keepalive offload documentation and error handling"
Junyu Lai [Tue, 12 Mar 2019 05:11:50 +0000 (05:11 +0000)]
Merge "Improve keepalive offload documentation and error handling"

5 years agoMove NetworkStack start to AM.systemReady
Remi NGUYEN VAN [Tue, 12 Mar 2019 02:50:22 +0000 (11:50 +0900)]
Move NetworkStack start to AM.systemReady

In practice the NetworkStack was not started after
ActivityManager#systemReady, since ActivityManager was only scheduling
the start (mPendingStarts).
Requesting the start too early causes issues for the PackageManager to
install updates/rollbacks.

Test: flashed AOSP and internal builds, WiFi working
Bug: 128331883
Change-Id: I93315ad31925bd436e21d1eabb21d5967e6aae60

5 years agoMerge "Use an in-process APK for in-process NetworkStack"
Remi NGUYEN VAN [Tue, 12 Mar 2019 01:53:23 +0000 (18:53 -0700)]
Merge "Use an in-process APK for in-process NetworkStack"
am: b8f2ab9362

Change-Id: I4437757ba95f39d62a3418214d780f36daaada6e

5 years agoMerge "Use an in-process APK for in-process NetworkStack"
Remi NGUYEN VAN [Tue, 12 Mar 2019 01:37:26 +0000 (01:37 +0000)]
Merge "Use an in-process APK for in-process NetworkStack"

5 years agoMerge "Remove android-support-test lib from testutils."
Ian Kasprzak [Mon, 11 Mar 2019 23:51:41 +0000 (16:51 -0700)]
Merge "Remove android-support-test lib from testutils."
am: bc18cc9b19

Change-Id: I6931a899078460e8879b6c0f5b3dcb1f8d55b884

5 years agoMerge "Remove android-support-test lib from testutils."
Treehugger Robot [Mon, 11 Mar 2019 22:57:58 +0000 (22:57 +0000)]
Merge "Remove android-support-test lib from testutils."

5 years agoMerge "rename precise carrier id to specific carrier id"
Chen Xu [Mon, 11 Mar 2019 21:54:34 +0000 (14:54 -0700)]
Merge "rename precise carrier id to specific carrier id"
am: 118354f77c

Change-Id: I2ef97c1013e3e77b7ec4ec311eaa437503a758e8

5 years agoMerge "rename precise carrier id to specific carrier id"
Chen Xu [Mon, 11 Mar 2019 21:34:30 +0000 (21:34 +0000)]
Merge "rename precise carrier id to specific carrier id"

5 years agoRemove android-support-test lib from testutils.
Ian Kasprzak [Sat, 9 Mar 2019 02:49:31 +0000 (18:49 -0800)]
Remove android-support-test lib from testutils.

Fixed dependencies as needed.

Fixes apct/net/networking_framework_unit_test broken
in aosp/919393.

Test: m tests, checkbuild and Forrest (via gerritt) testing
Bug: 127910239

Change-Id: Ida0ca8012ede9227d204935b11002ddfa2f134ff
Merged-In: Ia825e0926b46855f9056739441cb21a065692076
(Manual partial cherry-pick of ec6bcbceee8fed0f99d1d5d1760b74eead98668a)

5 years agoMerge "Add Missing getRssi to CellSignalStrengthGsm"
Nathan Harold [Mon, 11 Mar 2019 18:19:00 +0000 (11:19 -0700)]
Merge "Add Missing getRssi to CellSignalStrengthGsm"
am: e17575c03e

Change-Id: I882f00ce55571c66a1c9b50a839d848af950d68d

5 years agoMerge "Add Missing getRssi to CellSignalStrengthGsm"
Nathan Harold [Mon, 11 Mar 2019 17:53:40 +0000 (17:53 +0000)]
Merge "Add Missing getRssi to CellSignalStrengthGsm"

5 years agoMerge "Add tethering event callback API"
Chalard Jean [Mon, 11 Mar 2019 17:26:28 +0000 (10:26 -0700)]
Merge "Add tethering event callback API"
am: 5227285ad7

Change-Id: Ie38a521abf09e0eb530173508b14aa2acdb9267c

5 years agoMerge "Add tethering event callback API"
Chalard Jean [Mon, 11 Mar 2019 17:04:57 +0000 (17:04 +0000)]
Merge "Add tethering event callback API"

5 years agoMerge "DO NOT MERGE - Merge PPRL.190305.001 into stage-aosp-master" into stage-aosp...
Xin Li [Mon, 11 Mar 2019 16:09:43 +0000 (16:09 +0000)]
Merge "DO NOT MERGE - Merge PPRL.190305.001 into stage-aosp-master" into stage-aosp-master

5 years agoMerge "Add a static to get the Ip Memory Store"
Chalard Jean [Mon, 11 Mar 2019 15:04:48 +0000 (08:04 -0700)]
Merge "Add a static to get the Ip Memory Store"
am: bee0cbe5df

Change-Id: I8cf868ca1801f30a772fea7716e0b9fd322a80de

5 years agoMerge "Add a static to get the Ip Memory Store"
Treehugger Robot [Mon, 11 Mar 2019 14:56:34 +0000 (14:56 +0000)]
Merge "Add a static to get the Ip Memory Store"

5 years agoAdd a static to get the Ip Memory Store
Chalard Jean [Mon, 11 Mar 2019 11:44:24 +0000 (20:44 +0900)]
Add a static to get the Ip Memory Store

This is so that there is some AOSP stable API while the
memory store is moved to the network.

Test: atest FrameworksNetTests
Change-Id: Ib51dbee77fcb0d14a5c85240ac711b3b1aa71286

5 years agoMerge "[PT17.5] Revert to booleans for send/not send broadcast constants."
Chalard Jean [Mon, 11 Mar 2019 11:21:36 +0000 (04:21 -0700)]
Merge "[PT17.5] Revert to booleans for send/not send broadcast constants."
am: af5acad9f1

Change-Id: Ib8b991ce89fb94d7f0f8b865a1909f73b0b5be0d

5 years agoMerge "[PT17.5] Revert to booleans for send/not send broadcast constants."
Treehugger Robot [Mon, 11 Mar 2019 11:07:21 +0000 (11:07 +0000)]
Merge "[PT17.5] Revert to booleans for send/not send broadcast constants."

5 years ago[PT17.5] Revert to booleans for send/not send broadcast constants.
Chalard Jean [Mon, 15 Oct 2018 05:27:15 +0000 (14:27 +0900)]
[PT17.5] Revert to booleans for send/not send broadcast constants.

In PT17, for security of the patch these two constants have been
switched from boolean to enum values. While this is nice for making
sure a patch is correct, it's also pretty wasteful. Now that it's
certain that the values of these fields don't matter, they can be
set to logical values (as opposed to reversed as it was the case
before PT17.

Test: runtest
Change-Id: I93a0780e23c2f658687be066dc16f27529baaa86

5 years agoMerge "Make ParseException less useless."
Chalard Jean [Mon, 11 Mar 2019 04:19:42 +0000 (21:19 -0700)]
Merge "Make ParseException less useless."
am: 8e8ed1dfc2

Change-Id: If582e61ca92e5414edea351934053fa0ab6b04bf

5 years agoMerge "Make ParseException less useless."
Treehugger Robot [Mon, 11 Mar 2019 04:06:48 +0000 (04:06 +0000)]
Merge "Make ParseException less useless."

5 years agoMerge changes I9dbbf904,Iebc174ed
Remi NGUYEN VAN [Mon, 11 Mar 2019 02:22:45 +0000 (19:22 -0700)]
Merge changes I9dbbf904,Iebc174ed
am: 06d8067975

Change-Id: I30176a7bd0992d3a038458c0ccbe3a7ba9ecc9f7

5 years agoMerge changes I9dbbf904,Iebc174ed
Remi NGUYEN VAN [Mon, 11 Mar 2019 02:06:27 +0000 (02:06 +0000)]
Merge changes I9dbbf904,Iebc174ed

* changes:
  Move NetworkStackTests to presubmit
  Remove NetworkStack test dependency on testutils

5 years agorename precise carrier id to specific carrier id
chen xu [Wed, 6 Mar 2019 22:43:40 +0000 (14:43 -0800)]
rename precise carrier id to specific carrier id

Bug: 126727010
Test: atest CtsTelephonyTestCases

Change-Id: I4561ae8c15c429912695e0753b2ab3137a4e1e44
(cherry picked from commit 45f662139190df65f15d57a6e415c9559b580efe)
Merged-in: I4561ae8c15c429912695e0753b2ab3137a4e1e44

5 years agoDO NOT MERGE - Merge PPRL.190305.001 into stage-aosp-master
The Android Open Source Project [Fri, 8 Mar 2019 23:56:58 +0000 (15:56 -0800)]
DO NOT MERGE - Merge PPRL.190305.001 into stage-aosp-master

Bug: 127812889
Change-Id: I104af105cc225ae76eb176f227e9dd198f74e4b7

5 years agoMerge "Update current API after adding nullable annotations."
Nicolas Geoffray [Fri, 8 Mar 2019 23:27:04 +0000 (15:27 -0800)]
Merge "Update current API after adding nullable annotations."
am: c06c54662b

Change-Id: If2c150f68b79f990edc046cce6ccc0d5bd85b5bf

5 years agoMerge "Convert tests/**/Android.mk files to Android.bp"
Sasha Smundak [Fri, 8 Mar 2019 23:20:09 +0000 (15:20 -0800)]
Merge "Convert tests/**/Android.mk files to Android.bp"
am: 40ff4f7d83

Change-Id: If96014624542d6c99f7d0841347806954dbd4a42

5 years agoMerge "Update current API after adding nullable annotations."
Nicolas Geoffray [Fri, 8 Mar 2019 23:15:03 +0000 (23:15 +0000)]
Merge "Update current API after adding nullable annotations."

5 years agoMerge "Convert tests/**/Android.mk files to Android.bp"
Treehugger Robot [Fri, 8 Mar 2019 22:54:11 +0000 (22:54 +0000)]
Merge "Convert tests/**/Android.mk files to Android.bp"

5 years agoMerge "update getStaticPhoneCapability to use HAL instead of default value"
Nazanin Bakhshi [Fri, 8 Mar 2019 22:31:03 +0000 (14:31 -0800)]
Merge "update getStaticPhoneCapability to use HAL instead of default value"
am: 9e6f5d1521

Change-Id: Ib146ba3b8a7db7ed151ea721ceb57b21e4b44ac3

5 years agoMerge "make onActiveDataSubId in PhoneStateListener public API"
Nazanin Bakhshi [Fri, 8 Mar 2019 22:21:29 +0000 (14:21 -0800)]
Merge "make onActiveDataSubId in PhoneStateListener public API"
am: dfe984c3fe

Change-Id: Ic385f5372535220bbeda6351974b22081a2e8b30

5 years agoMerge "Add Keystore get option that supresses caught exceptions warnings."
Irina Dumitrescu [Fri, 8 Mar 2019 22:16:35 +0000 (14:16 -0800)]
Merge "Add Keystore get option that supresses caught exceptions warnings."
am: f070b51670

Change-Id: I5f229fc9d08e445c32ea8cf4e971129d79019cef

5 years agoMerge "update getStaticPhoneCapability to use HAL instead of default value"
Treehugger Robot [Fri, 8 Mar 2019 22:05:59 +0000 (22:05 +0000)]
Merge "update getStaticPhoneCapability to use HAL instead of default value"

5 years agoMerge "make onActiveDataSubId in PhoneStateListener public API"
Nazanin Bakhshi [Fri, 8 Mar 2019 22:00:33 +0000 (22:00 +0000)]
Merge "make onActiveDataSubId in PhoneStateListener public API"

5 years agoMerge "Add Keystore get option that supresses caught exceptions warnings."
Treehugger Robot [Fri, 8 Mar 2019 21:58:46 +0000 (21:58 +0000)]
Merge "Add Keystore get option that supresses caught exceptions warnings."

5 years agoupdate getStaticPhoneCapability to use HAL instead of default value
Nazanin Bakhshi [Wed, 6 Mar 2019 23:31:45 +0000 (15:31 -0800)]
update getStaticPhoneCapability to use HAL instead of default value

Bug: 123359867
Test: build
Change-Id: Ic40921679ade1f9be42f2bc3d5170ba201dbab5a
Merged-In: Ic40921679ade1f9be42f2bc3d5170ba201dbab5a
(cherry picked from commit 1772247b044795cdad1fa22069040df0bf657f42)

5 years agoMerge "Add TimeStamp Constructor for HAL 1.4 Support"
Nathan Harold [Fri, 8 Mar 2019 19:39:33 +0000 (11:39 -0800)]
Merge "Add TimeStamp Constructor for HAL 1.4 Support"
am: f899e26857

Change-Id: I9f96a8846bfb137bdcae8d8495188229637fac2c

5 years agomake onActiveDataSubId in PhoneStateListener public API
Nazanin Bakhshi [Fri, 1 Mar 2019 18:10:22 +0000 (10:10 -0800)]
make onActiveDataSubId in PhoneStateListener public API

Bug: 124260187
Test: CTS
Change-Id: I6e5a5c8273348d822b8f552599784b8e986850bf
Merged-In: I6e5a5c8273348d822b8f552599784b8e986850bf
(cherry picked from commit 026c42d7521c390b171f2b42a9b961fdc325b44a)

5 years agoMerge "Add TimeStamp Constructor for HAL 1.4 Support"
Nathan Harold [Fri, 8 Mar 2019 19:03:47 +0000 (19:03 +0000)]
Merge "Add TimeStamp Constructor for HAL 1.4 Support"

5 years agoSnap for 5240760 from 988624eda2c566551f75b48231cdeff2b0142d93 to pi-platform-release
android-build-team Robot [Fri, 8 Mar 2019 18:47:45 +0000 (18:47 +0000)]
Snap for 5240760 from 988624eda2c566551f75b48231cdeff2b0142d93 to pi-platform-release

Change-Id: I81cc0472fa90130ff2002a2e96240b41f4cf5f61

5 years agoMerge "Rename PREFERRED_DATA_SUBID_CHANGE to ACTIVE_DATA_SUB_CHANGE"
Nazanin Bakhshi [Fri, 8 Mar 2019 18:45:20 +0000 (10:45 -0800)]
Merge "Rename PREFERRED_DATA_SUBID_CHANGE to ACTIVE_DATA_SUB_CHANGE"
am: 016409b3d5

Change-Id: I2ced5079661da96b12c3359b6dc89412b585993a

5 years agoMerge "Rename PREFERRED_DATA_SUBID_CHANGE to ACTIVE_DATA_SUB_CHANGE"
Nazanin Bakhshi [Fri, 8 Mar 2019 18:25:59 +0000 (18:25 +0000)]
Merge "Rename PREFERRED_DATA_SUBID_CHANGE to ACTIVE_DATA_SUB_CHANGE"

5 years agoMerge "Adding KEY_PERMANENTLY_INVALIDATED int"
Max Bires [Fri, 8 Mar 2019 18:22:53 +0000 (10:22 -0800)]
Merge "Adding KEY_PERMANENTLY_INVALIDATED int"
am: 18e0781d3d

Change-Id: I9a31a0b3c9abc72a619c06c2ffc092d5ef557213

5 years agoMerge "Add carrier config key for TTY support."
Tyler Gunn [Fri, 8 Mar 2019 18:17:24 +0000 (10:17 -0800)]
Merge "Add carrier config key for TTY support."
am: 16f6deae44

Change-Id: Icd9d8ee8be9a4dafcca5ae6808b167c49e2e9e9f

5 years agoMerge "Update DynamicAndroidService for IGsiService AIDL changes."
David Anderson [Fri, 8 Mar 2019 17:55:40 +0000 (09:55 -0800)]
Merge "Update DynamicAndroidService for IGsiService AIDL changes."
am: 1451b2f3a5

Change-Id: I09b53ae751ffdff9e7fa31a8e5ee347bf42a347c

5 years agoMerge "Adding KEY_PERMANENTLY_INVALIDATED int"
Max Bires [Fri, 8 Mar 2019 17:53:05 +0000 (17:53 +0000)]
Merge "Adding KEY_PERMANENTLY_INVALIDATED int"

5 years agoMerge "Add carrier config key for TTY support."
Tyler Gunn [Fri, 8 Mar 2019 17:52:52 +0000 (17:52 +0000)]
Merge "Add carrier config key for TTY support."

5 years agoMerge "Update DynamicAndroidService for IGsiService AIDL changes."
David Anderson [Fri, 8 Mar 2019 17:39:44 +0000 (17:39 +0000)]
Merge "Update DynamicAndroidService for IGsiService AIDL changes."

5 years agoUpdate current API after adding nullable annotations.
Nicolas Geoffray [Fri, 8 Mar 2019 17:12:18 +0000 (17:12 +0000)]
Update current API after adding nullable annotations.

Test: m
Bug: 126703375
Change-Id: I355d911f07385fd835cb7c74a2dc9da689cda4be

5 years agoMerge "Add extra hidden api related tags"
Andrei-Valentin Onea [Fri, 8 Mar 2019 16:43:07 +0000 (08:43 -0800)]
Merge "Add extra hidden api related tags"
am: cfd72b9386

Change-Id: I547a0596de397469e02d88a524610c546c59f5f7

5 years agoMerge "Give Telephony the permissions to access the network stack."
Chalard Jean [Fri, 8 Mar 2019 16:38:35 +0000 (08:38 -0800)]
Merge "Give Telephony the permissions to access the network stack."
am: a6f3476476

Change-Id: I4ae09aac25226904e34d77edb7333da0aabe86f9

5 years agoAdd tethering event callback API
markchien [Wed, 27 Feb 2019 06:56:11 +0000 (14:56 +0800)]
Add tethering event callback API

Provide OnTetheringEventCallback for system app to know
tethering's upstream.

Bug: 125583822
Test: -build, flash, boot
      -atest FrameworksNetTests

Change-Id: I7ca81b27c9b805cc01884509f5b20d9d0a24cd36
Merged-in: I7ca81b27c9b805cc01884509f5b20d9d0a24cd36

5 years agoMerge "Add extra hidden api related tags"
Andrei-Valentin Onea [Fri, 8 Mar 2019 16:22:11 +0000 (16:22 +0000)]
Merge "Add extra hidden api related tags"

5 years agoMerge "Give Telephony the permissions to access the network stack."
Treehugger Robot [Fri, 8 Mar 2019 15:55:53 +0000 (15:55 +0000)]
Merge "Give Telephony the permissions to access the network stack."

5 years agoMerge "Add junyulai@ as owner of the core networking dirs"
Bernie Innocenti [Fri, 8 Mar 2019 15:50:29 +0000 (07:50 -0800)]
Merge "Add junyulai@ as owner of the core networking dirs"
am: e5e3ac639b

Change-Id: I06cca33e638baf671b891eb0c20b4c8f439eda2e

5 years agoMerge "IPv6: enable IPv6 link local routing for local network"
Jimmy Chen [Fri, 8 Mar 2019 15:38:41 +0000 (07:38 -0800)]
Merge "IPv6: enable IPv6 link local routing for local network"
am: f635f12666

Change-Id: I3f5ecbd047d9205c9430610c7d6fa9400ab587d4

5 years agoMerge "Add junyulai@ as owner of the core networking dirs"
Bernie Innocenti [Fri, 8 Mar 2019 15:21:01 +0000 (15:21 +0000)]
Merge "Add junyulai@ as owner of the core networking dirs"

5 years agoMerge "IPv6: enable IPv6 link local routing for local network"
Jimmy Chen [Fri, 8 Mar 2019 15:08:07 +0000 (15:08 +0000)]
Merge "IPv6: enable IPv6 link local routing for local network"

5 years agoMerge "Change BluetoothCodecStatus.sameCapabilities() to public"
Ugo Yu [Fri, 8 Mar 2019 15:01:55 +0000 (07:01 -0800)]
Merge "Change BluetoothCodecStatus.sameCapabilities() to public"
am: 27a6501a19

Change-Id: Ib061fe25ba0ec460b601c893f0a1396626e00331

5 years agoMerge "Not to use any() to verify DataStallDetectionStats"
Chiachang Wang [Fri, 8 Mar 2019 14:57:24 +0000 (06:57 -0800)]
Merge "Not to use any() to verify DataStallDetectionStats"
am: 18e931ba12

Change-Id: I7510070bc3f68386d9b222fc14342e08fc6e9b22

5 years agoMerge "Minor changes to the async DNS query JAVA API"
Luke Huang [Fri, 8 Mar 2019 14:51:48 +0000 (06:51 -0800)]
Merge "Minor changes to the async DNS query JAVA API"
am: c8dfb72891

Change-Id: I96e9325c7dd5396f48b25919a104be55fb9b6346

5 years agoMerge "Add more nullability annotations"
Hall Liu [Fri, 8 Mar 2019 14:46:46 +0000 (06:46 -0800)]
Merge "Add more nullability annotations"
am: 3f2d69dc62

Change-Id: I9b815b25cd48a5e24506f3f50fc6370bac1af552

5 years agoMerge "Support VPN Proxy(1/2)"
Chalard Jean [Fri, 8 Mar 2019 14:42:23 +0000 (06:42 -0800)]
Merge "Support VPN Proxy(1/2)"
am: 65087f4705

Change-Id: I51a716d1ee6b85bef347164061d1c12183612f50

5 years agoMerge "fix 'int android.view.View.getHeight()' on a null object reference"
cnx421 [Fri, 8 Mar 2019 14:38:44 +0000 (06:38 -0800)]
Merge "fix 'int android.view.View.getHeight()' on a null object reference"
am: 4add708b91

Change-Id: I3aa9c2da09a1447f79edb6a228f88cdc731bd605

5 years agoMerge changes Ie66ba631,Ic42c09a3
Benedict Wong [Fri, 8 Mar 2019 14:35:04 +0000 (06:35 -0800)]
Merge changes Ie66ba631,Ic42c09a3
am: cbc409986d

Change-Id: I5c8a3364f0244c5945be2bbe919aac2dcc4eba66

5 years agoMerge "Move Camera.EventHandler constructor to greylist"
David Brazdil [Fri, 8 Mar 2019 14:29:15 +0000 (06:29 -0800)]
Merge "Move Camera.EventHandler constructor to greylist"
am: b31032b3b0

Change-Id: If785b7e4f01db0a0e9b1e8d4e42258375de57dbc

5 years agoMerge "Add @NonNull annotations to Hearing Aids Profile APIs"
Stanley Tng [Fri, 8 Mar 2019 14:25:47 +0000 (06:25 -0800)]
Merge "Add @NonNull annotations to Hearing Aids Profile APIs"
am: 6fa52c9b25

Change-Id: If06dc28087ad2fe14636e0147077b35af7947216

5 years agoMerge "Adding callback for setPreferredDataSubscriptionId."
Xiangyu/Malcolm Chen [Fri, 8 Mar 2019 14:19:31 +0000 (06:19 -0800)]
Merge "Adding callback for setPreferredDataSubscriptionId."
am: 442084c722

Change-Id: Ic66db8504d02a22d8da38159e6d2fcf6decd1878

5 years agoMerge "Fix NPE in SmsManager and keep existing behavior"
Brad Ebinger [Fri, 8 Mar 2019 14:16:02 +0000 (06:16 -0800)]
Merge "Fix NPE in SmsManager and keep existing behavior"
am: 8b95375a4a

Change-Id: I6b4d126b8b0a6a48bb91752dde2edd6af79b98b7

5 years agoMerge "Add nullability annotations in accordance with the council"
Brad Ebinger [Fri, 8 Mar 2019 14:12:38 +0000 (06:12 -0800)]
Merge "Add nullability annotations in accordance with the council"
am: 049c43f088

Change-Id: If13a487f14c6382aad010a3776dec76f7bf46738

5 years agoMerge "Add CarrierConfig to use WFC home network mode in roaming network"
Brad Ebinger [Fri, 8 Mar 2019 14:07:34 +0000 (06:07 -0800)]
Merge "Add CarrierConfig to use WFC home network mode in roaming network"
am: 98868a718a

Change-Id: Iabc46376d3b23d6462234c1eb9d1e9e389ac51dc

5 years agoMerge "Add @NonNull annotations to (un)setOffHostForService()"
Ruchi Kandoi [Fri, 8 Mar 2019 14:03:45 +0000 (06:03 -0800)]
Merge "Add @NonNull annotations to (un)setOffHostForService()"
am: 78366e46b2

Change-Id: Ic96cc8e5d438d5083d5ad40e13367d7921f30af3

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Fri, 8 Mar 2019 14:00:20 +0000 (06:00 -0800)]
Merge "Add @UnsupportedAppUsage annotations"
am: 10c573ff85

Change-Id: I394e53a553e4c054c52fb3e991b4f81f3c152a94

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Fri, 8 Mar 2019 13:56:53 +0000 (05:56 -0800)]
Merge "Add @UnsupportedAppUsage annotations"
am: 5d256870aa

Change-Id: I2ff775d4b5f9417f8f68274b05829457fb00fe7a

5 years agoMerge "Add a null check for getWindow()"
Siarhei Vishniakou [Fri, 8 Mar 2019 13:53:28 +0000 (05:53 -0800)]
Merge "Add a null check for getWindow()"
am: 3c69948e6a

Change-Id: Ibeffcb78acdb9744993d3aec810acd27416ba455

5 years agoresolve merge conflicts of 04e04516b46a6e435282391f8cc4a7f50fe665b7 to stage-aosp...
Andrei Onea [Fri, 8 Mar 2019 12:34:28 +0000 (12:34 +0000)]
resolve merge conflicts of 04e04516b46a6e435282391f8cc4a7f50fe665b7 to stage-aosp-master

Bug: None
Test: I solemnly swear I tested this conflict resolution.
Merged-In: If18cf25dbfb1b00d7bd39fd1e1032fd783fea792
Change-Id: I21e7d91ec2f6226c3f4b396eb00640021103006e

5 years agoAdd junyulai@ as owner of the core networking dirs
Bernie Innocenti [Fri, 8 Mar 2019 11:28:35 +0000 (20:28 +0900)]
Add junyulai@ as owner of the core networking dirs

Also removed emeritus accounts ek@ and silberst@ from various places.
A cleanup using 'include' would probably be in order...

Test: N/A
Change-Id: I575e60dd5e600e42d9571ce8e8d7661d30e99bfe

5 years agoGive Telephony the permissions to access the network stack.
Chalard Jean [Fri, 8 Mar 2019 10:46:00 +0000 (19:46 +0900)]
Give Telephony the permissions to access the network stack.

Test: manual
Change-Id: I28308f421aa955fe110b50452b115a0178b24745

5 years agoMerge "Change BluetoothCodecStatus.sameCapabilities() to public"
Treehugger Robot [Fri, 8 Mar 2019 10:38:47 +0000 (10:38 +0000)]
Merge "Change BluetoothCodecStatus.sameCapabilities() to public"

5 years agoUse an in-process APK for in-process NetworkStack
Remi NGUYEN VAN [Fri, 8 Mar 2019 08:20:49 +0000 (17:20 +0900)]
Use an in-process APK for in-process NetworkStack

Instead of having a library in the classpath where the NetworkStack is
created by reflection on devices using the network stack in-process,
just bind to a version of the network stack service that runs in the
system process.

If the in-process version is installed it will be used, otherwise the
module is used with its own process.

Bug: 127908503
Test: blueline boots and has functional WiFi
Test: atest FrameworksNetTests NetworkStackTests
Test: svelte build boots and has functional WiFi
Change-Id: I7722b173e5686e0dbb9cfddcfb34344b0f4135d9

5 years agoMerge "Not to use any() to verify DataStallDetectionStats"
Treehugger Robot [Fri, 8 Mar 2019 09:26:05 +0000 (09:26 +0000)]
Merge "Not to use any() to verify DataStallDetectionStats"

5 years agoMove NetworkStackTests to presubmit
Remi NGUYEN VAN [Fri, 8 Mar 2019 09:08:48 +0000 (18:08 +0900)]
Move NetworkStackTests to presubmit

The tests have been green in postsubmit for a while and run very
quickly.

Test: atest NetworkStackTests
Change-Id: I9dbbf9046dc0878c355a5ae791e31166038df796

5 years agoRemove NetworkStack test dependency on testutils
Remi NGUYEN VAN [Fri, 8 Mar 2019 09:03:07 +0000 (18:03 +0900)]
Remove NetworkStack test dependency on testutils

frameworks-base-testutils is close to unused in the tests, and has the
side-effect of adding some unrelated tests to be run in
NetworkStackTests like TestLooperTest. TestLooperTest is also failing in
some cases.

Bug: 127908503
Test: atest NetworkStackTests
Change-Id: Iebc174ed1362e8c341d765129a7fc51f8ed1999d

5 years agoMake ParseException less useless.
Chalard Jean [Fri, 8 Mar 2019 08:57:42 +0000 (17:57 +0900)]
Make ParseException less useless.

Test: None
Change-Id: I4b6d3fc8aba5a602ac06c958db41157cd98f2aff

5 years agoIPv6: enable IPv6 link local routing for local network
Jimmy Chen [Thu, 7 Mar 2019 06:15:36 +0000 (14:15 +0800)]
IPv6: enable IPv6 link local routing for local network

IPv6 link local is an automatically configured address. The routing should be
activated regardless of the DHCP service.

Bug: 126063997
Test: Unit tests - atest FrameworksNetTests
Test: Unit tests - atest FrameworksWifiTests
Test: * DUT1 enables hotspot
      * DUT2 associates to DUT1
      * use ping6 to verify the local link on both side
Test: * DUT1 creates a P2P group
      * DUT2 joins this group as a legacy client
      * use ping6 to verify the local link on both side

Change-Id: I102bf29e8da14808097e43c840d74d41b6b3758f

5 years agoNot to use any() to verify DataStallDetectionStats
Chiachang Wang [Fri, 8 Mar 2019 06:34:19 +0000 (14:34 +0800)]
Not to use any() to verify DataStallDetectionStats

Build a empty DataStallDetectionStats object instead of use
any() to do the verification to prevent NPE while trying to
write the metrics.

Bug: 120452078
Test: atest NetworkStackTests
Change-Id: Ib9f3e56195a539a5ca4826b4aad0e38945a9a3a7

5 years agoMerge "Minor changes to the async DNS query JAVA API"
Luke Huang [Fri, 8 Mar 2019 03:19:55 +0000 (03:19 +0000)]
Merge "Minor changes to the async DNS query JAVA API"

5 years agoMerge "Add more nullability annotations"
Treehugger Robot [Fri, 8 Mar 2019 03:16:43 +0000 (03:16 +0000)]
Merge "Add more nullability annotations"

5 years agoAdd Missing getRssi to CellSignalStrengthGsm
Nathan Harold [Fri, 8 Mar 2019 01:37:37 +0000 (17:37 -0800)]
Add Missing getRssi to CellSignalStrengthGsm

The getRssi() method is missing. This should
be used in consistency with the rest of the
CellSignalStrength interface, which provides
explicitly named measurement results through
such getters.

Bug: 125027693
Test: compilation
Change-Id: Ib7485118967108c066af40f811ad934b8de771f8

5 years agoMerge "Support VPN Proxy(1/2)"
Chalard Jean [Fri, 8 Mar 2019 00:34:25 +0000 (00:34 +0000)]
Merge "Support VPN Proxy(1/2)"

5 years agoMerge "fix 'int android.view.View.getHeight()' on a null object reference"
Treehugger Robot [Fri, 8 Mar 2019 00:19:39 +0000 (00:19 +0000)]
Merge "fix 'int android.view.View.getHeight()' on a null object reference"

5 years agoConvert tests/**/Android.mk files to Android.bp
Sasha Smundak [Thu, 21 Feb 2019 00:52:48 +0000 (16:52 -0800)]
Convert tests/**/Android.mk files to Android.bp

See build/soong/README.md for more information.

Note: tests/ImfTest/Android.mk causes conflict as it hasn't been yet
ported to internal master. Do it later.
Note: the conversion in the following directories has to be done in the
internal master first because of the conflicts:
* tests/ActivityManagerPerfTests
* tests/AppLaunch
* tests/AppLaunchWear
* tests/BackgroundDexOptServiceIntegrationTests
* tests/Camera2Tests/CameraToo
* tests/Camera2Tests/SmartCamera/SimpleCamera
* tests/Compatibility
* tests/Internal
* tests/RcsTests
* tests/ServiceCrashTest
* tests/UsbTests

Bug: 122332340
Test: treehugger
Change-Id: Ie17590c6a96aee5caa80d38092a3de5c1b6efe8d

5 years agoMerge changes Ie66ba631,Ic42c09a3
Benedict Wong [Thu, 7 Mar 2019 23:32:55 +0000 (23:32 +0000)]
Merge changes Ie66ba631,Ic42c09a3

* changes:
  Implement TestNetworkService
  Add shell TestNetworkManager and Service

5 years agoMerge "Move Camera.EventHandler constructor to greylist"
Treehugger Robot [Thu, 7 Mar 2019 23:16:40 +0000 (23:16 +0000)]
Merge "Move Camera.EventHandler constructor to greylist"