OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Notify caller when unlockUser() bails out"
Rubin Xu [Tue, 19 Mar 2019 18:29:10 +0000 (11:29 -0700)]
Merge "Notify caller when unlockUser() bails out"
am: e7df4aa57c

Change-Id: I095bd59c0c151fe535f66030240a2ff85b9b4bee

5 years agoMerge "Notify caller when unlockUser() bails out"
Treehugger Robot [Tue, 19 Mar 2019 18:21:35 +0000 (18:21 +0000)]
Merge "Notify caller when unlockUser() bails out"

5 years agoMerge "Add unit tests related to data accounting for VPNs with one underlying network."
Varun Anand [Tue, 19 Mar 2019 16:28:22 +0000 (09:28 -0700)]
Merge "Add unit tests related to data accounting for VPNs with one underlying network."
am: 289759e0d2

Change-Id: I91971112870c7a3a2d4786c25125204de7e008f5

5 years agoMerge "Add unit tests related to data accounting for VPNs with one underlying network."
Treehugger Robot [Tue, 19 Mar 2019 16:18:28 +0000 (16:18 +0000)]
Merge "Add unit tests related to data accounting for VPNs with one underlying network."

5 years agoMerge "Extend light-greylist of some TelephonyManager APIs until Q."
Tyler Gunn [Tue, 19 Mar 2019 15:26:43 +0000 (08:26 -0700)]
Merge "Extend light-greylist of some TelephonyManager APIs until Q."
am: 0bb3c6bb93

Change-Id: I98739ce5d5210437df0618d14a6923ce92bccf03

5 years agoMerge "Extend light-greylist of some TelephonyManager APIs until Q."
Tyler Gunn [Tue, 19 Mar 2019 15:17:16 +0000 (15:17 +0000)]
Merge "Extend light-greylist of some TelephonyManager APIs until Q."

5 years agoMerge "Revert "Rename some failed causes""
Paul Hu [Tue, 19 Mar 2019 14:46:17 +0000 (07:46 -0700)]
Merge "Revert "Rename some failed causes""
am: e3cc2e6c98

Change-Id: I29efdbba830f08ca1a0c01058fce719c8b501dbe

5 years agoMerge "Revert "Rename some failed causes""
Treehugger Robot [Tue, 19 Mar 2019 14:31:34 +0000 (14:31 +0000)]
Merge "Revert "Rename some failed causes""

5 years agoMerge "Mark product apks as unbundled"
Kiyoung Kim [Tue, 19 Mar 2019 14:17:53 +0000 (07:17 -0700)]
Merge "Mark product apks as unbundled"
am: 856ef55672

Change-Id: I9d4d7cf2ae8e47c8aaed82d0d47861cd7d787067

5 years agoMerge "Mark product apks as unbundled"
Treehugger Robot [Tue, 19 Mar 2019 14:02:59 +0000 (14:02 +0000)]
Merge "Mark product apks as unbundled"

5 years agoMerge "Move the IpMemoryStore to the network stack."
Xiao Ma [Tue, 19 Mar 2019 13:35:31 +0000 (06:35 -0700)]
Merge "Move the IpMemoryStore to the network stack."
am: 93bf5ef495

Change-Id: I672d07ca2d0a251c246993ab8c7c3075de385570

5 years agoMerge "Move the IpMemoryStore to the network stack."
Xiao Ma [Tue, 19 Mar 2019 13:21:12 +0000 (13:21 +0000)]
Merge "Move the IpMemoryStore to the network stack."

5 years agoMerge "Fix API for SocketUtils"
Remi NGUYEN VAN [Tue, 19 Mar 2019 08:21:20 +0000 (01:21 -0700)]
Merge "Fix API for SocketUtils"
am: 4a66729cfe

Change-Id: I2340b528ab7a1a628e257205603d0d902f7cccd0

5 years agoMerge "Fix API for SocketUtils"
Remi NGUYEN VAN [Tue, 19 Mar 2019 08:08:50 +0000 (08:08 +0000)]
Merge "Fix API for SocketUtils"

