Commit Graph

560290 Commits

Author SHA1 Message Date
Janis Danisevskis
e359de094e Keystore 2.0: isKeystore2Enabled returned wrong value.
Test: Keystore 2.0 is used by certain system apps (Settings, Keychain)
      when enabled.
Change-Id: Idc3f27577df684561d403047a1e611bdc1350409
2021-02-03 08:44:14 -08:00
Donald Chai
182e90d1ea Merge "Fix typo in comment." 2021-02-02 06:07:18 +00:00
James Lin
02bf7d1288 Merge "[RCS UCE] Add the APIs to access the device config of RCS User Capability Exchange enabled" 2021-02-02 05:52:03 +00:00
Treehugger Robot
4ad0fdc5c9 Merge "Have connectivity self-register manager classes" 2021-02-02 05:01:04 +00:00
Donald Chai
5f3a83529c Fix typo in comment.
Change-Id: Ie35db2cfef32543e573bf701d2d523f5f1502161
Tested: N/A
2021-02-02 03:58:05 +00:00
Lucas Lin
30a0fe39fd Merge "Use function inside NetdUtils instead of NetworkManagementService" 2021-02-02 03:38:38 +00:00
Jeff Sharkey
0db5d441ad Merge "Add BATTERY_STATS_OWNERS for IBatteryStats.aidl" 2021-02-01 23:45:18 +00:00
Dmitri Plotnikov
1ef5d3f87e Add BATTERY_STATS_OWNERS for IBatteryStats.aidl
Change-Id: Iffb8ded9ff5edc899ab38c74ffe3ad98793ca67c
2021-02-01 23:42:59 +00:00
Mitch Phillips
8a956c5f9c Merge "[MemInit] Use new MemInit API." 2021-02-01 23:32:24 +00:00
Serik Beketayev
b9c6a7470e Merge "[Mainline] Migrate com.google.android.collect pkg" 2021-02-01 23:11:56 +00:00
Daniel Bright
bed5f6e84d Merge "Partial hal support for secondary link bandwidth" 2021-02-01 22:48:44 +00:00
Lorenzo Colitti
d6d96a4625 Merge "Add UsbHandlerTest test for NCM and RNDIS at the same time." 2021-02-01 22:45:00 +00:00
James.cf Lin
1d44f9e09e [RCS UCE] Add the APIs to access the device config of RCS User Capability Exchange enabled
Bug: 178239287
Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.RcsUceAdapterTest
Change-Id: I1bd2d0e0dc88dcd72e7c2682483c8039f4aa8927
2021-02-02 06:30:49 +08:00
Mikhail Naganov
499850f976 Merge "Remove audio HAL V2 from "interfaces of interest"" 2021-02-01 21:22:39 +00:00
Janis Danisevskis
f246dc6346 Merge "Keystore 2.0 SPI: Small fix to apease CTS test." 2021-02-01 18:33:32 +00:00
Benedict Wong
8d8f48f0fd Merge "Remove usages of hidden connectivity APIs" 2021-02-01 18:10:35 +00:00
Grace Jia
59c47d24fc Merge "Add relative APIs for InCallService that can support self-managed connections that want to expose itself." 2021-02-01 17:55:33 +00:00
Lorenzo Colitti
5a700b2725 Merge "Revert "Expose IPsec tunnel APIs from @SystemApi to public APIs"" 2021-02-01 15:33:11 +00:00
Grace Jia
4e8dc10871 Add relative APIs for InCallService that can support self-managed
connections that want to expose itself.

Add PhoneAccount#EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE and
Connection#onInCallServiceTrackingChanged.

Bug: 161144815
Test: CtsTelecomTestCases
Change-Id: I0a42ea79a1cd46aa9df3399c4fa2e9396321778a
Merged-In: I0a42ea79a1cd46aa9df3399c4fa2e9396321778a
2021-02-01 14:51:31 +00:00
Anton Hansson
3351717493 Merge changes If81cda01,I1df8b8e0
* changes:
  Suppress [CallbackInterface] metalava rule for mainline modules.
  Limit build visibility of modules in apex/...
