Commit Graph

565503 Commits

Author SHA1 Message Date
Frank Li
ed60cc949b Merge "[CS15]Do not use hidden API of PlatformProperties" 2021-03-15 08:01:26 +00:00
Remi NGUYEN VAN
84319f2fe0 Merge "Revert "Remove connectivity dependency on Preconditions"" 2021-03-15 07:30:20 +00:00
Remi NGUYEN VAN
fad59e1d7f Revert "Remove connectivity dependency on Preconditions"
This reverts commit d012890149.

Reason for revert: Build broken: b/182721112

Change-Id: Ibc84ec6d7900fdcf0bc14cd7036f9c08287711db
2021-03-15 07:27:44 +00:00
Paul Hu
1f6851f66a Merge "Replace InetAddress#parseNumericAddress" 2021-03-15 07:03:46 +00:00
Remi NGUYEN VAN
644a489011 Merge "Remove connectivity dependency on Preconditions" 2021-03-15 06:36:15 +00:00
lifr
2dea00a288 [CS15]Do not use hidden API of PlatformProperties
ConnectivityService is going to become a mainline module, and
it will not able to use hidden method anymore. Using PlatformProperties
as a static library instead of hidden API.

Bug: 170917042
Test: atest FrameworksNetTests
Merged-In: I3a3deca5d2e0f690db8c0061de2db2217376d268
Change-Id: I3a3deca5d2e0f690db8c0061de2db2217376d268
2021-03-15 14:14:18 +08:00
Sooraj Sasindran
58489d1d48 Merge "Allow REQUEST_NOT_SUPPORTED for nr dual connectivity config" 2021-03-15 04:38:24 +00:00
Remi NGUYEN VAN
3ce3d9f33d Merge "Remove VpnType usage in VpnTransportInfo" 2021-03-15 01:52:30 +00:00
Remi NGUYEN VAN
c538773be1 Merge "Create a service-connectivity-pre-jarjar library" 2021-03-15 01:32:47 +00:00
Treehugger Robot
4600169731 Merge "Binder: disambiguate unlinkToDeath error" 2021-03-13 01:29:09 +00:00
Treehugger Robot
02d23fe577 Merge "Add OWNERS for BatteryService" 2021-03-12 23:13:41 +00:00
James Lin
29c9a7a937 Merge "UCE API change: Remove the unused RCS UCE APIs" 2021-03-12 23:10:44 +00:00
Treehugger Robot
17cc39f7d8 Merge changes from topic "uwb_api_change"
* changes:
  Pass SessionHandle to UWB Service when opening a session
  Return CancellationSignal when opening UWB session
  Address UWB API feedback
2021-03-12 21:50:17 +00:00
Sooraj Sasindran
d3b3e00a05 Allow REQUEST_NOT_SUPPORTED for nr dual connectivity config
Allow REQUEST_NOT_SUPPORTED for nr dual connectivity configuration
and query

Bug: 181648176
Test: CTS with presubmit
Change-Id: Ib10dcc083d9aae7b905aa008dff05d2975865c71
2021-03-12 13:43:21 -08:00
Cody Kesting
a93e2f9545 Merge "Update Policy Listener API naming." 2021-03-12 21:32:08 +00:00
Steven Moreland
ffaac1c2d3 Binder: disambiguate unlinkToDeath error
BpBinder may return OK, DEAD_OBJECT, or NAME_NOT_FOUND for this
operation, but BBinder returns INVALID_OPERATION, and subclasses may
return other errors. In at least one bug, the resolution of this
ambiguity would help direct debugging.

Bug: 180891878
Test: N/A

