Commit Graph

121009 Commits

Author SHA1 Message Date
Chiachang Wang
6703edcfed [IT03] Add replacement methods for network activity
Reference for NMS in ConnectivityManager should be removed for
incoming CS mainline. The API for listening network activity
should not go into NMS. As an alternative, the registry requests
should be sent to CS and handled by CS. Add necessary alternative
in IConnectivityManger first. The detail implementation will be
added in the follow up commits.

Bug: 170598012
Test: m
Change-Id: If4d24b937feb88a61f22073af2f671cf20298364
2020-12-21 03:48:54 +00:00
Hui Wang
7c9eef5613 Merge "RCS Provisioning APIs for Single Registration" 2020-12-17 22:53:31 +00:00
Todd Kennedy
a2991e1001 Add OWNERS for incremental
Change-Id: Id0acdfff82c625fe05c6966956d1478ce8355a71
2020-12-17 17:20:10 +00:00
Hui Wang
e92ddfef4f RCS Provisioning APIs for Single Registration
Bug: 154864150
Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Merged-In: Ie9445dd450d175e0dc94b63b487dda5cde729123
Change-Id: Ie9445dd450d175e0dc94b63b487dda5cde729123
2020-12-17 17:13:24 +00:00
Alastair Donaldson
bdb4677dc4 Merge "Add GLES dEQP level feature flag" 2020-12-17 16:06:40 +00:00
Jeff Sharkey
ba2a123820 Merge "Add OWNERS file for attestation" 2020-12-17 15:22:22 +00:00
Hui Wang
7f6a8a9648 Merge "Added cross sim calling settings support" 2020-12-17 15:14:42 +00:00
lpeter
4fec923086 Add OWNERS file for attestation
Bug: 175767555
Test: build
Change-Id: I080973cae7a2b6c45e6bf03aef039cef34cdfb98
2020-12-17 14:47:32 +00:00
Alastair Donaldson
ee0bd40932 Add GLES dEQP level feature flag
This change adds a feature flag that specifies the date associated
with the OpenGL ES dEQP tests that a device claims to pass.

Bug: 159842117
Merged-In: I830fbfcff617c891a42ca46396adf0283a52b874
Change-Id: I29dddc28c18933f4fa338a2aaa87d4c748deafa3
2020-12-17 13:00:06 +00:00
Treehugger Robot
81546d66ad Merge "Replace Locale#adjustLanguageCode with its own implementation" 2020-12-17 10:32:38 +00:00
Treehugger Robot
f35963cb77 Merge "Make a copy of libcore.util.ArraysUtils in framework" 2020-12-17 10:10:52 +00:00
Sarah Chin
fee0474f55 Merge "Move phone ID to extra for action provision" 2020-12-17 06:06:41 +00:00
Paul Hu
a7f149d86d Merge "Update some in-procss APIs to system APIs" 2020-12-17 01:40:52 +00:00
Hui Wang
ce026fd5b9 Added cross sim calling settings support
Added a telephony provider entry for storing the
user's settings.

Fix: 173250681
Test: Manual
Merged-In: I081c7e5fcc98f51a97c41a0a9a2b9b628c8d0415
Change-Id: I081c7e5fcc98f51a97c41a0a9a2b9b628c8d0415
2020-12-17 00:57:18 +00:00
Victor Chang
33d2988812 Replace Locale#adjustLanguageCode with its own implementation
No known behavior change.

Bug: 154796679
Test: treehugger
Merged-In: I474ad621b84da9f7cc7961def6d6751925577d41
Change-Id: I474ad621b84da9f7cc7961def6d6751925577d41
2020-12-17 00:15:29 +00:00
Victor Chang
37c6b6deeb Make a copy of libcore.util.ArraysUtils in framework
It helps remove it from the @CorePlatformApi

Bug: 154796679
Test: ArrayUtilsTest
Merged-In: I0c8f194a74a16b2cc46f9eea4571d5fb674fbc28
Change-Id: I0c8f194a74a16b2cc46f9eea4571d5fb674fbc28
2020-12-17 00:07:23 +00:00
Tianjie
41afcdc45b Update the system API to support multi client RoR
Detailed design in http://go/multi-client-ror. We will reuse most of
the old APIs, and there are a few notable changes
1. Infer the package name from the existing context
2. Remove the unused update token
3. Add the REBOOT permission, so phonesky can hold it.
4. Add a new API for rebootAndApply, which takes a slotSwitch parameter

Bug: 170664917
Test: build