2021-02-01 14:02:20 +00:00
Lorenzo Colitti
d4caba4daf Merge changes Idcc9e32c,I58769bb7
* changes:
  Remove getFilteredNetworkState and add @NonNull in NetworkState.
  Add test coverage for get*NetworkInfo on metered networks.
2021-02-01 10:56:19 +00:00
Nicolas Geoffray
87d840addd Merge "Support for showing percent progress in boot animation." 2021-02-01 09:51:30 +00:00
Lorenzo Colitti
0053756e78 Revert "Expose IPsec tunnel APIs from @SystemApi to public APIs"
This reverts commit c92a798ee8.

Reason for revert: not necessary, since VCN already has access to system APIs

Bug: 174606949
Test: revert with no conflicts
Change-Id: Ife2d0fc08c540265d52cdf930d0b6df005990ac8
2021-02-01 08:13:32 +00:00
Remi NGUYEN VAN
b74c92e2a8 Have connectivity self-register manager classes
As connectivity services are planned to move to a separate module, move
the manager classes registration from SystemServiceRegistry to
ConnectivityServicesRegistrar, using the registerContextAwareService
APIs.

This follows patterns and naming in WifiFrameworkInitializer.

Bug: 171540887
Test: device boots, connectivity working
Change-Id: I62ced1275750c73f209bac8ec3a3204b95695b83
2021-02-01 17:10:39 +09:00
Lorenzo Colitti
d8cc12a87b Remove getFilteredNetworkState and add @NonNull in NetworkState.
getFilteredNetworkState is only used in two places, both of which
use only small parts of the NetworkState that is returned to
them. Remove the method and replace it with inline code in the
two callers. NetworkState is a fairly expensive object, and this
removes the need to perform lots of defensive copies of data that
the caller does not need.

Also remove the only call to the NetworkState constructor in
ConnectivityService. That leaves only one caller to the
NetworkState constructor, the one in NetworkAgentInfo. This
constructor is called with defensive copies of NetworkInfo,
LinkProperties, and NetworkCapabilities, so mark these three
parameters as @NonNull. It's also called with a non-null
Network, because NetworkAgentInfo is only constructed with
non-null Networks, so mark the network parameter @NonNull as
well.

In order to make the arguments in the NetworkState constructor
@NonNull, introduce a new constructor that sets everything to
null and make NetworkState.EMPTY call it.

Test: atest FrameworksNetTests
Change-Id: Idcc9e32c53533b0cf61494517e62d4c184fa7610
2021-02-01 16:12:04 +09:00
Lorenzo Colitti
cfc5ab2f25 Add test coverage for get*NetworkInfo on metered networks.
Test: test-only change
Change-Id: I58769bb768978d0acff1da6d32c2f6942c43508b
2021-02-01 15:58:12 +09:00
Remi NGUYEN VAN
3d70ab73eb Merge "Move module sources to packages/Connectivity" 2021-02-01 05:25:15 +00:00
Janis Danisevskis
05943c30a1 Keystore 2.0 SPI: Small fix to apease CTS test.
* The Keystore SPI needs to return null if getKeyEntry is called on a
  pure certificate entry.
* Also checked the wrong purpose.

Test: Keystore CTS tests.
Change-Id: Ib668447a9ff56fc4cea550f547c6cbfea3590cb3
2021-01-31 20:41:51 -08:00
Chalard Jean
1595b1aa38 Merge "Start VcnManagementService after ConnectivityService" 2021-02-01 04:38:08 +00:00
Remi NGUYEN VAN
a31d729863 Move module sources to packages/Connectivity
Files that are planned to be part of the connectivity module are grouped
in packages/Connectivity, so they can be built separately and moved in
one operation with their history into packages/modules/Connectivity.

This places the files in the existing framework-connectivity-sources
filegroup instead of the current framework-core-sources filegroup. Both
are used the same way in framework-non-updatable-sources.