5 years agoMerge "Replace Handler with Executor for async DNS API"
Luke Huang [Tue, 19 Mar 2019 06:05:15 +0000 (23:05 -0700)]
Merge "Replace Handler with Executor for async DNS API"
am: 2656b3d4cc

Change-Id: I5fb0d659d27894ca9f243654f9283764f1369745

5 years agoMerge "Refactor answer callback for async DNS query JAVA API"
Luke Huang [Tue, 19 Mar 2019 05:55:37 +0000 (22:55 -0700)]
Merge "Refactor answer callback for async DNS query JAVA API"
am: f1d0fd2642

Change-Id: I26eb642cc04e3804cd82a56e45a890689b3c643f

5 years agoMerge "Replace Handler with Executor for async DNS API"
Luke Huang [Tue, 19 Mar 2019 05:35:39 +0000 (05:35 +0000)]
Merge "Replace Handler with Executor for async DNS API"

5 years agoMerge "Refactor answer callback for async DNS query JAVA API"
Luke Huang [Tue, 19 Mar 2019 05:35:18 +0000 (05:35 +0000)]
Merge "Refactor answer callback for async DNS query JAVA API"

5 years agoMerge "Fixing engineGetCertificateChain exception"
Max Bires [Tue, 19 Mar 2019 03:15:39 +0000 (20:15 -0700)]
Merge "Fixing engineGetCertificateChain exception"
am: 09e3d8c3eb

Change-Id: I89f4c025671e8ae2092ff45e1bac47d676feeb7d

5 years agoRevert "Rename some failed causes"
Paul Hu [Tue, 19 Mar 2019 03:11:31 +0000 (03:11 +0000)]
Revert "Rename some failed causes"

This reverts commit 1c405b73b096c5d20c610fb97012f7576bc0cf4e.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I4af7c87d8a8a988c2f1c3dc6662027c6fcd34088

5 years agoMerge "Fixing engineGetCertificateChain exception"
Treehugger Robot [Tue, 19 Mar 2019 03:02:31 +0000 (03:02 +0000)]
Merge "Fixing engineGetCertificateChain exception"

5 years agoMerge "Remove deprecated entitlement API"
Mark Chien [Tue, 19 Mar 2019 03:00:35 +0000 (20:00 -0700)]
Merge "Remove deprecated entitlement API"
am: 36459170a7

Change-Id: I6b19b684a1dfa509ee77304d6acfe3fcdb6ca69c

5 years agoMerge "Remove deprecated entitlement API"
Mark Chien [Tue, 19 Mar 2019 02:44:37 +0000 (02:44 +0000)]
Merge "Remove deprecated entitlement API"

5 years agoMerge "Address API review comments for VPN changes."
Lorenzo Colitti [Tue, 19 Mar 2019 02:34:28 +0000 (19:34 -0700)]
Merge "Address API review comments for VPN changes."
am: bbfee2b427

Change-Id: I79d035244faeef373751e256f49075d1f2a10faf

5 years agoMerge "Address API review comments for VPN changes."
Lorenzo Colitti [Tue, 19 Mar 2019 02:16:58 +0000 (02:16 +0000)]
Merge "Address API review comments for VPN changes."

5 years agoMerge "MediaHTTPConnection: move connection states into an inner class"
Dichen Zhang [Tue, 19 Mar 2019 01:48:41 +0000 (18:48 -0700)]
Merge "MediaHTTPConnection: move connection states into an inner class"
am: abe16aff07

Change-Id: I3b501494ebdd882df2e0073b2e5eb752742a35b1

5 years agoMerge "MediaHTTPConnection: move connection states into an inner class"
Treehugger Robot [Tue, 19 Mar 2019 01:29:24 +0000 (01:29 +0000)]
Merge "MediaHTTPConnection: move connection states into an inner class"

5 years agoMerge "Emergency API review"
Brad Ebinger [Mon, 18 Mar 2019 23:50:54 +0000 (16:50 -0700)]
Merge "Emergency API review"
am: 853983ef32

Change-Id: Idcfa450fba2e08d825bbe2b95094a7e7f070421b

5 years agoMerge "Emergency API review"
Brad Ebinger [Mon, 18 Mar 2019 23:29:34 +0000 (23:29 +0000)]
Merge "Emergency API review"

