Commit Graph

565474 Commits

Author SHA1 Message Date
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
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
Dorin Drimus
894c63654d Merge "Improve some External Storage Notification texts on TVs" 2021-03-12 09:58:40 +00: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
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
mrenouf
4392dd9cb8 Merge "Update OWNERS for long screenshots framework code" 2021-03-11 22:41:24 +00:00
Treehugger Robot
5967b657ef Merge "Removed EpsQosSessionAttributes#onCreate" 2021-03-11 22:37:36 +00:00
Treehugger Robot
999506022f Merge changes Iac9487e8,Ifa411c7b
* changes:
  [VCN11] Make requestBackgroundNetwork requires handler
  [VCN10] Add new API to listen for highest score network
2021-03-11 22:34:06 +00:00
Tianjie Xu
1c5faf6141 Merge "Extend the metrics for resume on reboot" 2021-03-11 22:13:25 +00:00
Hui Wang
dfaecb2e6e Make the doc of bootstrapAuthenticationRequest more accurate
Bug: 179520684
Test: make
Change-Id: Icac534777b88448f7532ccb767824b530ccc3a2b
2021-03-11 22:08:41 +00:00
Tyler Gunn
3b36aa32fa Merge "Mark android.net.sip code as deprecated." 2021-03-11 22:03:11 +00:00
George Mount
029208ebdd Added mount to OWNERS for RecyclerView and ViewPager
As requested, mount was added to OWNERS for RecyclerView
and ViewPager as changes are occasionally needed by UI
toolkit team.

Test: None
Change-Id: Ie3d49d0d5ddf092d2dd0680c6a067b2fe6b81f94
2021-03-11 21:27:55 +00:00
mrenouf
7b969ae133 Update OWNERS for long screenshots framework code
Adds OWNERS line for internal binder interfaces.

Test: n/a
Change-Id: Ib6cdef76c5c9444f7187e33588bb3fdfbf5f5787
2021-03-11 21:23:44 +00:00
Kevin Han
6d0bf150e3 Merge "Fix local service binding in tests." 2021-03-11 21:10:43 +00:00
Daniel Bright
1bec754c8b Merge "Update comments on onApnUnthrottled" 2021-03-11 18:02:36 +00:00
Neil Fuller
c06b300638 Merge "Add MetricsTimeZoneSuggestion for metrics use" 2021-03-11 17:38:30 +00:00
lucaslin
7d02c64846 Use new API - getIpSecNetIdRange() in IpSecService
Use new API - getIpSecNetIdRange() to get the network ID range
of IPSec tunnel interface.

Bug: 172183305
Test: atest FrameworksNetTests:IpSecServiceTest
Change-Id: Ib80f814f991e9f000a68f5c539d15d97cf56930e
2021-03-11 17:30:18 +00:00
Neil Fuller
6d3fb3d57c Merge "OWNERS change / new .proto file" 2021-03-11 17:12:18 +00:00
James Mattis
ec14bafb25 Merge "Add auto-postsubmit test tag for frameworks/base" 2021-03-11 17:05:34 +00:00
Dorin Drimus
1da5ea74e4 Improve some External Storage Notification texts on TVs
Customised strings (only for TV form factor):
- ext_media_new_notification_message
- ext_media_unsupported_notification_message
- ext_media_ready_notification_message
- ext_media_checking_notification_message

Test: N/A - only string changes
Bug: 181638310

Change-Id: I63152ca960af2639c72e197e149459a2aa1cac1a
2021-03-11 16:56:51 +00:00
lucaslin
21d01e8d45 Add a new API to get the network ID range of IPSec tunnel interface
- Add a new API to get the network ID range of IPSec tunnel
interface.
- Use the new API in IpSecServiceTest to make sure the result is
the same. Follow-up commit will change the logic in
IpSecService#reserveNetId(), the modified test can ensure the
correctness of the new change.

Bug: 172183305
Test: atest FrameworksNetTests:IpSecServiceTest
Change-Id: Ic605e48941fc9d6482cdcd01a8adcdc9b6d586a6
2021-03-12 00:46:33 +08:00
Janis Danisevskis
5de808c5e2 Merge "Keystore 2.0: Remove hidden API from RecoverableKeystore" 2021-03-11 15:50:32 +00:00
junyulai
d7aa5725f4 [VCN12] Expose setSubIds/getSubIds APIs
Test: atest NetworkCapabilitiesTest
Bug: 175662146
Change-Id: Ia4b98bc6c5fcefee44233f3b7fbb6517a0e8870e
2021-03-11 23:03:19 +08:00
junyulai
3b1bc32275 [VCN04] Add Subscription Id set into NetworkCapabilities
This is a generic way to request networks that has different
subId but belongs to the same carrier. For example, cellular
networks with different SIM card, or carrier Wifi that
provided by the operator.

Test: atest NetworkCapabilitiesTest#testSubIds
Test: m doc-comment-check-docs -j
Test: atest CtsNetTestCases
Bug: 175662146

Change-Id: Ifca766f5acc73c285948d6251ec31506d9bb0bcb
2021-03-11 23:03:05 +08:00
Remi NGUYEN VAN
3c6140d8cc Fix common tests on Q and R
The common tests cannot reference EthernetNetworkSpecifier,
as it did not exist in Q and R yet.

Bug: 179329291
Merged-In: Iec8ef874a3ca6dcc65944bbbaa3575a5ae0f4989
Change-Id: Iec8ef874a3ca6dcc65944bbbaa3575a5ae0f4989
Test: atest CtsNetTestCasesLatestSdk
2021-03-11 23:02:02 +08:00
Remi NGUYEN VAN
c5479a0886 Add Ethernet, TestNetworkSpecifier API
Rename StringNetworkSpecifier to EthernetNetworkSpecifier (its only
production user), and make it module-lib API.
The original StringNetworkSpecifier file is actually kept to satisfy
some invalid dependencies; it will be removed separately.

This allows specifying an Ethernet interface with a non-deprecated API:
until this change the only way to do so would be to use
NetworkRequest#setSpecifier(String), which is deprecated.

Similarly, add the TestNetworkSpecifier API for TestNetworkManager, to
replace previous usage of StringNetworkSpecifier. TestNetworkManager is
module API, so TestNetworkSpecifier should be module API too. This
allows tests to request the test interface specifically, without using
the deprecated NetworkRequest#setSpecifier(String).

Bug: 179329291
Test: m
Merged-In: Iee569f5c8bbdc4bc979610e1191308281f3d4620

Change-Id: Iee569f5c8bbdc4bc979610e1191308281f3d4620
2021-03-11 23:02:02 +08:00