Change-Id: Icb012138bd1789ce03564aa255e5bd4e84374130
2020-12-16 23:40:28 +00:00
Tianjie Xu
fa7173b8ac Merge "Add multi client ror support" 2020-12-16 23:39:31 +00:00
Jeff Sharkey
9ac773a60b Additional OWNERS coverage for storage.
Bug: 174932174
Test: none
Change-Id: I265ebd077d27d0d52d97a2c3c4a7147368be2498
2020-12-16 14:47:45 -07:00
Janis Danisevskis
9bb6231bd2 Merge "Add owners for Protected Confirmation implementation." 2020-12-16 21:01:21 +00:00
Treehugger Robot
9b924caa12 Merge "Implements UWB RangingManager and RangingSession" 2020-12-16 18:52:42 +00:00
Janis Danisevskis
fb68656a99 Add owners for Protected Confirmation implementation.
Test: N/A
Change-Id: Ib10884acd284a243d2898fc5a1eeedca5e8c4551
2020-12-16 09:57:11 -08:00
paulhu
32164bb807 Update some in-procss APIs to system APIs
In-process API only applies to code in frameworks/base/services
so that CS mainline can't use these APIs. Thus, update these
in-process APIs to system APIs to support CS mainline usage.

Bug: 170593746
Test: atest FrameworksNetTests
Change-Id: I4c7c1e71dcb6448aed0107768b4ba8eecd3e11f7
2020-12-16 19:21:14 +08:00
Adrian Roos
7a4c6ec802 IME: Add IME owners to View(RootImpl)
Change-Id: Iedffc821be5eea3159a5c13014d0d30803a46c7d
2020-12-16 09:21:40 +00:00
Tianjie
acea5f3b54 Add multi client ror support
Detailed design in http://go/multi-client-ror. This cl adds internal
states in RecoverySystemService to keep track of multiple RoR
callers. The general principles works as:
1. Each client should call prepare before reboot
2. One client cannot clear the preparation of another client
3. If multiple clients have prepared the update, the subsequent
   reboot will be first come, first served.

Bug: 170664917
Test: atest FrameworksServicesTests:RecoverySystemServiceTest

Change-Id: Ic8c7438f8a0300870ceed8857c46425fc0d006b9
2020-12-15 21:12:12 -08:00
Brian Stack
b279293d3b Implements UWB RangingManager and RangingSession
Bug: 170323306
Test: atest UwbManagerTests
Test: New RangingManagerTest and RangingSessionTest pass

Change-Id: I544cca2dc80c68c18994584247bb5e831bb734a2
2020-12-15 16:05:14 -08:00
Brian Stack
0070e26a5e Merge "Ensure UWB conforms to API guidelines" 2020-12-16 00:01:26 +00:00
Jakub Pawlowski
eec09803da Merge "Add LE Audio UUID placeholder" 2020-12-15 21:54:45 +00:00
Jeff Sharkey
6d76b53c26 Merge "Add OWNERS to UWB" 2020-12-15 21:20:54 +00:00
Sarah Chin
7f21ec08f7 Move phone ID to extra for action provision
Previously, the phone ID was appended to the broadcast in DCT and sent
to ConnectivityManager. Instead of sending both as an action, send the
phone ID as an extra instead to make the action a protected broadcast.

Test: manually verify a SecurityException when action provision is sent
Test: atest DcTrackerTest
Bug: 172459128
Change-Id: Ic4129def86949d7191d15056852718dadbd72fba
Merged-In: Ic4129def86949d7191d15056852718dadbd72fba
2020-12-15 10:55:22 -08:00
Brian Stack
bf2f411e26 Add OWNERS to UWB
Bug: 175698723
Test: Manual
Change-Id: Ia1982ed3864bbffcce5f4f9192a3cb681085e387
2020-12-15 10:26:49 -08:00
Peiyong Lin
3cb225dc74 [GraphicsEnvironment] Avoid null access.
Currently when debug layer apk is not installed, GraphicsEnvironment
logs the message and proceeds, which results in null pointer access
crash when later trying to access primaryAbi. Avoid null access by an
early return statement.

Bug: N/A
Test: specify not installed debug layer apk and no crash
Change-Id: I4f3b86b0a8cfff4fc608b3a59ebf0872db0465ff
Merged-In: I4f3b86b0a8cfff4fc608b3a59ebf0872db0465ff
(cherry picked from commit c5c17e66ba)
2020-12-15 10:22:53 -08:00
Nicolas Geoffray
3a76c4c9aa Merge "Make Class.getPackageName public." 2020-12-15 16:55:44 +00:00
Alison Cichowlas
eff7324d9c Merge "Add SystemUI to OWNERS for Sharesheet." 2020-12-15 15:08:10 +00:00
Jakub Pawlowski
224146d50d Add LE Audio UUID placeholder
Actual value will will be added in the future. We already have to
reference it in the source.