5 years agoMerge "Add 5G icon to System UI"
Pengquan Meng [Mon, 18 Mar 2019 23:00:11 +0000 (16:00 -0700)]
Merge "Add 5G icon to System UI"
am: 01b016eef8

Change-Id: Iba425b2c685431bbbab797441b78f0b357a1ab00

5 years agoMerge "Set sdk_version 28 in aidl_interface"
Jeongik Cha [Mon, 18 Mar 2019 22:51:30 +0000 (15:51 -0700)]
Merge "Set sdk_version 28 in aidl_interface"
am: 353e36fe69

Change-Id: Ie532df169167d94df55c3a496349b96db6abbd52

5 years agoMerge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated."
Tyler Gunn [Mon, 18 Mar 2019 22:46:56 +0000 (15:46 -0700)]
Merge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated."
am: e2a486a7b2

Change-Id: Ib0d700c29e28166081b81cbdaeb8ad278d7ca21c

5 years agoMerge "Add 5G icon to System UI"
Pengquan Meng [Mon, 18 Mar 2019 22:39:04 +0000 (22:39 +0000)]
Merge "Add 5G icon to System UI"

5 years agoMerge "Set sdk_version 28 in aidl_interface"
Jeongik Cha [Mon, 18 Mar 2019 22:29:10 +0000 (22:29 +0000)]
Merge "Set sdk_version 28 in aidl_interface"

5 years agoMerge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated."
Tyler Gunn [Mon, 18 Mar 2019 22:18:52 +0000 (22:18 +0000)]
Merge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated."

5 years agoEmergency API review
sqian [Fri, 22 Feb 2019 23:54:47 +0000 (15:54 -0800)]
Emergency API review

1) Remove 'current' in Emergency APIs
2) Remove nullable
3) Handled the null Telephony service case
4) Hide getEmergencyServiceCategoryBitmask
5) Make getEmergencyUrns unmodifiable

Test: Treehugger
Bug: 122368381
Bug: 126699022
Bug: 126701211
Merged-In: I6eb1d8a3ae1625ff3f43f983c488c2969649713b
Change-Id: I6eb1d8a3ae1625ff3f43f983c488c2969649713b

5 years agoMediaHTTPConnection: move connection states into an inner class
Dichen Zhang [Mon, 18 Mar 2019 22:02:17 +0000 (15:02 -0700)]
MediaHTTPConnection: move connection states into an inner class

Bug: 119900000
Test: go/ag/5140159
Change-Id: I8edae85ea614dd537758f342c0c4b57be09c2da5

5 years agoMerge "Cleanup annontations for Hearing Aids Profile API"
Stanley Tng [Mon, 18 Mar 2019 20:49:26 +0000 (13:49 -0700)]
Merge "Cleanup annontations for Hearing Aids Profile API"
am: f6b3f6a8d8

Change-Id: I33778cde1415fefe985031dd637ab97d620bf284

5 years agoMerge "Remove unused HarfBuzz src in libandroid_runtime"
Luca Stefani [Mon, 18 Mar 2019 20:44:53 +0000 (13:44 -0700)]
Merge "Remove unused HarfBuzz src in libandroid_runtime"
am: b9940315bf

Change-Id: I86649257ffe285716875e327d9621385ec8319da

5 years agoMerge "Add slot based ICC channel APIs"
Jordan Liu [Mon, 18 Mar 2019 20:38:37 +0000 (13:38 -0700)]
Merge "Add slot based ICC channel APIs"
am: e278d2bcdd

Change-Id: Ifaaddfc58ee684393bcabfc214d72746125ed158

5 years agoMerge "Integrate FEATURE_TELEPHONY_IMS feature into APIs"
Brad Ebinger [Mon, 18 Mar 2019 20:28:10 +0000 (13:28 -0700)]
Merge "Integrate FEATURE_TELEPHONY_IMS feature into APIs"
am: b50cea987b

Change-Id: I958118cbf6bbe1da784e970b8b2195c52e198855

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Mon, 18 Mar 2019 20:20:51 +0000 (13:20 -0700)]
Merge "Add @UnsupportedAppUsage annotations"
am: 2bbb9c537e

