Commit Graph

566221 Commits

Author SHA1 Message Date
Paul Duffin
b1becf7cfb Merge "Improve hiddenapi exclude.sh script" 2021-04-07 15:26:35 +00:00
Howard Chen
8aa6183e57 Merge "Replace copy-on-write PDB with an empty one" 2021-04-07 15:21:00 +00:00
Treehugger Robot
a3e4f9538b Merge "CEC: Remove the TODO in HdmiCecLocalDeviceSource class" 2021-04-07 14:30:44 +00:00
Treehugger Robot
cc62385767 Merge "CEC: Remove the TODO in HdmiPlaybackClient class" 2021-04-07 14:08:42 +00:00
Aravind Angadi
4e891c6e62 CEC: Remove the TODO in HdmiPlaybackClient class
HdmiControlService.oneTouchPlay method is already switching the
long running one touch play process to the service thread from
the UI thread and is also able to handle multiple OTP requests
in parallel. Remove TODO to use PendingResult.

Bug: 159901363
Test: None
Change-Id: Ife8c8268edb8a40255a52dd1eda2ab60020803c8
2021-04-07 12:30:06 +00:00
Aravind Angadi
f5932b49eb CEC: Remove the TODO in HdmiCecLocalDeviceSource class
Remove the TODO which states to handle routing change when multi device
type is supported. Since this method is called with their respective
local device object and it is not necessary to handle in its parent class.

Bug: 159901363
Test: None
Change-Id: I600a679efd3156981246ad033f4786c03d8a820a
2021-04-07 12:29:26 +00:00
Paul Duffin
36cd81b3d2 Merge "Add OWNERS file to tools/hiddenapi" 2021-04-07 12:12:56 +00:00
George Chang
cfc798e793 Merge "Add callbacks to indicate NFC setControllerAlwaysOn state changed" 2021-04-07 11:16:10 +00:00
Treehugger Robot
5d7d6554c2 Merge "Expose constants of ConnectivityManager" 2021-04-07 10:11:06 +00:00
Paul Duffin
ad7bf81d40 Improve hiddenapi exclude.sh script
Changes:
* Adds a missing package for libcore.
* Splits the android.icu package out into a new I18N team.
* Corrects and splits the conscrypt package out into a new CONSCRYPT
  team.
* Fixes some issues that arose due to multiple teams.
* Reports multiple issues instead of stopping at the first one.
* Only reports issues with additions/changes not removals.

Bug: 177892522
Test: tools/hiddenapi/exclude.sh <SHA>
      Ran it on a number of different commits with different
      changes.
Change-Id: I44740a28a56a26ee7fba3ed691d9da34f4effa8a
2021-04-07 10:49:32 +01:00
Paul Duffin
7ca2087a38 Add OWNERS file to tools/hiddenapi
Bug: 179354495
Test: m nothing
Change-Id: I54159f3c32fc8a0a094243178315ca0d249b64cf
2021-04-07 10:49:02 +01:00
lucaslin
68a69cc6b7 Expose constants of ConnectivityManager
The callers cannot call the hidden APIs after ConnectivityManager
became a part of mainline module, so expose them for callers.
Also change the value of ACTION_PROMPT_PARTIAL_CONNECTIVITY,
ACTION_PROMPT_LOST_VALIDATION and ACTION_PROMPT_UNVALIDATED because
of API lint errors.

Bug: 172183305
Test: Check private DNS settings is normal, and test NO_INTERNET
      notification can be shown normally.
Change-Id: I715c766ad8e5eb54f4dc67239c1dbca7239506fc
Merged-In: I715c766ad8e5eb54f4dc67239c1dbca7239506fc
2021-04-07 09:13:46 +00:00
Jeff Chang
a40fbcd94c Merge "Add more OWNERS coverage" 2021-04-07 05:57:30 +00:00
Treehugger Robot
79bb9aa9a4 Merge "Split networkDestroy() and destroyNetworkCache()" 2021-04-07 05:05:46 +00:00
Chiachang Wang
00ccf9e4d7 Merge "Assign the bit calculation as long to prevent overflow" 2021-04-07 04:24:46 +00:00
Charles Chen
b4e3b04eb5 Merge "Add owners for window related core tests" 2021-04-07 03:12:56 +00:00
Allen Su
bb05a11104 Merge "Change SipMessage API name" 2021-04-07 02:41:42 +00:00
Chiachang Wang
0209bf73ac Assign the bit calculation as long to prevent overflow
The value should be assigned as a long to do the bit calculation
as the mNetworkCapabilities is intended to be a long. Otherwise,
the value will be temporary assigned into an integer then
assigned to the target long. When the bit shift calculation
is out of the integer scope, the calculation will overflow and
result in unexpected bebavior.

