OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Support starting gsid lazily"
Howard Chen [Thu, 21 Mar 2019 00:40:44 +0000 (17:40 -0700)]
Merge "Support starting gsid lazily"
am: 4108388601

Change-Id: I5f6a9e3492cf41c2681297ce770310cda862de3d

5 years agoMerge "Dist aapt2 protos"
Colin Cross [Thu, 21 Mar 2019 00:31:27 +0000 (17:31 -0700)]
Merge "Dist aapt2 protos"
am: b602193169

Change-Id: I07d5c0307cf8faa03f0869e78b3a548f171ad6b0

5 years agoMerge "Support starting gsid lazily"
Howard Chen [Thu, 21 Mar 2019 00:28:31 +0000 (00:28 +0000)]
Merge "Support starting gsid lazily"

5 years agoMerge "Dist aapt2 protos"
Treehugger Robot [Thu, 21 Mar 2019 00:07:21 +0000 (00:07 +0000)]
Merge "Dist aapt2 protos"

5 years agoMerge "API review feedback changes"
Jack Yu [Wed, 20 Mar 2019 23:36:19 +0000 (16:36 -0700)]
Merge "API review feedback changes"
am: 84ea11384d

Change-Id: I37c4f558d313d3ea7f201633273dc53f6ffd128c

5 years agoMerge "API review feedback changes"
Treehugger Robot [Wed, 20 Mar 2019 23:22:20 +0000 (23:22 +0000)]
Merge "API review feedback changes"

5 years agoMerge "Add Prefix per Carrier requirement"
Shuo Qian [Wed, 20 Mar 2019 22:57:24 +0000 (15:57 -0700)]
Merge "Add Prefix per Carrier requirement"
am: 592e9abb0b

Change-Id: I84cae8e10cd495d2504f6dddba0f622b8c3b49a0

5 years agoMerge "Add Prefix per Carrier requirement"
Shuo Qian [Wed, 20 Mar 2019 22:44:59 +0000 (22:44 +0000)]
Merge "Add Prefix per Carrier requirement"

5 years agoAdd Prefix per Carrier requirement
sqian [Wed, 20 Mar 2019 21:16:14 +0000 (14:16 -0700)]
Add Prefix per Carrier requirement

Some carrier requires if users dial an emergency number address with
some prefix, the combination of the prefix and the address is also a
valid emergency number to dial.

Bug: 122429213
Test: Treehugger
Change-Id: Ib9b96bb0a210aba64a8652984d22f3564813fa9d
Merged-In: Ib9b96bb0a210aba64a8652984d22f3564813fa9d
(cherry picked from commit 69f48c5e906512bf9ac56b315daa6d4dfdfb7600)

5 years agoAPI review feedback changes
Jack Yu [Sun, 17 Mar 2019 06:00:35 +0000 (23:00 -0700)]
API review feedback changes

Made the follwing changes based on API council review
feedback

1. Made the class and its Builder class final
2. Removed methods that should not be in the builder
3. Changed the return type of available services
   from array to list.

Test: Unit tests
Bug 127657991

Merged-In: I3c2d406fed3ddaf62dee193c7657caf8c5bc13d2
Change-Id: I3c2d406fed3ddaf62dee193c7657caf8c5bc13d2
(cherry picked from commit 20d71403b8a1950bb44ee183138dc7a83c673472)

5 years agoMerge "Make ImsException final"
Brad Ebinger [Wed, 20 Mar 2019 20:29:07 +0000 (13:29 -0700)]
Merge "Make ImsException final"
am: cdc0da732d

Change-Id: Ic2aafb555b69398852409fc80f6ace5f0f92d1dc

5 years agoMerge "Make ImsException final"
Brad Ebinger [Wed, 20 Mar 2019 20:10:32 +0000 (20:10 +0000)]
Merge "Make ImsException final"

5 years agoMerge "Remove telephony-common classes."
Steven Moreland [Wed, 20 Mar 2019 18:46:35 +0000 (11:46 -0700)]
Merge "Remove telephony-common classes."
am: 6d77176920

Change-Id: I04c352cc56f66b06142c9a94f0b7ca7d51b26195

5 years agoMerge "[API feedback] fixed API for NR"
Pengquan Meng [Wed, 20 Mar 2019 18:42:00 +0000 (11:42 -0700)]
Merge "[API feedback] fixed API for NR"
am: 7afba9e583

Change-Id: I703b745d276171f57092668d502441d45ae6ded6