Change-Id: I109a09788d3075e7c594445a6f3649ade109b5c2
2021-03-12 21:18:30 +00:00
Dmitri Plotnikov
46972a6f35 Add OWNERS for BatteryService
Test: N/A
Change-Id: Ic7c9ed6d5d829d407ac7ad2a2313ec8fe8442374
2021-03-12 11:48:49 -08:00
Brad Ebinger
3db11be5d7 Merge "Add a new Config to map PIDF service-description to IMS Feature Tags" 2021-03-12 19:30:30 +00:00
Jagadeesh Pakaravoor
fcf61e805a Merge "Add madvising of .odex, .vdex and .art files" 2021-03-12 19:30:02 +00:00
Hui Wang
f395f2dd4b Merge "Add onPreProvisioningRecevied to RcsProvisioningCallback" 2021-03-12 18:22:52 +00:00
Hui Wang
14d654f998 Merge "Make the doc of bootstrapAuthenticationRequest more accurate" 2021-03-12 18:17:43 +00:00
Andy Hung
c337968e03 Merge "SoundPool: Fix clang-tidy" 2021-03-12 17:39:42 +00:00
Hasini Gunasinghe
11e324829e Merge "Keystore2: Integrate getState method of IKeystoreMaintenance AIDL." 2021-03-12 16:30:58 +00:00
Andrei-Valentin Onea
420476e0cd Merge changes Idd7d86f9,I73569744
* changes:
  Do not enable changes newer than the current sdk
  Add support for loading a static overrides file located in /product.
2021-03-12 13:28:50 +00:00
Nicolas Geoffray
af174a5708 Merge "Remove some methods from DdmVmInternal." 2021-03-12 12:05:45 +00:00
paulhu
033521c57b Replace InetAddress#parseNumericAddress
-Connectivity is becoming a mainline module in S but mainline
modules are not allowed to use non-formal APIs. Thus, replace
non-formal API InetAddress#parseNumericAddress to
InetAddresses#parseNumericAddress.
- Add deprecated method legacyParseIpAndMask() for IpPrefix and
LinkAddress. Because InetAddresses#parseNumericAddress has
a little different behavior in some case, but these two classes
should keep working as before. So these two classes will use
the new deprecated method.

Bug: 181756157
Test: FrameworksNetTests
Change-Id: I1c96b75f0b8d5e93304a39b4a8c8849964e5e810
2021-03-12 19:57:40 +08:00
Dorin Drimus
894c63654d Merge "Improve some External Storage Notification texts on TVs" 2021-03-12 09:58:40 +00:00
Remi NGUYEN VAN
7bb23a943f Remove VpnType usage in VpnTransportInfo
The VpnType annotation is a hidden symbol, and should be
kept hidden as annotations are disallowed by API guidelines.

Remove its usage in VpnTransportInfo as users of annotated constants
that build against API stubs are expected not to use the annotation.

Bug: 173331190
Test: m
Change-Id: I171fa57f6279defad081c3cd16265d58ec55e57d
2021-03-12 18:30:30 +09:00
Remi NGUYEN VAN
71ef86e01a Merge "Remove usage of hidden InetSocketAddress constructor" 2021-03-12 09:02:15 +00:00
Treehugger Robot
a247ffeaad Merge "Remove hidden @NetworkType in NetworkInfo" 2021-03-12 08:59:35 +00:00
Treehugger Robot
3e432de2a8 Merge "Remove hidden INVALID_RESOURCE_ID in unused param" 2021-03-12 08:57:55 +00:00
Treehugger Robot
7b327e1bef Merge "Use ParcelDescriptor.fromSocket instead of getFileDescriptor" 2021-03-12 08:57:47 +00:00
Treehugger Robot
fe4b43da67 Merge "Refactor DynamicSystemInstallationService notifications" 2021-03-12 07:48:51 +00:00
Paul Hu
240fdc5d97 Merge "Expose Intent#ACTION_CLEAR_DNS_CACHE" 2021-03-12 07:47:10 +00:00
James.cf Lin
861e9e120b UCE API change: Remove the unused RCS UCE APIs
Remove the unused UCE APIs because some of the old UCE APIs are replaced by the new added APIs.

Bug: 182536503
Test: atest ImsServiceTest RcsUceAdapterTest
Change-Id: I40a45e1c858c5fab3b46f2888b9215b5687a64fd
2021-03-12 15:21:48 +08:00
Junyu Lai
36b03734ef Merge changes from topics "vcn04", "vcn12"
* changes:
  [VCN12] Expose setSubIds/getSubIds APIs
  [VCN04] Add Subscription Id set into NetworkCapabilities
