Commit Graph

559288 Commits

Author SHA1 Message Date
David Su
9548db78b0 frameworks/base/wifi: Move migration_samples to non-updatable directory
This is not part of the Wifi module, move it to the non-updatable
directory.

Bug: 176105484
Test: compiles
Merged-In: Ia95e300da9286d79ee57c285c3bfa88ecc98e326
Change-Id: I495b3edc6e7a6bbb7bae287e8bdd88243e72da70
2020-12-22 18:07:34 +00:00
David Su
512ba3c3d1 Split updatable/non-updatable Wifi APIs into separate directories
This creates a clearer boundary between what is updatable
(part of the Wifi module) and what is not updatable (outside
the module).

Bug: 176105484
Test: compiles
Merged-In: Ia95e300da9286d79ee57c285c3bfa88ecc98e326
Change-Id: I1747f52f18210bb05bcc414461bf95aa461577a6
2020-12-22 06:10:40 +00:00
Allen Su
f2fdcff51e Merge "[RCS]Add new carrier configs for presence" 2020-12-22 00:26:52 +00:00
Jeff Sharkey
5958b27f4f Merge "Add OWNERS for mockingservicestests pm package." 2020-12-21 21:16:39 +00:00
Hai Zhang
8ddf792606 Add OWNERS for mockingservicestests pm package.
Change-Id: Id556a90e6f5a75deac93032b32cd5ad76e125d50
Test: presubmit
2020-12-21 21:08:57 +00:00
Treehugger Robot
0aa6ab7887 Merge "Register the service-to-app callback whenever the service comes up for BluetoothConnectionCallback. This ensures that if the bluetooth process dies, the callbacks will be re-established once it comes back up." 2020-12-21 20:56:26 +00:00
Tianjie Xu
cabef01cb3 Merge "Deprecate the old rebootAndApply API" 2020-12-21 18:53:20 +00:00
Bernie Innocenti
c08d3ef8a8 Merge "Add explicit Result::ok() checks where needed" 2020-12-21 18:31:58 +00:00
Tianjie Xu
1fb84f4d31 Merge "Clean up the multi-client ror code" 2020-12-21 18:28:52 +00:00
Treehugger Robot
220d33ce2c Merge "Keystore 2.0 SPI: Switch to aidl union KeyParameters" 2020-12-21 18:10:58 +00:00
Andrei-Valentin Onea
17f8ae5f7c Merge changes from topic "default-value-query"
* changes:
  Assume default values when querying compat fw
  Add non-logging method to PlatformCompat
2020-12-21 16:38:52 +00:00
Bernie Innocenti
58cf8e3ffa Add explicit Result::ok() checks where needed
Test: m checkbuild continuous_instrumentation_tests continuous_instrumentation_tests_api_coverage continuous_native_tests device-tests platform_tests
Exempt-From-Owner-Approval: mechanical mass refactoring
Change-Id: I3117833c51cdb333cccdfd159d1582f2adef77db
2020-12-21 15:50:57 +00:00
Treehugger Robot
96db3dad2a Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-21 08:16:02 +00:00
Treehugger Robot
80feb8df3c Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-21 07:58:13 +00:00
Treehugger Robot
d94272381a Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-21 07:42:41 +00:00
Benedict Wong
c0e2e1c9bd Merge changes Ifabf5e2b,I2e632532
* changes:
  Add persistence for VcnConfig objects by Subscription Group
  Implement basic VcnConfig and VcnGatewayConnectionConfig
2020-12-21 07:10:36 +00:00
Chalard Jean
eeb7c450aa Merge "Move module utils to the module package." 2020-12-21 05:35:09 +00:00
Chiachang Wang
4ba82f5dba Merge "[IT03] Add replacement methods for network activity" 2020-12-21 03:50:05 +00:00
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
Lucas Lin
a2353ae2ca Merge "Use [clear|restore]CallingIdentity instead of withCleanCallingIdentity" 2020-12-21 03:09:20 +00:00
Bill Yi
e372b6d9f2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I66100e019ab843ac13160725255a1e8aed41edb6
2020-12-21 00:33:54 +00:00
Bill Yi
ed79296aca Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I417b6db7be083701751bd67c0f3c39a1d64775f5
2020-12-20 23:28:06 +00:00
Bill Yi
ccd14ccde8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia93ade3e9cbbd9356ca42a5448022b70dc4b66b3
2020-12-20 22:21:55 +00:00
Treehugger Robot
2cbc87a9bf Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-20 19:15:53 +00:00
Treehugger Robot
698ecf415a Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-20 18:38:02 +00:00
James Mattis
87eadad550 Merge changes I177ec607,I68f364b4,Ib3b9f52c,If040d61e
* changes:
  nits removing extra space, change method name, etc
  maybeLogBlockedStatusChanged multilayer requests
  Update getSignalStrengthThresholds for multilayer
  Update to unneeded for multilayered requests
2020-12-20 18:31:36 +00:00
Bill Yi
5dcf3089cd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I49e19b4f600239084632f1eaa56bbff9f8d428b9
2020-12-20 14:42:35 +00:00
Bill Yi
1b13f99e22 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If28a4f22236299373e9023381bc0077d842a3743
2020-12-20 09:35:24 +00:00
Benedict Wong
5267396f34 Merge "Add a TelephonySubscriptionTracker to track subId/subGrp changes" 2020-12-19 06:05:41 +00:00
Treehugger Robot
572416b317 Merge changes I316fdb8b,I99c1bd49
* changes:
  Keystore 2.0 SPI: Public key operation workaround.
  Keystore 2.0 SPI: Bug fixes