Bug: 171540887
Test: m
Change-Id: I62d9d91574ace6f5c4624035d190260c3126b91e
2021-02-01 11:52:14 +09:00
Calvin Pan
d2d77dba7d Merge "Add TelephonyShellCommand to get EAB contact" 2021-02-01 02:46:16 +00:00
Alex Buynytskyy
00c3346e2d Merge "create owners" 2021-02-01 02:13:19 +00:00
Lorenzo Colitti
65d8caa405 Add UsbHandlerTest test for NCM and RNDIS at the same time.
Follows up on review comment on https://r.android.com/1559090.

Bug: 172793258
Test: new unit test passes
Change-Id: I363db6f0a9c60be4eca3bcfeb888dd5c0fc4840a
2021-01-31 14:55:41 +00:00
Lorenzo Colitti
2836d8b703 Merge "Allow RNDIS and NCM to be enabled at the same time." 2021-01-31 14:27:45 +00:00
Jakub Pawlowski
a0c7f5115f Merge changes Iec48eba9,I4358aac8
* changes:
  docs: fix typo HDP->HFP in BluetoothHeadset
  docs: Use correct profile for intent
2021-01-30 15:29:21 +00:00
Treehugger Robot
193dfa0a19 Merge "add shell user permissions for Asistant GTS tests" 2021-01-30 01:53:58 +00:00
Mikhail Naganov
ac2469fd8e Remove audio HAL V2 from "interfaces of interest"
This version is deprecated, not supported in Android S.

Bug: 171260360
Test: m
Change-Id: If45ec13a11fe6ee15cb1042595a32b3002bf0031
2021-01-30 01:00:48 +00:00
Tomasz Wasilczyk
13466883b0 Merge "Fix initialization of USER_ROTATION setting." 2021-01-30 00:55:53 +00:00
Kevin Han
6857f6ed91 Merge "Introduce global package hibernation" 2021-01-30 00:37:19 +00:00
Nicholas Ambur
57969acf86 add shell user permissions for Asistant GTS tests
Bug: 177271291
Test: gts-tradefed run gts -m GtsAssistIntentTestCases
Change-Id: I6c6134a9912a73039556a4d700bbb0bb97b6b3d4
Merged-In: I293d66811f8a27170f2bc4cb74b7d4c9ec55fac8
2021-01-29 16:28:19 -08:00
Elliott Hughes
1528efe4b1 Merge "Remove __ANDROID_API__ #if checks." 2021-01-30 00:15:18 +00:00
Benedict Wong
3d021a53cc Remove usages of hidden connectivity APIs
This patch updates all VCN code to use System or Public APIs for
connectivity management (NetworkCapabilities, NetworkRequests, etc).

Bug: 8675309
Test: atest FrameworksVcnTests
Change-Id: I6637e1ca7efaff64d3e11187120ad9b42bdce45c
2021-01-29 15:52:21 -08:00
Junyu Lai
ac0dbac04c Merge "[VCN07.6] Add NOT_VCN_MANAGED for NetworkAgent implementations" 2021-01-29 23:15:32 +00:00
Julius D'souza
6131ca7d2f Merge "Add setup usage for ACCESS_KEYGUARD_SECURE_STORAGE." 2021-01-29 22:56:00 +00:00
Varun Shah
98fc96fc65 Merge "Fixed to prevent usagestats file corruption when writing" 2021-01-29 22:10:29 +00:00
Steven Moreland
4c0600b406 Merge "WatchDog: support dumping AIDL HALs" 2021-01-29 21:24:26 +00:00
Tianjie Xu
b7682d401f Merge "Fixes how unbindService works" 2021-01-29 21:20:22 +00:00
Leon Scroggins
59e8bb9e98 Merge "Apply bilinear filter for Ninepatch." 2021-01-29 21:18:05 +00:00
Amit Mahajan
0a35aae9d6 Merge "Add config config_voice_data_sms_auto_fallback" 2021-01-29 21:06:24 +00:00
Etan Cohen
ec8ebce98e Merge "Revert "Grant shell permissions for Airplane Mode to Shell to support CTS"" 2021-01-29 21:05:59 +00:00