Change-Id: I8daf2a9def4453a0aac1f747518962d49b17a9e8

5 years agoMerge "Cleanup annontations for Hearing Aids Profile API"
Treehugger Robot [Mon, 18 Mar 2019 19:57:50 +0000 (19:57 +0000)]
Merge "Cleanup annontations for Hearing Aids Profile API"

5 years agoMerge "Remove unused HarfBuzz src in libandroid_runtime"
Treehugger Robot [Mon, 18 Mar 2019 18:54:29 +0000 (18:54 +0000)]
Merge "Remove unused HarfBuzz src in libandroid_runtime"

5 years agoMerge "Add slot based ICC channel APIs"
Jordan Liu [Mon, 18 Mar 2019 18:36:54 +0000 (18:36 +0000)]
Merge "Add slot based ICC channel APIs"

5 years agoMerge "Integrate FEATURE_TELEPHONY_IMS feature into APIs"
Brad Ebinger [Mon, 18 Mar 2019 17:35:27 +0000 (17:35 +0000)]
Merge "Integrate FEATURE_TELEPHONY_IMS feature into APIs"

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Mon, 18 Mar 2019 17:28:44 +0000 (17:28 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoAddress API review comments for VPN changes.
Pavel Grafov [Mon, 18 Mar 2019 12:36:24 +0000 (12:36 +0000)]
Address API review comments for VPN changes.

Whitelist is now a Set rather than a list + javadoc improvement.

Bug: 124882903
Bug: 125346147
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: Ieecaad083f2ab55de33587e6ce767f5f961683c9

5 years agoMark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated.
Tyler Gunn [Mon, 18 Mar 2019 16:13:33 +0000 (09:13 -0700)]
Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated.

In Q we have introduced new APIs which replace the need for an app to
get the phone number for calls through the phone state broadcast.  As
such the EXTRA_INCOMING_NUMBER is being marked deprecated.  Developers
are encouraged to use the new replacement APIs instead.

Test: Make API / build
Fixes: 128835519
Change-Id: If1bc0076392281887f6cc8017788a07f170c7a17

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Mon, 18 Mar 2019 14:49:55 +0000 (07:49 -0700)]
Merge "Add @UnsupportedAppUsage annotations"
am: 09426de69d

Change-Id: I8be4fa32c92a5b5ac335bfbfa0a6edffcb881b22

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Mon, 18 Mar 2019 14:40:25 +0000 (14:40 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoMerge "Add hdmoon@/insun@ to OWNERS"
Hyundo Moon [Mon, 18 Mar 2019 12:45:41 +0000 (05:45 -0700)]
Merge "Add hdmoon@/insun@ to OWNERS"
am: 3923ce61f6

Change-Id: I09c4bdceb218c32c152c4faa7d80dd51b3e6ebba

5 years agoMerge "Add hdmoon@/insun@ to OWNERS"
Hyundo Moon [Mon, 18 Mar 2019 12:32:01 +0000 (12:32 +0000)]
Merge "Add hdmoon@/insun@ to OWNERS"

5 years agoAdd @UnsupportedAppUsage annotations
Andrei Onea [Mon, 18 Mar 2019 11:37:25 +0000 (11:37 +0000)]
Add @UnsupportedAppUsage annotations

For packages:
  android.os

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Merged-In: I4ece0a3f37f88fc2508cb965092aed7cabc61819
Change-Id: I0d942254f06c1a355fb906640e223ad34cced6ab

5 years agoFix API for SocketUtils
Remi NGUYEN VAN [Mon, 18 Mar 2019 02:42:14 +0000 (11:42 +0900)]
Fix API for SocketUtils

Addresses API review comments:
 - @NonNull on return values
 - short -> int for makePacketSocketAddress
 - Set class final while we're at it

Bug: 126700257
Test: m
Change-Id: I3b1775feee22b1e337b3e4e7a2ad16b28e305b67

5 years agoSet sdk_version 28 in aidl_interface
Jeongik Cha [Mon, 18 Mar 2019 02:54:19 +0000 (11:54 +0900)]
Set sdk_version 28 in aidl_interface

default value of sdk_version in aidl_interface is changed.("28" -> "system_current")
so sdk_version of this module have to be "28" because it is included in framework.jar.

Test: m -j
Bug: 126469673
Change-Id: I515b1b236a7212198c419432b7c9fc70c623c63a

5 years agoMove the IpMemoryStore to the network stack.
Chalard Jean [Wed, 30 Jan 2019 12:04:58 +0000 (21:04 +0900)]
Move the IpMemoryStore to the network stack.

Test: atest FrameworksNetTests
Change-Id: Ic5bd6ff54b09a6fa92b6863f240a5b053011acb6

5 years agoMerge "Remove NetworkParcelable"
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:44:58 +0000 (18:44 -0700)]
Merge "Remove NetworkParcelable"
am: 205886d28f