2021-03-12 07:12:59 +00:00
Roshan Pius
a982725793 Merge "ConnectivityManager: Provide API's to include location sensitive info" 2021-03-12 05:56:29 +00:00
Paul Hu
4f0e7df6e3 Merge "Stop using PackageManagerInternal in PermissionMonitor" 2021-03-12 05:23:05 +00:00
paulhu
97c860113a Expose Intent#ACTION_CLEAR_DNS_CACHE
DnsManager will broadcast ACTION_CLEAR_DNS_CACHE intent to clear
dns cache when network have changed. But DnsManager is in the
Connectivity mainline module which can not use non-formal API.
Thus, expose Intent#ACTION_CLEAR_DNS_CACHE as module lib API for
mainline module.

Bug: 182370679
Test: m update-api
Merged-In: I30b1b146dcae82926be7bdb8b343635a01eabefe

Change-Id: I30b1b146dcae82926be7bdb8b343635a01eabefe
2021-03-12 05:21:08 +00:00
Treehugger Robot
e95af44a65 Merge "Remove Slog usage in NetworkState" 2021-03-12 05:12:26 +00:00
Remi NGUYEN VAN
cb35ed09da Merge "Move ParseException to Connectivity" 2021-03-12 04:27:55 +00:00
Lucas Lin
ae7491e2f9 Merge changes Ib80f814f,Ic605e489
* changes:
  Use new API - getIpSecNetIdRange() in IpSecService
  Add a new API to get the network ID range of IPSec tunnel interface
2021-03-12 03:30:32 +00:00
Frank Li
2dafdfb0f8 Merge "[CS17]Remove useless code(AsyncChannel) from ConnectivityService" 2021-03-12 02:45:30 +00:00
Roshan Pius
d9c78f6992 ConnectivityManager: Provide API's to include location sensitive info
Existing NetworkCallback users will get NetworkCapabilities with
location sensitive data removed (except for ownerUid which will be
added for existing apps for backwards compatibility). Apps
have to opt-in to receive location sensitive data.

Note: This was chosen because WifiInfo is the only TransportInfo tha
has location sensitive info & that was added only in Android 12. If we
choose to default to true, all existings apps retrieving
NetworkCapabilities for wifi networks will be blamed for location access
unnecessarily.

Changes:
i) Add a flag in NetworkCallback creation to retrieve
NetworkCapabilities with location sensitive info in their callback.
(More flags are being planned for NetworkCallback for throttling
callback frequency, etc)
ii) For NetworkCapabilities.getOwnerUid(), we will continue to send the
data for apps targeting older SDK (since this is an existing field and
the new flag defaults location sensitive data to off).

Bug: 156867433
Test: atest android.net
Test: atest com.android.server
Change-Id: If70b5ea6f5c8885f0c353c8df08a826d55fe7f7a
2021-03-11 18:27:18 -08:00
Hui Wang
caf97c72f5 Add onPreProvisioningRecevied to RcsProvisioningCallback
This is to support Verizon ACS self provisioning requirement.

Bug: 182309219
Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Change-Id: I2d41717fbff909a86b11f040eca22e8a49bf9a28
2021-03-12 00:15:27 +00:00
Hasini Gunasinghe
e92adf724b Keystore2: Integrate getState method of IKeystoreMaintenance AIDL.
Bug: 176123105
Test: TBD
Change-Id: I8bc6bf219f7c4bb3722c310debcc8a276d14ed98
2021-03-12 00:07:44 +00:00
Remi NGUYEN VAN
c77293b7a9 Merge changes from topic "ethernet_specifier"
* changes:
  Fix common tests on Q and R
  Add Ethernet, TestNetworkSpecifier API
2021-03-11 23:51:49 +00:00
Treehugger Robot
2273adedcd Merge "Added mount to OWNERS for RecyclerView and ViewPager" 2021-03-11 23:38:03 +00:00
Andy Hung
a5daa17187 SoundPool: Fix clang-tidy
Test: touch *.cpp,  mma, verify no clang-tidy warnings
Test: SoundPoolAacTest, SoundPoolHapticTest,
Test: SoundPoolMidiTest, SoundPoolOggTest
Bug: 182414042
Change-Id: I77af4f0999c46931d6993d917443df1fa8425353
2021-03-11 15:24:59 -08:00
Grace Jia
0251d617a5 Merge "Annotation and doc improvement for adhoc conference APIs." 2021-03-11 23:07:54 +00:00