5 years agoMerge "Remove telephony-common classes."
Steven Moreland [Wed, 20 Mar 2019 18:30:10 +0000 (18:30 +0000)]
Merge "Remove telephony-common classes."

5 years agoMerge "[API feedback] fixed API for NR"
Pengquan Meng [Wed, 20 Mar 2019 18:22:16 +0000 (18:22 +0000)]
Merge "[API feedback] fixed API for NR"

5 years ago[API feedback] fixed API for NR
Pengquan Meng [Mon, 11 Mar 2019 18:12:58 +0000 (11:12 -0700)]
[API feedback] fixed API for NR

This CL included the follow change:
1. Change getPreferredNetworkTypeBitmap to
getPreferredNetworkTypeBitmask [b/126552419]
2. Change setPreferredNetworkTypeBitmap to
setPreferredNetworkTypeBitmask [b/126552419]
3. Add @IntRange annonation to CellIdentityNr.getNrarfcn() [b/126552419]

4. In javadoc, explain the acronym NR to say: (New Radio 5G)
[b/126552559]

5. Mark CellInfoNr.getCellSignalStrength and CellInfoNr.getCellIdentity
    as @NonNull [b/126699572]

6. Mark CellIdentityNr.getMncString() and CellIdentityNr.getMccString()
    as @Nullable [b/126702744]

Bug: 126552419
Bug: 126552559
Bug: 126699572
Bug: 126702744
Test: build
Merged-In: I133075a3688c3fa7550c8a2f43bc13d8b25999b2
Change-Id: I133075a3688c3fa7550c8a2f43bc13d8b25999b2

5 years agoMerge "pm: SharedLibraryInfo: toString closing bracket"
Steven Moreland [Wed, 20 Mar 2019 18:06:08 +0000 (11:06 -0700)]
Merge "pm: SharedLibraryInfo: toString closing bracket"
am: 05a8e0b44c

Change-Id: I373baed1fdd987bef7dafdbabacb86a0ef6cfbc0

5 years agoMerge "improve mism support for phonestatelistner"
Chen Xu [Wed, 20 Mar 2019 17:55:57 +0000 (10:55 -0700)]
Merge "improve mism support for phonestatelistner"
am: ed4d220c97

Change-Id: If09726fbd0bf82fdbe2da884d97d9b78089eb1ac

5 years agoMerge "pm: SharedLibraryInfo: toString closing bracket"
Treehugger Robot [Wed, 20 Mar 2019 17:51:00 +0000 (17:51 +0000)]
Merge "pm: SharedLibraryInfo: toString closing bracket"

5 years agoMerge "improve mism support for phonestatelistner"
Chen Xu [Wed, 20 Mar 2019 17:32:37 +0000 (17:32 +0000)]
Merge "improve mism support for phonestatelistner"

5 years agoimprove mism support for phonestatelistner
chen xu [Sun, 17 Mar 2019 07:50:56 +0000 (00:50 -0700)]
improve mism support for phonestatelistner

1. throw exception if reuse the same listner for different sub
2. subId should come from TM instance not phonestateListener.
3. refactor settings to apply phonestatelistner with TM instances

Bug: 117555407
Test: Manual
Change-Id: I1af07798d7982575cccc27462af179182c033409
(cherry picked from commit 0ebc9b67e96d0c4a625837ce7a32dbea4afa44ab)
Merged-in: I1af07798d7982575cccc27462af179182c033409

5 years agoMerge changes from topic "framework-no-networkstack-aidl"
Lorenzo Colitti [Wed, 20 Mar 2019 10:18:47 +0000 (03:18 -0700)]
Merge changes from topic "framework-no-networkstack-aidl"
am: 74867d1661

Change-Id: I13ba3cb016a63353cfa62a61106d16e30eff0076

5 years agoMove TcpKeepalivePacketData out of the framework.
Lorenzo Colitti [Wed, 20 Mar 2019 10:11:11 +0000 (03:11 -0700)]
Move TcpKeepalivePacketData out of the framework.
am: a3f811a547

Change-Id: I7657e6827299ad398bc16bc792150fd901226b4d

5 years agoStop using netd parcelables in the framework.
Lorenzo Colitti [Wed, 20 Mar 2019 10:03:27 +0000 (03:03 -0700)]
Stop using netd parcelables in the framework.
am: b90ad24f99

Change-Id: Ic4ac445c582ff8b55d253d99de6750d250e9d9e5