Change-Id: I8dc6d665a33d19ecad2bd5f611c2b68e08d53b97

5 years agoMerge "Remove aidl wrappers for framework parcelables"
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:41:05 +0000 (18:41 -0700)]
Merge "Remove aidl wrappers for framework parcelables"
am: 1a1396070e

Change-Id: Ib69a20153754018c951f504b5f14e91074526144

5 years agoMerge "Remove NetworkParcelable"
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:30:25 +0000 (01:30 +0000)]
Merge "Remove NetworkParcelable"

5 years agoMerge "Remove aidl wrappers for framework parcelables"
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:30:01 +0000 (01:30 +0000)]
Merge "Remove aidl wrappers for framework parcelables"

5 years agoMerge "revent NFE in SystemUI when parsing invalid int (2)"
Evan Laird [Sat, 16 Mar 2019 15:52:16 +0000 (08:52 -0700)]
Merge "revent NFE in SystemUI when parsing invalid int (2)"
am: a5f53a59c7

Change-Id: I1b0b6e8c7c01cf02426d1cbeec9196b285d6283a

5 years agoMerge "revent NFE in SystemUI when parsing invalid int (2)"
Evan Laird [Sat, 16 Mar 2019 15:43:04 +0000 (15:43 +0000)]
Merge "revent NFE in SystemUI when parsing invalid int (2)"

5 years agoReplace Handler with Executor for async DNS API
Luke Huang [Thu, 7 Mar 2019 11:01:26 +0000 (19:01 +0800)]
Replace Handler with Executor for async DNS API

Bug: 124882626
Test: built, flashed, booted
      atest DnsResolverTest DnsPacketTest

Change-Id: Ie1dc27643d4767f2a8a39da755edf388a00962d5

5 years agoRefactor answer callback for async DNS query JAVA API
Luke Huang [Mon, 4 Mar 2019 09:08:03 +0000 (17:08 +0800)]
Refactor answer callback for async DNS query JAVA API

1. refactor AnswerCallback with a generic type
2. support onError in AnswerCallback
3. Fix minor problem reported from API Review

Bug: 124882626
Test: built, flashed, booted
      atest DnsResolverTest DnsPacketTest

Change-Id: I685c9989f8401acb63d2e83f552b2d5b20c41af0

5 years agoMerge "CallRedirectionService API review"
sqian [Sat, 16 Mar 2019 02:56:23 +0000 (19:56 -0700)]
Merge "CallRedirectionService API review"
am: 1276a178fd

Change-Id: I4509bfabae430b97ee82c2939b9099dc5767f44a

5 years agoMerge "ParcelFileDescriptor: improve javadoc."
Josh Gao [Sat, 16 Mar 2019 02:52:34 +0000 (19:52 -0700)]
Merge "ParcelFileDescriptor: improve javadoc."
am: c4e2b24d87

Change-Id: Ic01db5d3f9c7527f2458aa4cf10bd2c43d685bed

5 years agoMerge "CallRedirectionService API review"
Treehugger Robot [Sat, 16 Mar 2019 02:42:29 +0000 (02:42 +0000)]
Merge "CallRedirectionService API review"

5 years agoMerge "ParcelFileDescriptor: improve javadoc."
Treehugger Robot [Sat, 16 Mar 2019 02:36:30 +0000 (02:36 +0000)]
Merge "ParcelFileDescriptor: improve javadoc."

