summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-23Merge "UCE OPTIONS APIs updated"James Lin
2021-03-23Merge "Replace createSmsSubmitPdu with createFromNativeSmsSubmitPdu"Zongheng Wang
2021-03-23Merge "ScanFilter.setDeviceAddress: Should send deviceAddress instead of ↵Jack He
mDeviceAddress to the next level"
2021-03-23ScanFilter.setDeviceAddress: Should send deviceAddress instead of ↵Chen Chen
mDeviceAddress to the next level Bug: 183409081 Test: build and run Change-Id: I2d25d21b0f143fc7362679e0094455c9132fda9d
2021-03-23Merge changes from topic "vcn-status-changed"Cody Kesting
* changes: Rename VcnStatusCallback#onVcnStatusChanged. Reevaluate VcnGatewayConnections on receiving new configs.
2021-03-23Merge "Expose ServiceState#getDataNetworkType in telephony provider"Rambo Wang
2021-03-23Merge "Remove the reference of new Network(int) in Vpn.java"Junyu Lai
2021-03-23Merge "Require calling package to be allowlisted for thermal mitigation."Jack Nudelman
2021-03-23Merge "Fix cannot find removeUnwantedCapability on R device"Junyu Lai
2021-03-23Merge "Correct the logic in NetworkCapabilitiesTest"Chiachang Wang
2021-03-23Merge "Remove unnecessary dependency on libcore-platform-compat-config"Paul Duffin
2021-03-23Remove the reference of new Network(int) in Vpn.javajunyulai
Test: atest FrameworksNetTests Bug: 182963397 Merged-In: I4176dd1298ad8d8e8407eb95b2e6cbb8faf4bc17 Change-Id: I4176dd1298ad8d8e8407eb95b2e6cbb8faf4bc17 (cherry-picked from ag/13959430)
2021-03-23Merge "Add NetworkRequest.Builder creating from an existing instance"Chiachang Wang
2021-03-23Merge "Replace hidden API usages of NetworkCapabilities"Treehugger Robot
2021-03-23Fix cannot find removeUnwantedCapability on R devicejunyulai
Test: atest CtsNetTestCasesLatestSdk:android.net.NetworkCapabilitiesTest Fix: 183473863 Merged-In: Icf2cda325795acee22a6c634e8d978f64c5ac3cb Change-Id: Icf2cda325795acee22a6c634e8d978f64c5ac3cb (cherry-picked from ag/13966708)
2021-03-23Merge "Adds OWNERS for `servicestests/utils-mockito`"Rhed Jao
2021-03-23Correct the logic in NetworkCapabilitiesTestChiachang Wang
setOwnerUid() and setAdministratorUids() should run in R+. Previous logic will skip them in S+. Correct the logic to what it should be. Bug: 172183305 Test: atest android.net.NetworkCapabilitiesTest Change-Id: Ic983aa00f930fb26350469ef093bcba2990433a4
2021-03-23Merge "Emulator cleanup in ClipboardService.java (closePipe)"Treehugger Robot
2021-03-23Add NetworkRequest.Builder creating from an existing instanceChiachang Wang
Provide a formal way to construct a new NetworkRequest from an existing instance. The network capabilities inside the NetworkRequest is hidden. There is no way to pass a NetworkRequest and update its capabilities. Add NetworkRequest.Builder creating from an existing instance to allow to clone the network capabilities. Bug: 172183305 Test: make update-api Change-Id: I068462b2a1410daf67b0c95f2b643d396f079531 Merged-In: I068462b2a1410daf67b0c95f2b643d396f079531
2021-03-23Merge changes Ieeb0ebef,I1f33a8c6,I07168a7bTianjie Xu
* changes: Add a specific error code for keystore failure Add a specific error code for provider mismatches Report the true value of more RoR metrics
2021-03-23Merge "[VCN15] expose addUnwantedCapability and related APIs"Junyu Lai
2021-03-23Merge "Have a new method in NetworkAgentConfig.Builder to set allowBypass"Lorenzo Colitti
2021-03-22Replace createSmsSubmitPdu with createFromNativeSmsSubmitPduZongheng Wang
Test: atest bluetooth_test_common Test: atest CtsTelephonyTestCases Bug: 183051612 Change-Id: If15d31eb699e2c5d3e371628dba8adbaa9bbebfa
2021-03-23Merge "Add OWNERS file for content tests."Jeff Sharkey
2021-03-23Add OWNERS file for content tests.Varun Shah
Bug: n/a Test: n/a Change-Id: Ic346a36bb15498cf0a60b91c378b1f5cad198f64
2021-03-23Merge "Move disk reads to background"Rajeev Kumar
2021-03-23Merge changes I638ed5cd,I29f15571,I21a22ed1Lorenzo Colitti
* changes: Expose registerDefaultNetworkCallbackAsUid. Support calling registerDefaultNetworkCallback for another UID. Store the effective UID in NetworkRequestInfo.
2021-03-23Merge "Cache correct calling UID for VcnStatusCallbacks."Cody Kesting
2021-03-23Have a new method in NetworkAgentConfig.Builder to set allowBypasslucaslin
Have a new method in NetworkAgentConfig.Builder for Vpn to set allowBypass. Bug: 182963397 Test: m Change-Id: I3f244464438325ee7f8a1b953d3fb28186293628
2021-03-22Require calling package to be allowlisted for thermal mitigation.Jack Nudelman
Test: make, manual verification Bug: 180015298 Change-Id: I1884facf5d37e4caa82697dab7e2a30d735f214e
2021-03-22Add a specific error code for keystore failureTianjie
Because of the keystore 2.0 migration, we expect to see one time RoR failures in S build. Add an error code to distinguish the case. Bug: 183140900 Test: atest FrameworksServicesTests:RebootEscrowManagerTests Change-Id: Ieeb0ebef570cb7392f6ac47d2ad918da64869712
2021-03-22Add a specific error code for provider mismatchesTianjie
If the device used HAL based RoR to arm the escrow key, the recovery will fail if we switch to server based RoR after reboot. Set a specific error for metrics purpose. Bug: 183140900 Test: atest FrameworksServicesTests:RebootEscrowManagerTests Change-Id: I1f33a8c6cf111d868a2b96a155f5a0926a7c788a
2021-03-22Cache correct calling UID for VcnStatusCallbacks.Cody Kesting
This CL updates VcnManagementService to cache the correct UID for the caller when a VcnStatusCallback is registered. Previously, getBinderCallingUid() was checked after the calling identity was cleared. Bug: 183437200 Test: atest FrameworksVcnTests CtsVcnTestCases Change-Id: Idfa2d2aad6bc03b3d08a137f9913276057632a3b
2021-03-22Report the true value of more RoR metricsTianjie
Design ErrorCode for errors of loadRebootEscrowData. Also report the status of vbmeta digest, as we plan to associate k_k with vbmeta in the future. Bug: 179105110 Test: atest FrameworksServicesTests:RebootEscrowManagerTests Change-Id: I07168a7bc4fd20d41df9b87136e1e5158129d7f6
2021-03-22Merge "Report more metrics in RecoverySystem"Tianjie Xu
2021-03-22Merge "Use source for keystore/keymint interfaces."Treehugger Robot
2021-03-22Merge "Fix the case where blocked reasons for dataSaver are not considered."Treehugger Robot
2021-03-22Merge "Keystore: Fix Device ID attestation test."Treehugger Robot
2021-03-22Emulator cleanup in ClipboardService.java (closePipe)Roman Kiryanov
Bug: 182436079 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I08563b24c356e7519ffe6cf6020d301ab086fa70
2021-03-22Expose ServiceState#getDataNetworkType in telephony providerRambo Wang
Data network type is key information to make the switching decision. Exporting to telephony provider can let application get the information without location permission. Bug: 182601774 Test: atest com.android.phone.ServiceStateProviderTest Change-Id: I9753eee2619baf6b1627835624444c0e4f0cd410
2021-03-23UCE OPTIONS APIs updatedJames.cf Lin
1. Expose OPTIONS APIs in the RcsContactUceCapability. 2. Update the feature tags type from List to Set. Bug: 181175307 Test: atest RcsUceAdapterTest ImsServiceTest RcsContactUceCapabilityTest Merged-In: Id4499d7f9f6eb2b572902d76129f9ad388354d9f Change-Id: Id4499d7f9f6eb2b572902d76129f9ad388354d9f
2021-03-22Merge "KEY_CARRIER_NR_AVAILABILITIES_INT_ARRAY change type as IntArray"SongFerng Wang
2021-03-22Rename VcnStatusCallback#onVcnStatusChanged.Cody Kesting
Per API Council feedback, VcnStatusCallback#onVcnStatusChanged is renamed to VcnStatusCallback#onStatusChanged. Bug: 182345902 Test: atest FrameworksVcnTests CtsVcnTestCases Change-Id: Ie0277c5f053e1802aa98240618a9d9e8aa6d9d09
2021-03-22Reevaluate VcnGatewayConnections on receiving new configs.Cody Kesting
This CL updates Vcn.java to reevaluate its VcnGatewayConnections when it receives a new VcnConfig. This may result in VcnGatewayConnections being torn down (if their VcnGatewayConnectionConfig is not in the updated VcnConfig) or established (if a NetworkRequest matches a new VcnGatewayConnectionConfig). Bug: 181815405 Test: atest FrameworksVcnTests CtsVcnTestCases Change-Id: I7da60f60e972bd968e1ff4fe416fb9a1d3309a18
2021-03-22Merge "Emulator cleanup in ClipboardService.java (openPipe)"Treehugger Robot
2021-03-22Use source for keystore/keymint interfaces.Janis Danisevskis
This patch makes frameworks use generated sources instead of libraries for keystore, keymint and related interfaces and dependencies to break circular build system dependencies occuring when using @SensitiveData annotations. Bug: 174857732 Bug: 176110256 Test: N/A Merged-In: Ia7fc2403cfe6dece86ed0ab9d6f415be2a2726b8 Change-Id: Ia7fc2403cfe6dece86ed0ab9d6f415be2a2726b8
2021-03-22Fix the case where blocked reasons for dataSaver are not considered.Sudheer Shanka
Fixes: 183267528 Test: atest ./tests/cts/hostside/src/com/android/cts/net/HostsideNetworkCallbackTests.java Merged-In: I3c90c3849261df4c289c398f22661f91f7cf4994 Change-Id: Iba3ff804a74fb482847dd999c2854405b21affd2
2021-03-22Merge "Remove reference of getActiveLinkproperties"Treehugger Robot
2021-03-22Merge "Make isDataCapable a public API"Treehugger Robot
2021-03-22Merge "Add capability for thermal mitigation."Jack Nudelman