5 years agoMerge changes from topic "framework-no-networkstack-aidl"
Lorenzo Colitti [Wed, 20 Mar 2019 09:45:37 +0000 (09:45 +0000)]
Merge changes from topic "framework-no-networkstack-aidl"

* changes:
  Remove the framework dependency on netd_aidl_parcelables-java.
  Move TcpKeepalivePacketData out of the framework.
  Stop using netd parcelables in the framework.

5 years agoMerge "Fix the problem of CaptivePortalLogin app cannot show SSL error page"
Lucas Lin [Wed, 20 Mar 2019 07:07:59 +0000 (00:07 -0700)]
Merge "Fix the problem of CaptivePortalLogin app cannot show SSL error page"
am: 1a80ff943d

Change-Id: Ief7b9c8f172fa3ad5a1143d998d455797c1bf937

5 years agoMerge "Fix the problem of CaptivePortalLogin app cannot show SSL error page"
Lucas Lin [Wed, 20 Mar 2019 06:53:26 +0000 (06:53 +0000)]
Merge "Fix the problem of CaptivePortalLogin app cannot show SSL error page"

5 years agoMerge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"
Jack Yu [Wed, 20 Mar 2019 06:42:34 +0000 (23:42 -0700)]
Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"
am: 936c536bba

Change-Id: I8142e09fbee353c95a4b429e8d1bc7365aa5863e

5 years agoMerge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"
Jack Yu [Wed, 20 Mar 2019 06:30:53 +0000 (06:30 +0000)]
Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"

5 years agoMerge "Add documentation for CaptivePortal APP_RETURN_*"
Remi NGUYEN VAN [Wed, 20 Mar 2019 05:53:43 +0000 (22:53 -0700)]
Merge "Add documentation for CaptivePortal APP_RETURN_*"
am: 31e3f2e734

Change-Id: Idc55c5c729e2a66ad845dbc8ddaf97580c7ae8cc

5 years agoMerge "Add documentation for CaptivePortal APP_RETURN_*"
Remi NGUYEN VAN [Wed, 20 Mar 2019 05:40:41 +0000 (05:40 +0000)]
Merge "Add documentation for CaptivePortal APP_RETURN_*"

5 years agoMerge "Convert tests/**/Android.mk files to Android.bp, part II"
Sasha Smundak [Wed, 20 Mar 2019 04:25:31 +0000 (21:25 -0700)]
Merge "Convert tests/**/Android.mk files to Android.bp, part II"
am: e1f19a6ef9

Change-Id: I036b1a4ccb3e09132a9eb51aa579db58d2e7809d

5 years agoMerge "Convert tests/**/Android.mk files to Android.bp, part II"
Treehugger Robot [Wed, 20 Mar 2019 01:18:56 +0000 (01:18 +0000)]
Merge "Convert tests/**/Android.mk files to Android.bp, part II"

5 years agoMerge "Add Parcelable implementation for ApfCapabilities"
Remi NGUYEN VAN [Wed, 20 Mar 2019 00:51:34 +0000 (17:51 -0700)]
Merge "Add Parcelable implementation for ApfCapabilities"
am: cea27f4327

Change-Id: I218b583755259a8c0824777c3247a090bdbd348b

5 years agoMerge "Add Parcelable implementation for ApfCapabilities"
Remi NGUYEN VAN [Wed, 20 Mar 2019 00:34:53 +0000 (00:34 +0000)]
Merge "Add Parcelable implementation for ApfCapabilities"

5 years agoMove TcpKeepalivePacketData out of the framework.
Lorenzo Colitti [Mon, 18 Mar 2019 15:24:19 +0000 (00:24 +0900)]
Move TcpKeepalivePacketData out of the framework.

This class is not used in framework.jar, only in services.jar.
Move it out of the framework so framework.jar can stop depending
on the NetworkStack stable AIDL interfaces.

This should really under com.android.server as well, but that's
a cross-project change to be done in another CL.

Test: m
Bug: 128804404
Change-Id: Ib2805f7fcc516a5f6989c252365d1c95b8042703
Merged-In: Ib2805f7fcc516a5f6989c252365d1c95b8042703

5 years agoRemove the framework dependency on netd_aidl_parcelables-java.
Lorenzo Colitti [Tue, 19 Mar 2019 01:56:37 +0000 (10:56 +0900)]
Remove the framework dependency on netd_aidl_parcelables-java.

In its own change because it conflicts in internal master.

Test: m
Bug: 128804404
Change-Id: I74531ef11d504b232d4f377532d5e0812dbc88db
Merged-In: I74531ef11d504b232d4f377532d5e0812dbc88db