5 years agoAdd unit tests related to data accounting for VPNs with one underlying
Varun Anand [Mon, 18 Feb 2019 07:15:15 +0000 (23:15 -0800)]
Add unit tests related to data accounting for VPNs with one underlying
network.

This is to establish a baseline for the existing behavior, and to ensure
that following changes are not causing a regression in existing
behavior.

This CL is also adding missing cleanup for NetworkStatsCollectionTest
which was forcing all network types in NetworkTemplate that was causing
NetworkStatsService related tests to fail.

Bug: 113122541
Bug: 120145746
Test: atest FrameworksNetTests
Change-Id: I285f186cfb16bc9fa704c797996b1e4f8a73dee4

5 years agoCleanup annontations for Hearing Aids Profile API
Stanley Tng [Thu, 14 Mar 2019 23:18:29 +0000 (16:18 -0700)]
Cleanup annontations for Hearing Aids Profile API

Remove the @UnsupportedAppUsage and add the @IntDef for the Profile
Connection States in the Hearing Aids Profile API. Also, the parent
class BluetoothProfile has its Profile Connection States annontated.

Bug: 128523382
Test: Compile only
Change-Id: Ibd02516fa637ddb48d70a8dfacf607f047aec282

5 years agoMerge "Cleanup unsupported appusage in Telecom apis."
Tyler Gunn [Fri, 15 Mar 2019 23:51:04 +0000 (16:51 -0700)]
Merge "Cleanup unsupported appusage in Telecom apis."
am: 90723afa47

Change-Id: If983c7a0351138fcfb35d9060b0c17c7b9e2c69f

5 years agoMerge "Cleanup unsupported appusage in Telecom apis."
Tyler Gunn [Fri, 15 Mar 2019 23:36:21 +0000 (23:36 +0000)]
Merge "Cleanup unsupported appusage in Telecom apis."

5 years agoMerge "Moved transport to IntDef"
Jack Yu [Fri, 15 Mar 2019 23:31:06 +0000 (16:31 -0700)]
Merge "Moved transport to IntDef"
am: b7463a63d1

Change-Id: I80d2bf5b3d195d4b05135006418ba4b638271f4f

5 years agoMerge "Moved transport to IntDef"
Treehugger Robot [Fri, 15 Mar 2019 23:21:29 +0000 (23:21 +0000)]
Merge "Moved transport to IntDef"

5 years agoMerge "Convert Android.mk file to Android.bp"
Sasha Smundak [Fri, 15 Mar 2019 23:02:49 +0000 (16:02 -0700)]
Merge "Convert Android.mk file to Android.bp"
am: 504a33a64e

Change-Id: I464c162ef26998c2c1c968e9da36b35fa36eabb1

5 years agoMerge "[API feedback] api fixed for getSlotMapping"
Pengquan Meng [Fri, 15 Mar 2019 22:58:45 +0000 (15:58 -0700)]
Merge "[API feedback] api fixed for getSlotMapping"
am: 9931252c3f

Change-Id: I68489daa92188232f3d1489226f71c14d5b2b14d

5 years agoMerge "Convert Android.mk file to Android.bp"
Treehugger Robot [Fri, 15 Mar 2019 22:49:30 +0000 (22:49 +0000)]
Merge "Convert Android.mk file to Android.bp"

5 years agoExtend light-greylist of some TelephonyManager APIs until Q.
Tyler Gunn [Fri, 15 Mar 2019 21:00:43 +0000 (14:00 -0700)]
Extend light-greylist of some TelephonyManager APIs until Q.

The reasonable replacement for these APIs is
ImsMmtelManager#isAvailable(int, int); however that class is a system
API.  Given how late we are in the release cycle,  can make
ImsMmtelManager public R and leave these greylisted for now.

Test: Manual
Bug: 128696104
Change-Id: I64fa9e079e26ba16ff9ace098091c4094e9a7b33

5 years agoMerge "[API feedback] api fixed for getSlotMapping"
Pengquan Meng [Fri, 15 Mar 2019 22:38:46 +0000 (22:38 +0000)]
Merge "[API feedback] api fixed for getSlotMapping"

