OSDN Git Service
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
Treehugger Robot [Wed, 20 Mar 2019 17:51:00 +0000 (17:51 +0000)]
Merge "pm: SharedLibraryInfo: toString closing bracket"
Chen Xu [Wed, 20 Mar 2019 17:32:37 +0000 (17:32 +0000)]
Merge "improve 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
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.
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"
Jack Yu [Wed, 20 Mar 2019 06:30:53 +0000 (06:30 +0000)]
Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"
Remi NGUYEN VAN [Wed, 20 Mar 2019 05:40:41 +0000 (05:40 +0000)]
Merge "Add documentation for CaptivePortal APP_RETURN_*"
Treehugger Robot [Wed, 20 Mar 2019 01:18:56 +0000 (01:18 +0000)]
Merge "Convert tests/**/Android.mk files to Android.bp, part II"
Remi NGUYEN VAN [Wed, 20 Mar 2019 00:34:53 +0000 (00:34 +0000)]
Merge "Add Parcelable implementation for ApfCapabilities"
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
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
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
Cody Kesting [Tue, 19 Mar 2019 23:33:40 +0000 (23:33 +0000)]
Merge "Add class comment to avoid extending ServiceState class."
Andreas Gampe [Tue, 19 Mar 2019 21:37:38 +0000 (21:37 +0000)]
Merge "Zygote: Load system server code early"
Treehugger Robot [Tue, 19 Mar 2019 21:19:16 +0000 (21:19 +0000)]
Merge "Add uid information in PackageListObserver"
Treehugger Robot [Tue, 19 Mar 2019 18:21:35 +0000 (18:21 +0000)]
Merge "Notify caller when unlockUser() bails out"
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
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."
Tyler Gunn [Tue, 19 Mar 2019 15:17:16 +0000 (15:17 +0000)]
Merge "Extend light-greylist of some TelephonyManager APIs until Q."
Treehugger Robot [Tue, 19 Mar 2019 14:31:34 +0000 (14:31 +0000)]
Merge "Revert "Rename some failed causes""
Treehugger Robot [Tue, 19 Mar 2019 14:02:59 +0000 (14:02 +0000)]
Merge "Mark product apks as unbundled"
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
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)
Xiao Ma [Tue, 19 Mar 2019 13:21:12 +0000 (13:21 +0000)]
Merge "Move the IpMemoryStore to the network stack."
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
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
Remi NGUYEN VAN [Tue, 19 Mar 2019 08:08:50 +0000 (08:08 +0000)]
Merge "Fix API for SocketUtils"
Luke Huang [Tue, 19 Mar 2019 05:35:39 +0000 (05:35 +0000)]
Merge "Replace Handler with Executor for async DNS API"
Luke Huang [Tue, 19 Mar 2019 05:35:18 +0000 (05:35 +0000)]
Merge "Refactor answer callback for async DNS query JAVA API"
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
Treehugger Robot [Tue, 19 Mar 2019 03:02:31 +0000 (03:02 +0000)]
Merge "Fixing engineGetCertificateChain exception"
Mark Chien [Tue, 19 Mar 2019 02:44:37 +0000 (02:44 +0000)]
Merge "Remove deprecated entitlement API"
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
Lorenzo Colitti [Tue, 19 Mar 2019 02:16:58 +0000 (02:16 +0000)]
Merge "Address API review comments for VPN changes."
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
Treehugger Robot [Tue, 19 Mar 2019 01:29:24 +0000 (01:29 +0000)]
Merge "MediaHTTPConnection: move connection states into an inner class"
Brad Ebinger [Mon, 18 Mar 2019 23:29:34 +0000 (23:29 +0000)]
Merge "Emergency API review"
Pengquan Meng [Mon, 18 Mar 2019 22:39:04 +0000 (22:39 +0000)]
Merge "Add 5G icon to System UI"
Jeongik Cha [Mon, 18 Mar 2019 22:29:10 +0000 (22:29 +0000)]
Merge "Set sdk_version 28 in aidl_interface"
Tyler Gunn [Mon, 18 Mar 2019 22:18:52 +0000 (22:18 +0000)]
Merge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated."
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
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
Treehugger Robot [Mon, 18 Mar 2019 19:57:50 +0000 (19:57 +0000)]
Merge "Cleanup annontations for Hearing Aids Profile API"
Treehugger Robot [Mon, 18 Mar 2019 18:54:29 +0000 (18:54 +0000)]
Merge "Remove unused HarfBuzz src in libandroid_runtime"
Jordan Liu [Mon, 18 Mar 2019 18:36:54 +0000 (18:36 +0000)]
Merge "Add slot based ICC channel APIs"
Brad Ebinger [Mon, 18 Mar 2019 17:35:27 +0000 (17:35 +0000)]
Merge "Integrate FEATURE_TELEPHONY_IMS feature into APIs"
Andrei-Valentin Onea [Mon, 18 Mar 2019 17:28:44 +0000 (17:28 +0000)]
Merge "Add @UnsupportedAppUsage annotations"
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
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
Andrei-Valentin Onea [Mon, 18 Mar 2019 14:40:25 +0000 (14:40 +0000)]
Merge "Add @UnsupportedAppUsage annotations"
Hyundo Moon [Mon, 18 Mar 2019 12:32:01 +0000 (12:32 +0000)]
Merge "Add hdmoon@/insun@ to OWNERS"
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
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
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
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
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:30:25 +0000 (01:30 +0000)]
Merge "Remove NetworkParcelable"
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:30:01 +0000 (01:30 +0000)]
Merge "Remove aidl wrappers for framework parcelables"
Evan Laird [Sat, 16 Mar 2019 15:43:04 +0000 (15:43 +0000)]
Merge "revent NFE in SystemUI when parsing invalid int (2)"
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
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
Treehugger Robot [Sat, 16 Mar 2019 02:42:29 +0000 (02:42 +0000)]
Merge "CallRedirectionService API review"
Treehugger Robot [Sat, 16 Mar 2019 02:36:30 +0000 (02:36 +0000)]
Merge "ParcelFileDescriptor: improve javadoc."
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
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
Tyler Gunn [Fri, 15 Mar 2019 23:36:21 +0000 (23:36 +0000)]
Merge "Cleanup unsupported appusage in Telecom apis."
Treehugger Robot [Fri, 15 Mar 2019 23:21:29 +0000 (23:21 +0000)]
Merge "Moved transport to IntDef"
Treehugger Robot [Fri, 15 Mar 2019 22:49:30 +0000 (22:49 +0000)]
Merge "Convert Android.mk file to Android.bp"
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
Pengquan Meng [Fri, 15 Mar 2019 22:38:46 +0000 (22:38 +0000)]
Merge "[API feedback] api fixed for getSlotMapping"
sqian [Thu, 14 Mar 2019 20:41:33 +0000 (13:41 -0700)]
CallRedirectionService API review
Bug:
126699669
Test: Treehugger
Change-Id: I56944f6d487660ed447d081b6dfd2cb625087869
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
Fan Zhang [Fri, 15 Mar 2019 19:12:37 +0000 (19:12 +0000)]
Merge "Update feature flag mapping owners"
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
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
Benedict Wong [Fri, 15 Mar 2019 17:41:02 +0000 (17:41 +0000)]
Merge "Integrate testNetworkService and Manager with Connectivity stack"
Cody Kesting [Fri, 15 Mar 2019 15:46:30 +0000 (15:46 +0000)]
Merge "Fix 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
Treehugger Robot [Fri, 15 Mar 2019 14:13:43 +0000 (14:13 +0000)]
Merge "Bugreport Manager service clear binder identity"
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
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
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
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
Junyu Lai [Fri, 15 Mar 2019 07:35:27 +0000 (07:35 +0000)]
Merge "[KA02.5] Use binder thread and executor to invoke callback"
Hyundo Moon [Wed, 13 Mar 2019 12:29:23 +0000 (21:29 +0900)]
Add hdmoon@/insun@ to OWNERS
Test: N/A
Change-Id: I53a29c098f3b201049baa39ea187cd2f9b5ef167
Remi NGUYEN VAN [Wed, 13 Mar 2019 18:33:46 +0000 (03:33 +0900)]
Add Parcelable implementation for ApfCapabilities
This is necessary to allow usage of ApfCapabilities as-is in AIDL,
instead of relying on ApfCapabilitiesParcelable, assuming that stable
AIDL starts allowing usage of @SystemApi classes. The Parcelable
implementation would be convenient for clients in any case.
Bug:
126477266
Test: atest FrameworksNetTests
Change-Id: Id2ef3cad261832a2918ccb6bb6bc154d99d75746
Treehugger Robot [Fri, 15 Mar 2019 03:42:09 +0000 (03:42 +0000)]
Merge "Remove SMSDispatcher.sendData() from greylist as it's params changed"
Jack Yu [Thu, 14 Mar 2019 22:42:09 +0000 (15:42 -0700)]
Moved transport to IntDef
Moved out from the sub class per API review feedback.
Test: Build
Bug:
128607082
Merged-In: I1b513bcaaa0ebf47c14593d962579ed48a7c6db0
Change-Id: I1b513bcaaa0ebf47c14593d962579ed48a7c6db0
Treehugger Robot [Fri, 15 Mar 2019 03:26:34 +0000 (03:26 +0000)]
Merge "Initialize the NetworkStack before WiFi"
Treehugger Robot [Fri, 15 Mar 2019 02:07:46 +0000 (02:07 +0000)]
Merge "API review: Telecom outgoing call Call redirection API"
Paul Hu [Fri, 15 Mar 2019 00:43:42 +0000 (00:43 +0000)]
Merge "Rename some failed causes"
Fan Zhang [Thu, 14 Mar 2019 23:25:38 +0000 (16:25 -0700)]
Update feature flag mapping owners
Test: rebuild
Change-Id: I288e039ffaf88ce271ba17bcc26f0e038314b354
Remi NGUYEN VAN [Thu, 14 Mar 2019 23:21:27 +0000 (08:21 +0900)]
Initialize the NetworkStack before WiFi
The NetworkStack needs to be marked as start requested before any client
can use it from the system server, so it knows to queue requests until
it actually comes up.
This fixes a bug introduced in commit:
I93315ad31925bd436e21d1eabb21d5967e6aae60
where a client trying to use the network stack in the system server
before ActivityManager.systemReady() could block and eventually timeout,
resulting in a null INetworkStackConnector.
Test: booted, WiFi working
Bug:
128620654
Change-Id: Ieca2657373eba78195b387fb266fa0424fce8ada
Deqiang Chen [Thu, 14 Mar 2019 22:23:18 +0000 (22:23 +0000)]
Merge "Avoid IllegalArgumentException when bluetooth is disabled"
Shuo Qian [Thu, 14 Mar 2019 22:05:46 +0000 (22:05 +0000)]
Merge "Explain the difference of isValid, isActive, isUsable"
Brad Ebinger [Tue, 12 Mar 2019 00:32:30 +0000 (17:32 -0700)]
Integrate FEATURE_TELEPHONY_IMS feature into APIs
Bug:
118823732
Test: manual
Merged-In: Iabb0e7cadae52d8ebe922f61a878298ad4dd04b0
Change-Id: Iabb0e7cadae52d8ebe922f61a878298ad4dd04b0
Sasha Smundak [Tue, 12 Feb 2019 00:58:07 +0000 (16:58 -0800)]
Convert tests/**/Android.mk files to Android.bp, part II
See build/soong/README.md for more information.
Bug:
122332340
Test: treehugger
Change-Id: I886b6536a0ef1c8d21f15ec7ff9fdb9784d5b865
Merged-In: I886b6536a0ef1c8d21f15ec7ff9fdb9784d5b865
Jordan Liu [Thu, 28 Feb 2019 20:05:53 +0000 (12:05 -0800)]
Add slot based ICC channel APIs
These are SystemApis which require MODIFY_PHONE_STATE, and can be used
to open ICC channels when there is no available subscription, using the
slot index instead of subId.
Bug:
126578014
Test: builds
Change-Id: I3f47a8ac07813ea9e326c7d76123352708bfeea2
Merged-In: I3f47a8ac07813ea9e326c7d76123352708bfeea2
Amit Mahajan [Wed, 13 Mar 2019 22:36:33 +0000 (15:36 -0700)]
Remove SMSDispatcher.sendData() from greylist as it's params changed
Test: none
Bug:
120403639
Merged-in: Ib70dd739d8067ca2e37f0dbc6c48a2d625935a4b
Change-Id: I0218764fc02d3f6b9f12b3480aba9742a52b8413
Abhijeet Kaur [Thu, 28 Feb 2019 11:50:27 +0000 (11:50 +0000)]
Bugreport Manager service clear binder identity
Binder identity of the caller needs to be cleared before making a call
to ensureIsPrimaryUser() and is later restored for the rest of the code
to execute.
Test: Builds
Change-Id: Ida781b633efbea57a9442fb9a8a5f823f9acbe8b
Merged-In: Ida781b633efbea57a9442fb9a8a5f823f9acbe8b
(cherry picked from commit
99766179567464860585feeb669eb01619598a50)