2020-12-19 03:29:09 +00:00
Colin Cross
ac69caae77 Merge "Revert "Add coex permissions to Shell for CTS tests"" 2020-12-18 21:41:02 +00:00
Colin Cross
6601d43a23 Revert "Add coex permissions to Shell for CTS tests"
This reverts commit 9f956ccf41.

Reason for revert: b/175198007

Change-Id: Ie35dca0500734ff35781c7344dcc70953f29d174
2020-12-18 12:10:34 -08:00
Benedict Wong
066429ddbe Merge "Enforce carrier privileges when setting/clearing VCN configs" 2020-12-18 20:00:27 +00:00
Janis Danisevskis
a80fd14256 Keystore 2.0 SPI: Public key operation workaround.
Test: Keystore cts tests.
Change-Id: I316fdb8beae018ac91c172dede735e6b0759368a
2020-12-18 11:15:27 -08:00
Janis Danisevskis
efaff8f604 Keystore 2.0 SPI: Bug fixes
* Correctly recover public key from certificate.
* KeyStore2ParameterUtils: iterate through set flags instead of unset
  flags.
* Return private key on Keystore.getKey() instead of public key.

Test: Keystore CTS tests
Change-Id: I99c1bd49ff5cf7a2d89b54559504e67b3def0cd3
2020-12-18 11:09:06 -08:00
Janis Danisevskis
ef3aaa2d59 Keystore 2.0 SPI: Switch to aidl union KeyParameters
Test: Compiles
Change-Id: I54b0d7a97954eb45283cf48bf2372db5e7ffa61a
2020-12-17 20:39:45 -07:00
Benedict Wong
ab1b484ac7 Add persistence for VcnConfig objects by Subscription Group
This commit adds the ability for the VcnManagementService to track/store
VCN profiles by subscription groups, and saving/loading to/from disk.

Bug: 163611304
Test: New tests added, passing
Change-Id: Ifabf5e2be090d529cd29e2c68d55ece4858b2aad
2020-12-17 17:17:13 -08:00
Benedict Wong
2e21b0e94b Add a TelephonySubscriptionTracker to track subId/subGrp changes
This change adds a TelephonySubscriptionTracker that builds a cache of
subscription and carrier config events.

Bug: 163431879
Test: atest FrameworksVcnTests
Change-Id: Ibec2f3ce5071429929fae83ce144105623f1e164
2020-12-17 17:05:41 -08:00
Nathan Harold
8c3b567c36 Merge "Fix permission on TM#isDataEnabled" 2020-12-18 00:38:04 +00:00
Wonsik Kim
4f94f12cba Merge "MediaCodecInfo: do not alter performance points for 32-bit processes" 2020-12-18 00:09:34 +00:00
Treehugger Robot
c0de8cfcfa Merge "Use find-copy-subdir-files macro to eliminate foreach calls" 2020-12-17 22:58:32 +00:00
Hui Wang
7c9eef5613 Merge "RCS Provisioning APIs for Single Registration" 2020-12-17 22:53:31 +00:00
Todd Kennedy
b8ff8f238e Merge "Add OWNERS for incremental" 2020-12-17 22:46:43 +00:00
Quang Luong
14185f3b8e Merge "Add coex permissions to Shell for CTS tests" 2020-12-17 22:03:48 +00:00
Quang Luong
37f88d82d4 Merge "Add permissions for Wifi coex APIs for CTS tests" 2020-12-17 22:01:58 +00:00
Tianjie
4343e3ebca Deprecate the old rebootAndApply API
This API isn't aware of slot switch, and shouldn't be used by
phonesky. So we prefer to deprecate it in case new callers use
it accidentally. Also don't allow callers with REBOOT permission
to call it.

Bug: 170664917
Test: build
Change-Id: I540b87fad461cb2c900f3e9d177bb5147abc1a22
2020-12-17 13:05:36 -08:00
Rahul Sabnis
9fc40b34c3 Register the service-to-app callback whenever the service comes up for
BluetoothConnectionCallback. This ensures that if the bluetooth process
dies, the callbacks will be re-established once it comes back up.

Tag: #feature
Bug: 175700972
Test: Manual
Change-Id: I2a20b229fcc1d8f69ccc1b24b62c26ce8155c29f
2020-12-17 12:23:23 -08:00
Wonsik Kim
3fa9158be7 MediaCodecInfo: do not alter performance points for 32-bit processes
Bug: 173488434
Test: atest CtsMediaTestCases:MediaCodecListTest
Change-Id: Ie40557dc0401411cc51650ea42c0fd75f90c67ce
2020-12-17 10:51:17 -08:00
Nathan Harold
f7dc3f6788 Fix permission on TM#isDataEnabled
-Allow isDataEnabled() to be read with READ_PHONE_STATE
 This method just forwarded to another method in the public
 API that only requires READ_PHONE_STATE, so it's just a bug.

-Fix a bug where TM#getDataEnabled ws ignoring the subId parameter.

Bug: 148500541
Test: compilation
Change-Id: I30b125b50d261175a44183369e5f318d7ad37be9
2020-12-17 10:45:13 -08:00
Todd Kennedy
a2991e1001 Add OWNERS for incremental
Change-Id: Id0acdfff82c625fe05c6966956d1478ce8355a71
2020-12-17 17:20:10 +00:00