5 years agoCallRedirectionService API review
sqian [Thu, 14 Mar 2019 20:41:33 +0000 (13:41 -0700)]
CallRedirectionService API review

Bug: 126699669
Test: Treehugger
Change-Id: I56944f6d487660ed447d081b6dfd2cb625087869

5 years agoMerge changes from topic "Porting-ONSAPIChanges"
Sooraj Sasindran [Fri, 15 Mar 2019 19:53:18 +0000 (12:53 -0700)]
Merge changes from topic "Porting-ONSAPIChanges"
am: 31c7607ee6

Change-Id: Ibca8c0202ff702be57f128b0cc24a8679d0a8083

5 years agoProvide network bands in AvailableNetworkInfo
Sooraj Sasindran [Fri, 15 Mar 2019 19:46:05 +0000 (12:46 -0700)]
Provide network bands in AvailableNetworkInfo
am: c9948da02a

Change-Id: Ib7ba8c29f8e8ed7237b5afcccf9d1694596f1263

5 years agoMerge changes from topic "Porting-ONSAPIChanges"
Sooraj Sasindran [Fri, 15 Mar 2019 19:31:55 +0000 (19:31 +0000)]
Merge changes from topic "Porting-ONSAPIChanges"

* changes:
  Should not turn on validation for data
  Provide network bands in AvailableNetworkInfo

5 years agoMerge "Update feature flag mapping owners"
Fan Zhang [Fri, 15 Mar 2019 19:22:29 +0000 (12:22 -0700)]
Merge "Update feature flag mapping owners"
am: 16eab7c16d

Change-Id: I2b51778fc7ed71066d95968bfef6053659945e8c

5 years agoMerge "Update feature flag mapping owners"
Fan Zhang [Fri, 15 Mar 2019 19:12:37 +0000 (19:12 +0000)]
Merge "Update feature flag mapping owners"

5 years agoRemove NetworkParcelable
Remi NGUYEN VAN [Thu, 14 Mar 2019 17:25:09 +0000 (02:25 +0900)]
Remove NetworkParcelable

With the @JavaOnlyStableParcelable annotation, Network can now be used
as-is as a framework parcelable.

Test: atest FrameworksNetTests NetworkStackTests
Bug: 126477266
Change-Id: I5d9695a31b3ac48d10edcf08ccd0c34375353b79

5 years agoRemove aidl wrappers for framework parcelables
Remi NGUYEN VAN [Wed, 13 Mar 2019 23:09:58 +0000 (08:09 +0900)]
Remove aidl wrappers for framework parcelables

The new @JavaOnlyStableParcelable annotation allows using the framework
parcelables directly, which removes a lot of boilerplate.

Includes new copy constructors for IpPrefix and LinkAddress so they can
be copied easily as-is into parcelables.

Test: atest FrameworksNetTests
Test: booted, WiFi works
Bug: 126477266

Change-Id: Icac8afe498d0b5ebf9a0d0b9eceb14d64a29b381

5 years agoMerge "Integrate testNetworkService and Manager with Connectivity stack"
Benedict Wong [Fri, 15 Mar 2019 17:50:06 +0000 (10:50 -0700)]
Merge "Integrate testNetworkService and Manager with Connectivity stack"
am: b86c3255fd

Change-Id: I571e583d896841c814efe58b8c0875fa9cd3873c

5 years agoMerge "Integrate testNetworkService and Manager with Connectivity stack"
Benedict Wong [Fri, 15 Mar 2019 17:41:02 +0000 (17:41 +0000)]
Merge "Integrate testNetworkService and Manager with Connectivity stack"

5 years agoMerge "Fix ServiceState.hashCode() bug."
Cody Kesting [Fri, 15 Mar 2019 16:11:09 +0000 (09:11 -0700)]
Merge "Fix ServiceState.hashCode() bug."
am: 466ff7b990

Change-Id: I9705b0857ecc5f9a809e7e640fbc35151d244211

5 years agoMerge "Fix ServiceState.hashCode() bug."
Cody Kesting [Fri, 15 Mar 2019 15:46:30 +0000 (15:46 +0000)]
Merge "Fix ServiceState.hashCode() bug."