5 years agoStop using netd parcelables in the framework.
Lorenzo Colitti [Mon, 18 Mar 2019 14:50:34 +0000 (23:50 +0900)]
Stop using netd parcelables in the framework.

The only actual users of these classes are in services.jar, not
in frameworks.jar. The only reason the framework depends on them
is that the code that converts to and from stable parcelables is
currently in the framework. Move that code to services and cut
the dependency.

These classes aren't used in the networkstack app so they don't
need to be in shared. They also can't be in shared because the
classes are not in the SDK. So put the conversion functions
directly inside their only user (NetworkManagementService).

Also remove the jarjar rules that rename the classes for use by
the NetworkStack app.

This does not actually remove the dependency from the build file,
that will be done in a future CL.

Bug: 128804404
Test: builds, boots
Test: atest FrameworksNetTests android.net.cts.ConnectivityManagerTest HostsideVpnTests
Change-Id: I027d50ba56091f5558f45e6e08f32e5912b2a82a
Merged-In: I027d50ba56091f5558f45e6e08f32e5912b2a82a

5 years agoMerge "Add class comment to avoid extending ServiceState class."
Cody Kesting [Tue, 19 Mar 2019 23:52:15 +0000 (16:52 -0700)]
Merge "Add class comment to avoid extending ServiceState class."
am: f0a67227c4

Change-Id: Ie643f2f1292df7491c9d800127e0c81bc70fc605

5 years agoMerge "Add class comment to avoid extending ServiceState class."
Cody Kesting [Tue, 19 Mar 2019 23:33:40 +0000 (23:33 +0000)]
Merge "Add class comment to avoid extending ServiceState class."

5 years agoMerge "Zygote: Load system server code early"
Andreas Gampe [Tue, 19 Mar 2019 21:49:48 +0000 (14:49 -0700)]
Merge "Zygote: Load system server code early"
am: f039816600

Change-Id: I0a2895b64d3a505c3de8e6dfe24a861cc1e38fec

5 years agoMake ImsException final
Brad Ebinger [Tue, 19 Mar 2019 21:48:37 +0000 (14:48 -0700)]
Make ImsException final

Bug: 128902253
Test: atest FrameworksTelephonyTests
Change-Id: I88058f8382978163718de8194249fad87ae52d10

5 years agoMerge "Add uid information in PackageListObserver"
Chenbo Feng [Tue, 19 Mar 2019 21:42:14 +0000 (14:42 -0700)]
Merge "Add uid information in PackageListObserver"
am: 62e041a6dd

Change-Id: I4fef26fed802902d6a69563c19704a94916ff834

5 years agoMerge "Zygote: Load system server code early"
Andreas Gampe [Tue, 19 Mar 2019 21:37:38 +0000 (21:37 +0000)]
Merge "Zygote: Load system server code early"

5 years agoMerge "Add uid information in PackageListObserver"
Treehugger Robot [Tue, 19 Mar 2019 21:19:16 +0000 (21:19 +0000)]
Merge "Add uid information in PackageListObserver"

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 agoZygote: Load system server code early
Andreas Gampe [Fri, 15 Mar 2019 18:56:48 +0000 (11:56 -0700)]
Zygote: Load system server code early

In an effort to allow loading integrity-checked artifacts from
the dalvik-cache, attempt to create and cache the system server's
classloader early, while still being in the system_server_startup
selinux domain.

The advantage of this approach is that allowances for loading
from the cache are restricted to startup.

Bug: 128688902
Test: m
Test: Device boots, picks up /system artifacts
Test: Device boots, picks up integrity-checked /data artifacts
Merged-In: If4a75fa106db09f1bd666d6d8df7ac3ac3e35a8c
Change-Id: If4a75fa106db09f1bd666d6d8df7ac3ac3e35a8c

5 years agoSupport starting gsid lazily
Howard Chen [Tue, 5 Mar 2019 06:23:47 +0000 (14:23 +0800)]
Support starting gsid lazily

The aosp/914714 made the gsid to start when needed.
The DynamicAndroidService must support this behavior as well.

Bug:126622385
Test: adb shell am start-activity \
-n com.android.dynandroid/com.android.dynandroid.VerificationActivity  \
-a android.content.action.START_INSTALL    \
--es KEY_SYSTEM_URL file:///storage/emulated/0/Download/system.raw.gz  \
--el KEY_SYSTEM_SIZE $(du -b system.raw)  \
--el KEY_USERDATA_SIZE 8589934592