Without assigning to a long, ConnectivityServiceTest will get
Out-Of-Memory in StringBuilder while generating toString() in
NetworkCapabilities after updating tests to verify
NET_CAPABILITY_VSIM and NET_CAPABILITY_BIP.

Bug: 130869457
Test: atest FrameworksNetTests
Change-Id: I4d34c1215c7efb6dc352c314107792e3fa512ad7
2021-04-07 02:06:33 +00:00
Hui Wang
e92c4e2d6f Merge "isRcsVolteSingleRegistrationCapable need check provisioning status." 2021-04-07 01:28:15 +00:00
Treehugger Robot
e3aff37ecf Merge "ConnectivityManager: Address review comments from aosp/1595396" 2021-04-07 00:36:27 +00:00
Peter Collingbourne
0c61262792 Merge "Reset PAC keys on thread creation instead of on zygote fork." 2021-04-06 23:02:29 +00:00
Jayant Chowdhary
b2f70b04d4 Merge "getCameraIdListNoLazy : remove system cameras from mTorchStatus as well." 2021-04-06 21:24:12 +00:00
Christian Wailes
c71c3ac9ab Merge "Register ART Service with the System Server" 2021-04-06 20:30:18 +00:00
Jayant Chowdhary
db762c7e13 getCameraIdListNoLazy : remove system cameras from mTorchStatus as well.
Bug: 182530469

Test: Make Emulator back camera system camera; atest FlashlightTest.java

Merged-In: I0a149ba3d93a740cfbfdc2d04c1235e648061156
Change-Id: I0a149ba3d93a740cfbfdc2d04c1235e648061156
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
(cherry picked from commit bedb9950c8)
2021-04-06 20:13:25 +00:00
Treehugger Robot
00e669c96e Merge "Add BIND_IMS_SERVICE permission to the shell" 2021-04-06 20:06:59 +00:00
Treehugger Robot
4fbc7c8640 Merge "[RCS] Remove unused OPTIONS APIs because of the API changes." 2021-04-06 19:19:05 +00:00
Hui Wang
831c860514 isRcsVolteSingleRegistrationCapable need check provisioning status.
Bug: 181986114
Test: atest TeleServiceTests:RcsProvisioningMonitorTest
Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest
Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Change-Id: I8006910b57a02bb71691f1a8ce03aba6f89fd5c3
2021-04-06 19:09:40 +00:00
Treehugger Robot
a997cf4420 Merge "Prevent Caching the Invalid Resource" 2021-04-06 17:32:13 +00:00
Roshan Pius
fea4de4d6d ConnectivityManager: Address review comments from aosp/1595396
Bug: 156867433
Test: atest android.net
Test: atest com.android.server
Change-Id: I7f5d043732ae22edd14bf581b7dc676c9236b545
2021-04-06 16:42:51 +00:00
Paul Duffin
2d9637c6fe Merge "Update OWNERS files for frameworks/base/boot" 2021-04-06 16:35:35 +00:00
Roshan Pius
8662d38f83 Merge "NetworkCapabilities: Hide copy constructor" 2021-04-06 15:57:47 +00:00
Treehugger Robot
4ff50eb031 Merge "Add SilkFX OWNERS" 2021-04-06 15:08:32 +00:00
Paul Duffin
9f82ba21f1 Merge "Remove framework-atb-backward-compatibility" 2021-04-06 14:09:30 +00:00
Treehugger Robot
0901b326ad Merge "Add more OWNERS to more places" 2021-04-06 13:30:57 +00:00
Aaron Huang
834026197f Merge changes I5ed1bc8b,Ie9e6af0e
* changes:
  Fix IpConfigStore dependencies on framework-connectivity
  Migrate hidden API in IpConfigStore to formal API
2021-04-06 13:20:26 +00:00
Anton Hansson
1bf83b28d9 Merge "Remove hwbinder" 2021-04-06 13:08:56 +00:00
Paul Duffin
7263ded5d8 Update OWNERS files for frameworks/base/boot
Adds OWNERS files for frameworks/base/boot and its new subdirectory
hiddenapi to include the Soong team and the compat team as they will be
the ones responsible for maintaining the contents of those directories.