Bug: 150670922
Test: compilation
Tag: #feature
Sponsor: jpawlowski@
Change-Id: I3ba1e0e1136346e469952568f5a409cf32b898be
2020-12-15 09:09:31 +00:00
Remi NGUYEN VAN
eada640d5d Merge changes from topic "tcp_keepalive_fix"
* changes:
  Use API TcpKeepalivePacketData in ClientModeImpl
  Add TcpKeepalivePacketData to SystemApi
2020-12-15 09:02:55 +00:00
Chiachang Wang
9924f6ac8f Merge "Remove hidden deprecated getActiveNetworkQuotaInfo" 2020-12-15 07:02:54 +00:00
Chiachang Wang
8fd2f6d2aa Remove hidden deprecated getActiveNetworkQuotaInfo
getActiveNetworkQuotaInfo has never been in API surface since it
was introduced. It became essentially functionless since android O,
so there should be no usage dependency upon the hidden method,
In order to support ConnectivityService mainline, remove the
useless function to prevent necessary dependency.

Bug: 172183305
Test: atest FrameworksNetTests
Change-Id: Ia685b3260256d465ef614b2f577d13344074c787
2020-12-15 06:45:50 +00:00
Remi NGUYEN VAN
e9c000eee2 Merge "Run LowpanManager on BackgroundThread" 2020-12-15 03:10:36 +00:00
Tianjie
a809a05b92 Update the owner of recovery systems
Use the same owner file from the services.

Test: build
Change-Id: I976c90c2fd16efe20ca3b944c6e45c30550e3226
2020-12-14 16:24:12 -08:00
Tianjie
221cad235d Add OTA team as the owner of recovery systems
The RecoverySystem mostly handles OTA update and interactions with
the recovery mode. Add the ota team as the owner.

Test: build
Change-Id: I81bae46d919ea70f04729d34b62d4a569541d914
2020-12-14 15:23:42 -08:00
Tianjie Xu
6083210d17 Merge changes Icf10d577,Ia9d3cae7
* changes:
  Factor out a class to store the rebootEscrow key
  Add namespace in DeviceConfig to support ota teams's features
2020-12-14 22:58:46 +00:00
Alison Cichowlas
e432f6c014 Add SystemUI to OWNERS for Sharesheet.
Change-Id: I2ecbab59516ae0cb53d47fa819c26336f76d9483
2020-12-14 21:46:41 +00:00
Ryan Mitchell
314863c132 Merge changes from topic "inc-hard-am"
* changes:
  Revert^2 "Cache resolved theme values"
  Set resource id correctly when resolve fails
  Revert^2 "libandroidfw hardening for IncFs"
  idmap2: remove call to obsolete 'idmap2 verify' from valgrind.sh
  idmap2: remove the 'scan' command
2020-12-14 20:42:03 +00:00
Tianjie
e315bfa55b Add namespace in DeviceConfig to support ota teams's features
One sample usage is to toggle between server based or HAL based
implementation for resume on reboot.

Bug: 172780686
Test: adb shell device_config put ota server_based_ror_enabled true;
Check the value in system server code

Change-Id: Ia9d3cae788e9316850ce1fc417c12b5fc109b1a3
2020-12-14 11:21:17 -08:00
Gavin Corkery
d45d533b6e Merge "Replace broadcast with adding a method in BugreportCallback" 2020-12-14 18:55:55 +00:00
Treehugger Robot
85ebf98dcf Merge "Add a path for GNSS time suggestions" 2020-12-14 18:02:50 +00:00
Neil Fuller
3f5237157e Add a path for GNSS time suggestions
Add a path for GNSS time suggestions to get to the time detector.

Bug: 157265008
Test: atest services/tests/servicestests/src/com/android/server/timedetector/TimeDetectorStrategyImplTest.java
Test: atest android.app.timedetector
Change-Id: I5cb12b5545652ed885b72a3170940050ce0628a6
Merged-In: I5cb12b5545652ed885b72a3170940050ce0628a6
2020-12-14 16:59:39 +00:00
Wale Ogunwale
a2c85ce0ba Merge "Add more OWNERS coverages(2/n)" 2020-12-14 16:25:16 +00:00
Treehugger Robot
9b432d22a4 Merge "Add another property for the ODM SKU (ro.boot.product.*)" 2020-12-14 14:58:20 +00:00