5 years agoFix ServiceState.hashCode() bug.
Cody Kesting [Thu, 14 Mar 2019 17:35:23 +0000 (10:35 -0700)]
Fix ServiceState.hashCode() bug.

ServiceState currently overrides hashCode() incorrectly. It hashes an
Array field without using Arrays.hashCode(), meaning that the default
Object.hashCode() implementation is used (which is based on the address
of the Array field). This allows equivalent ServiceState instances to
produce different hashes.

Bug: 128609620
Test: atest CtsTelephonyTestCases:ServiceStateTest
Change-Id: I40a7d0b7ebab6d2a1be47ea63a6d223c4c13700b

5 years agoMerge "Bugreport Manager service clear binder identity"
Abhijeet Kaur [Fri, 15 Mar 2019 14:26:06 +0000 (07:26 -0700)]
Merge "Bugreport Manager service clear binder identity"
am: 1f6b8f50c1

Change-Id: Idc5d92ca9be7d20f57dcd6a376b96ed12cc382fc

5 years agoMerge "Bugreport Manager service clear binder identity"
Treehugger Robot [Fri, 15 Mar 2019 14:13:43 +0000 (14:13 +0000)]
Merge "Bugreport Manager service clear binder identity"

5 years agoAdd @UnsupportedAppUsage annotations
Andrei Onea [Fri, 15 Mar 2019 12:00:20 +0000 (12:00 +0000)]
Add @UnsupportedAppUsage annotations

For packages:
  com.android.internal.telephony
  com.android.internal.telephony.cat
  com.android.internal.telephony.cdma
  com.android.internal.telephony.gms
  com.android.internal.telephony.imsphone
  com.android.internal.telephony.uicc

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Merged-In: Ib70dd739d8067ca2e37f0dbc6c48a2d625935a4b
Change-Id: Ib7d46597f0d43a9e61141c96737976b02a1df008

5 years agoMerge changes I39e84219,I8d0e12cb
Nandana Dutt [Fri, 15 Mar 2019 10:39:51 +0000 (03:39 -0700)]
Merge changes I39e84219,I8d0e12cb
am: cae221acac

Change-Id: I5fe14b5b25a1b22e184aa02e658c81d9d0238541

5 years agoMerge changes I39e84219,I8d0e12cb
Treehugger Robot [Fri, 15 Mar 2019 10:28:06 +0000 (10:28 +0000)]
Merge changes I39e84219,I8d0e12cb

* changes:
  Bugreporting API: Take ownership of fds.
  Don't manage dumpstate lifecycle from system server

5 years agoRemove deprecated entitlement API
markchien [Mon, 11 Mar 2019 03:56:13 +0000 (11:56 +0800)]
Remove deprecated entitlement API

The deprecated entitlement APIs[1] is introduced in the Q
development cycle. It should be replaced by new APIs[2][3].

[1] https://android-review.googlesource.com/c/platform/frameworks/base/+/874220
[2] https://android-review.googlesource.com/c/platform/frameworks/base/+/920354
[3] https://android-review.googlesource.com/c/platform/frameworks/base/+/927513

Test: -build, flash, boot
bug: 126701557
bug: 126392011
Change-Id: I96487e9038c07363680a76db840994719d7ff768

5 years agorevent NFE in SystemUI when parsing invalid int (2)
Henrik Baard [Thu, 14 Mar 2019 11:23:04 +0000 (12:23 +0100)]
revent NFE in SystemUI when parsing invalid int (2)

A user can change various tunable settings setting via adb.

If the value set is not an integer, SystemUI will end up in an exception
loop.

Test: No crash when running:
      adb exec-out settings put secure sysui_qs_move_whole_rows a
      adb exec-out settings put secure qs_show_brightness a
      adb exec-out settings put secure clock_seconds a
      adb exec-out settings put secure sysui_volume_down_silent a
      adb exec-out settings put secure sysui_volume_up_silent a
      adb exec-out settings put secure sysui_do_not_disturb a
Change-Id: If9c565cbdd44db25ba7fce381c98aa0ab735bfc4