A follow up change will move the frameworks/base/config/hiddenapi-*
into the new hiddenapi directory but that change will require separate
changes downstream. Separating this change out avoids having general
frameworks/base reviewers from having to review multiple different
changes for which they have little context.

Bug: 179354495
Test: m nothing
Change-Id: Ia57d69c5b6031ecab9fa3a27e293ce8166ef50d3
2021-04-06 13:55:37 +01:00
Aaron Huang
248a42ca89 Merge "Expose Context#PAC_PROXY_SERVICE as module lib API" 2021-04-06 12:27:53 +00:00
Almaz Mingaleev
bc3fff46d9 Merge "Use isShownInPickerAt instead of isShownInPicker." 2021-04-06 12:10:17 +00:00
Paul Duffin
20c056dacb Remove framework-atb-backward-compatibility
The class in this library no longer needs to be conditionally included
on the bootclasspath based on the REMOVE_ATB_FROM_BCP flag so is being
built as part of framework-minus-apex.

Bug: 184331423
Test: m nothing
Change-Id: If7c2ec51be0670ffda22e18ce1e028783a1513e7
2021-04-06 11:41:49 +01:00
Charles Chen
275196debe Add owners for window related core tests
Test: upload test
Bug: 183251523
Change-Id: I81a9bb447b7d3e9fffd4d2f03eca3644be5394f3
2021-04-06 17:58:47 +08:00
allenwtsu
0f9b6171f1 Change SipMessage API name
Bug: 184018068
Test: atest
Change-Id: I1c1dbfbcbacadf9bdd07b9b8cd85e8ffda9ac0b3
2021-04-06 17:28:39 +08:00
Charles Chen
dfefb9e59d Merge "Add owners for window coretest" 2021-04-06 09:19:57 +00:00
Aaron Huang
46d99ea11f Expose Context#PAC_PROXY_SERVICE as module lib API
(cherry-picked from ag/14097767)
Bug: 183938000
Test: make update-api
Merged-In: I4341e177b61df0311f0a3234f8814a0ae2cf9a1b
Change-Id: I4341e177b61df0311f0a3234f8814a0ae2cf9a1b
2021-04-06 17:06:03 +08:00
James.cf Lin
67c5e4d29e [RCS] Remove unused OPTIONS APIs because of the API changes.
Bug: 183576867
Test: atest RcsUceAdapterTest ImsServiceTest
Change-Id: Id34db5c6eaa89e5c69a9d82a20ea7ec48cd8414b
2021-04-06 15:52:59 +08:00
Aaron Huang
f5c7c49563 Fix IpConfigStore dependencies on framework-connectivity
This change fixes IpConfigStore dependencies on framework-connectivity
hidden APIs.
- Use the version of SystemApi to new RouteInfo.
- Inline the implementation of isIPv4Default() directly because
  isDefaultRoute() is a public API so it can be used in this class.

(cherry-picked from ag/13945685)
Bug: 178777253
Test: FrameworksServicesTests:IpConfigStoreTest
Merged-In: I5ed1bc8bc8bee5b0c795fd8577a2d64628998e51
Change-Id: I5ed1bc8bc8bee5b0c795fd8577a2d64628998e51
2021-04-06 07:18:06 +00:00
Aaron Huang
9503a30900 Migrate hidden API in IpConfigStore to formal API
IpConfiguration and StaticIpConfiguration are included
in framework-connectivity which cannot have external
hidden API usages dependencies on them. IpConfiguration
and StaticIpConfiguration provide builder and getter
methods for the fields of the objects which are formal APIs.
So, replace the usages in IpConfigStore with those formal
APIs to remove the dependencies.

(cherry-picked from ag/13929104)
Bug: 178777253
Test: FrameworksServicesTests:IpConfigStoreTest
Merged-In: Ie9e6af0efe2c39667bb8faa1e3a498b1f61e1432
Change-Id: Ie9e6af0efe2c39667bb8faa1e3a498b1f61e1432
2021-04-06 07:13:56 +00:00
Frank Li
24aca4c9dd Merge "Add session ID to VpnTransportInfo" 2021-04-06 06:50:48 +00:00
Ken Chen
7370c78137 Merge "Downgrade DNS fail message from Error to Warning" 2021-04-06 06:35:04 +00:00
Chalard Jean
d14c0bcc22 Merge "Cleanup setGlobalProxy" 2021-04-06 06:19:01 +00:00