Change-Id: Ifb9d642d183ed3e7181ed643f9415850178ef58d

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 agoAdd class comment to avoid extending ServiceState class.
Cody Kesting [Fri, 15 Mar 2019 23:22:08 +0000 (16:22 -0700)]
Add class comment to avoid extending ServiceState class.

ServiceState implements Parcelable and all 'Parcelables' are required to
be final, per the Android API Guidelines (go/android-api-guidelines).
This won't be changed for historical reasons, but clients should avoid
extending this class.

Bug: 128865231
Test: non-functional change that won't impact tests.
atest CtsTelephonyTestCases:ServiceStateTest
Change-Id: Ib369f1449a3e085f404fff1c706fda0b76d42890

5 years agoRenamed NetworkRegistrationState to NetworkRegistrationInfo
Jack Yu [Fri, 15 Mar 2019 21:49:53 +0000 (14:49 -0700)]
Renamed NetworkRegistrationState to NetworkRegistrationInfo

API review changes. The class covers more information other than
registration state.

Test: Build
Bug: 127657991
Merged-In: I8af36b388182ab08257b64c37078f156d4821709
Change-Id: I8af36b388182ab08257b64c37078f156d4821709
(cherry picked from commit e27d3fde88d37332cc9970c79b25060c003e9f17)

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 agoFix the problem of CaptivePortalLogin app cannot show SSL error page
lucaslin [Tue, 19 Mar 2019 11:15:54 +0000 (19:15 +0800)]
Fix the problem of CaptivePortalLogin app cannot show SSL error page

This commit is trying to fix the limitation of older design:
1.There is no guarantee that onReceivedSslError() will be called
after onPageStarted(). So, onReceivedSslError() may compare the
host of SSL error url with mHostName which is unset.
2.Some WIFI APs may redirect to the probing url(mUrl) along with
special parameter first then redirect to the real log-in page,
it will make onPageStarted get unexpected hostname.
Above 2 situations will make captive portal app cannot show SSL
error page and result in captive portal app is blank.

The new design is trying to get the main frame url and compare
it with SSL error url. If the SSL error url is equal to main
frame url, then show the SSL error page.

Bug: 123208856
Bug: 122991421
Test: build pass
Change-Id: I27be7258436ccb833ff75ebcfed3af811467fa47

5 years agoAdd documentation for CaptivePortal APP_RETURN_*
Remi NGUYEN VAN [Tue, 12 Mar 2019 00:21:55 +0000 (09:21 +0900)]
Add documentation for CaptivePortal APP_RETURN_*

This fixes API review requests.

Test: atest FrameworksNetTests NetworkStackTests
Bug: 126883311
Change-Id: I0632a98675e65c5e722e81a2c1e0cf1403b54395

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 agoDist aapt2 protos
Colin Cross [Tue, 19 Mar 2019 05:18:27 +0000 (22:18 -0700)]
Dist aapt2 protos

Create aapt2-protos.zip containing the aapt2 proto interface and
dist it for SDK builds.

Bug: 128878015
Test: m PRODUCT-sdk_phone_armv7-win_sdk sdk_repo dist
Change-Id: I13c774c8a2262464dcc4731c999497f6d0dc9095

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 agoAdd uid information in PackageListObserver
Chenbo Feng [Thu, 21 Feb 2019 22:24:24 +0000 (14:24 -0800)]
Add uid information in PackageListObserver

The uid information of a removed package cannot be retrieved by the
packageName anymore once it is removed. So it would be useful to provide
the uid of removed package in the onPackageAdded and onPackageRemoved
method of the PackageListObserver. This modification helps simplify the
design in PermissionMonitor.

Bug: 125396053
Test: dumpsys netd trafficcontroller

Exempt-From-Owner-Approval: Already merged in internal master
Merged-In: I2bd4bdf924687960a4fa3a47235bae68d885e445
Change-Id: I2bd4bdf924687960a4fa3a47235bae68d885e445

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 agopm: SharedLibraryInfo: toString closing bracket
Steven Moreland [Tue, 19 Mar 2019 01:30:22 +0000 (18:30 -0700)]
pm: SharedLibraryInfo: toString closing bracket

before:
SharedLibrary[...

now:
SharedLibrary{...}

Switched from square to curly braces because curly braces appear to be
the standard in this directory.

Bug: N/A
Test: manual
Change-Id: I02c63dd594fde68e645348cb1227f8594e2a7d3e

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"