661209 Commits

Author SHA1 Message Date
Virkumar Karavate
984a31a9fb Merge "(ImsService API changes for Better IMS Threading) ImsService to execute binder calls in Executor." 2022-02-08 18:08:15 +00:00
Melvin Moreno
4f24757202 Fixed documentation typo on TextAlign getter and setter methods - Reported on http://b/216852542
Change-Id: I950251451d49f97c8c3ef0539218189d4ff74ab6
2022-02-08 17:45:42 +00:00
Eran Messeri
af771eb908 Merge "Keystore: Surface service error message" 2022-02-08 17:33:52 +00:00
Chiachang Wang
3fc98d5ebd Allow VPN apps to ask for running the validation checks
Expose an API to allow VPNs app to ask for running the validation
check on the VPN network built from Ikev2VpnProfile.

Bug: 184750836
Test: New test in Ikev2VpnTest
      Also FrameworksNetTests
Change-Id: I385bb887b6c697d8f5d87af750dbd2aab44afca6
CTS-Coverage-Bug: 184750836
 (but CTS is in the same topic, just not detected by the tool)
2022-02-09 02:19:15 +09:00
Felipe Leme
3c5dea3fe4 Adds OWNERS to com.androd.internal.util.Dump*
Test: no, thanks
Bug: 149254050

Change-Id: I1dbb8a4c04817f39de147927c26c14e461eb564b
2022-02-08 08:50:43 -08:00
Aaron Huang
23e4f46c1a Have FrameworksVcnTests access hidden API
(cherry picked from commit 023328e204d2ab167f45827a13bc31b68ee27d59)
Bug: 204153604
Test: build, FrameworksVcnTests
Change-Id: I2e92f27b4d10612d9000c0fc0d5866dd0313a336
Merged-In: I2e92f27b4d10612d9000c0fc0d5866dd0313a336
2022-02-08 14:31:46 +00:00
Eran Messeri
5eedf5a373 Keystore: Surface service error message
Surface the service-specific error message. To avoid API changes, the
error message is surfaced in the toString / getMessage methods.

Test: atest android.security.keystore.KeyStoreExceptionTest
Bug: 217593122
Change-Id: Id4090564b46db9b3b10ea390390f6683f7314463
2022-02-08 13:26:57 +00:00
Eran Messeri
9422f2076d Add myself to Keystore owners
Update the Keystore owners file:
* Remove Rob Barnes
* Add myself.

This will remove the dependency on US-based reviewers for all Keystore
Java CLs.
Non-trivial CLs, CLs that are not strictly in the Java layer, or both,
would still be sent to the right US-based reviewer.

Bug: N/A
Test: N/A
Change-Id: Id8931516b90be4b97e684cb8d7f9de8d71643db4
2022-02-08 11:45:23 +00:00
Junyu Lai
0580abcc9a Create framework-connectivity shared filegroup
Since data usage related code is going to move to mainline module,
hidden classes and methods can no longer be accessed. However,
some of the hidden classes in the platform are still needed, and
cannot be moved because of other callers.

Thus, create a shared srcs filegroup to allow these classes
build with the module to solve the dependencies.

Test: TH
Bug: 204830222
  (cherry-picked from ag/16656704)
Change-Id: I3813bc2177b2f0b4237056f64c57c63fa29c3081
Merged-In: I3813bc2177b2f0b4237056f64c57c63fa29c3081
2022-02-08 19:12:41 +08:00
Remi NGUYEN VAN
5968400839 Remove @hide usage in DataUsageUtilsTest
Replace matchesSubscriberId with an equivalent check based on the stable
API getSubscriberIds().

Bug: 197717846
Test: atest DataUsageUtilsTest
  (cherry-picked from ag/16801786)
Change-Id: Icf86598dc2e4e8b24e08135de8a842f52ac4ab5b
Merged-In: Icf86598dc2e4e8b24e08135de8a842f52ac4ab5b
2022-02-08 19:06:52 +08:00
Remi NGUYEN VAN
95b018288b Delete NetworkStatsFactoryBenchmark
As commented in the test, it is broken today and barely builds.

Nothing seems to be referencing this library anywhere: remove it.

Ignore-AOSP-First: submitting in AOSP separately from topic
Bug: 197717846
Test: m
  (cherry-picked from ag/16781269)
Change-Id: I0dd12dfd3f9bf99c9723d58e2dc656ea7db3a1f3
Merged-In: I0dd12dfd3f9bf99c9723d58e2dc656ea7db3a1f3
2022-02-08 18:58:33 +08:00
Treehugger Robot
9b73fc72a1 Merge "CEC: Modify Standby Mode Handler" 2022-02-08 10:32:16 +00:00
Junyu Lai
66760b299b [MS53] Add connectivity aidl exports to stubs
This is needed to solve the dependencies where platform
code such as ITelephony.aidl needs aidl definitions.

Test: TH
Bug: 204830222
Change-Id: Ie19a258c2e8a724dc087bc5ad5f8f522e29feca5
Merged-In: Ie19a258c2e8a724dc087bc5ad5f8f522e29feca5
2022-02-08 10:21:53 +00:00
Junyu Lai
2ac0a6c4f5 [MS55.1] Move NetworkStateSnapshot into module folder
Test: TH
Bug: 197717846

Change-Id: Ib8bb4d67a1774fdb1594c61aed2ce112ce94972e
Merged-In: Ib8bb4d67a1774fdb1594c61aed2ce112ce94972e
2022-02-08 17:38:36 +08:00
Xin Li
f55c524f34 Merge SQ1A.220205.002
Bug: 213904741
Merged-In: Ib2b0342af85679c0514fb4d88530376b58e6e12a
Change-Id: I82a9718a548507487ab9fa1795e08fc42dca0086
2022-02-07 23:18:56 -08:00
Jacinta Hu
8a40a85202 Fix typo
Change-Id: Iaeda5c91ba1b776cb7e5d208795dcb77247ef1d0
2022-02-08 03:26:48 +00:00
Chalard Jean
87d4c529e0 Update VPN event strings for the IKE lib update
With a recent update, the IKEv2 library exposed the internal
errors happening on the link. This had us realize one error
code was a little bit ill-named and the other can't be exposed
because the system doesn't know about it happening.

Update the name of the events for this.

Test: m
Change-Id: I228b8309acbb5f599b908633923b16cd09e9c0af
2022-02-08 11:18:24 +09:00
Shubham Dubey
433468ed0b Fix CTS failure caused by ag/16284012
BUG:216049141
Test: CTS ImsServiceTest#testProvisioningManagerWhen(Mmtel/Rcs)ProvisionIs(Not)Required

Change-Id: I5265485feac8c5d718288702025c6276f20bb1f0
Merged-In: I5265485feac8c5d718288702025c6276f20bb1f0
2022-02-08 02:10:12 +00:00
Hakjun Choi
0860f1b1b9 Add Provisioning bundle for indicating if MMTEL/RCS provisioning is required
Bug: 214885306
Test: CTS ImsServiceTest#testProvisioningManagerWhen(Mmtel/Rcs)ProvisionIs(Not)Required

Change-Id: I9e0eff60dde4a9f4ea254fa5f8efedd9f5881632
Merged-In: I9e0eff60dde4a9f4ea254fa5f8efedd9f5881632
2022-02-08 02:08:47 +00:00
Hakjun Choi
893cc94036 Add public API to ProvisioningManager for IMS/RCS provisioning by
updatable provisioning app

Bug: 197992603
Test: CTS ImsServiceTest#testProvisioningManagerWhen(Mmtel/Rcs)ProvisionIs(Not)Required
Change-Id: I4fc0759111d15cec01a49a78cda5065bfb7e6c65
Merged-In: I4fc0759111d15cec01a49a78cda5065bfb7e6c65
2022-02-08 02:08:17 +00:00
Jonggeon Kim
5e08b37786 ImsService Subscription Notifications
Provide a new API in ImsService that creates a new version of each ImsFeature and dependencies when a new subId is loaded.
The ImsService handles ImsFeature setup and teardown procedures to happen on a per-subscription basis instead of on a per-slot basis.
Provide the compatibility behavior for older devices that are not upgrading to using the new API.

Bug: 197991451
Test: atest FrameworksTelephonyTests:ImsServiceTest, atest CtsTelephonyTestCases:ImsServiceTest
Merged-In: I231da2f4479d4a4fb272edbf27e49f46833a082a
Change-Id: I231da2f4479d4a4fb272edbf27e49f46833a082a
2022-02-08 02:07:53 +00:00
virkumar
e5c38399ec (ImsService API changes for Better IMS Threading) ImsService to execute binder calls in Executor.
In order to avoid undefined behavior when the framework calls a method through IPC, the ImsService
will now be able to define an Executor that the ImsService can be used to execute the methods

By default all ImsService level method calls will use this Executor.
Sub-classes will also use this Executor unless specified via constuctor which takes executor as an argument.

Test: atest CtsTelephonyTestCases:ImsCallingTest
Bug: 171037053
Merged-In: I10621f9a767ba5bc55373f49caf426e66adbec77
Change-Id: I10621f9a767ba5bc55373f49caf426e66adbec77
2022-02-08 02:07:26 +00:00
Treehugger Robot
81568fa22f Merge "Delete legacy fs-verity support" 2022-02-08 00:48:19 +00:00
Felipe Leme
5f09bb49f0 Merge "Adds OWNERS to com.androd.internal.util.dump" 2022-02-08 00:24:38 +00:00
Joonhun Shin
bbe3fe79ee Merge "Add RCS UP 2.4 profile string" 2022-02-08 00:03:51 +00:00
Yabin Cui
cca4059356 profcollectd: register callback to wait until ETM is ready.
ETM may not be ready after boot. So after connecting to profcollectd,
register ProviderStatusCallback to wait until ETM is ready.

Bug: 213519191
Test: on oriole EVT and DVT devices, profcollectd can record applaunch
Test: profiles.
Change-Id: I15326b0c95afcf44cd2e85d063496311dda0d04d
2022-02-07 13:05:47 -08:00
James Mattis
6db38c75b0 Merge "Marking eth network management APIs @SystemApi" 2022-02-07 20:26:40 +00:00
Steven Moreland
79e6ecfbf1 HwRemoteBinder: fix race for concurrent binderDied
Suspected cause of a crash.

Fixes: 217616202
Test: atest hidl_test_java
Change-Id: I5b158bee195561ec6c5746b308913c47282114bf
2022-02-07 19:56:24 +00:00
Felipe Leme
16c1aedbf3 Adds OWNERS to com.androd.internal.util.dump
Test: no, thanks
Bug: 149254050

Change-Id: I7af006ffdfa768b887ff2c7bde970efbc1b1f297
2022-02-07 09:42:26 -08:00
Eran Messeri
9d805c35d0 Merge "KeyStore: Verbose error reporting" 2022-02-07 17:26:08 +00:00
Treehugger Robot
06a35d9039 Merge "Remove asapperstein from OWNERS." 2022-02-07 16:56:01 +00:00
John Reck
8abc52aad7 Merge "Add some top-level OWNERs" 2022-02-07 16:40:39 +00:00
Sam Gilbert
93fdf4dd29 Adding metalava team to OWNERS to be able to disable metalava checks that will break platform build.
Change-Id: Ie9b32cc3b59eb4059203fed6ade40a2ca0cfee5a
2022-02-07 15:35:03 +00:00
Venkatarama NG. Avadhani
022c04c958 CEC: Modify Standby Mode Handler
Add standby mode handler for generic device. Earlier, only TV devices
would use the standby mode handler to filter messages or feature abort
them when in standby. This does not change the standby mode handling of
TV devices.

Test: atest
android.hdmicec.cts.playback.HdmiCecRemoteControlPassThroughTest#cect_hf4_8_13_AbortIncorrectMode
Bug: 211843422

Change-Id: Ie00e16231e385db0f2d280f088882d5d0f9a8add
Merged-In: Ie00e16231e385db0f2d280f088882d5d0f9a8add
2022-02-07 18:26:47 +05:30
Anton Hansson
9a4e4e9156 Merge "Auto-generate list of module impl jars" 2022-02-07 11:51:11 +00:00
Treehugger Robot
4274dee38b Merge "Catch SecurityException when sending clip change broadcast." 2022-02-07 11:07:18 +00:00
Hyundo Moon
210e971984 Show volume bar when BLE device's volume is changed
Bug: 211836364
Test: atest (--host) bluetooth_vc_test:VolumeControlTest
      Tested volume changes from earbuds and from phone
      while playing music
Change-Id: I9895578bd2ecda0607f808d645e0acf3a01e1db6
2022-02-07 17:08:00 +09:00
Treehugger Robot
e8a2915699 Merge "Delete DhcpResults from frameworks/base." 2022-02-07 07:24:27 +00:00
Lorenzo Colitti
b5e914a343 Delete DhcpResults from frameworks/base.
This class is only used by NetworkStack, so move it to the
NetworkStack project.

Test: m
Change-Id: I356ee7b24613e84b8a90ddccd6d25d0742d13ae7
Merged-In: I356ee7b24613e84b8a90ddccd6d25d0742d13ae7
2022-02-07 06:03:11 +00:00
rickywai
767c2ba770 Merge "Check the data directory before mount tmpfs" 2022-02-06 23:14:37 +00:00
Treehugger Robot
b4bcc85925 Merge "Add constant for SC V2." 2022-02-05 01:20:06 +00:00
James Mattis
51f72b15d1 Marking eth network management APIs @SystemApi
Annotating ethernet network management APIs in EthernetManager
with @SystemApi.

Bug: 210485380
Test: atest EthernetServiceTests
atest CtsNetTestCasesLatestSdk

Change-Id: I10429441fd4d7b9bcaa7437b844420a43a415d72
Merged-In: I10429441fd4d7b9bcaa7437b844420a43a415d72
2022-02-04 17:09:34 -08:00
Treehugger Robot
1962b10531 Merge "Add key / value data structures for IBpfMaps" 2022-02-04 23:39:29 +00:00
John Reck
5ec2b572eb Add some top-level OWNERs
To keep their respective per-files updated primarily

Test: N/A
Change-Id: Ib5fbeac665fc1cfd01ff62ef61ec910e5c516669
2022-02-04 18:26:08 -05:00
James Mattis
e4ad2e515e Merge "Adding permission for Ethernet Network Management" 2022-02-04 23:05:27 +00:00
Dave McCloskey
f4a4508e64 Merge "Add TRUST_LISTENER to the shell for use in CTS tests" 2022-02-04 22:58:26 +00:00
Treehugger Robot
81f5901e83 Merge "Add background blur activity to silkfx" 2022-02-04 22:52:59 +00:00
Jing Ji
cbcb665dee Merge "Record tombstone proto file's timestamp into the dropbox" 2022-02-04 20:52:28 +00:00
Ling Ma
5a175d8a4a Unhide API setAllowedNetworkTypesForReason and getSupportedRadioAccessFamily
Make Carrier APIs public for not-preinstalled carrier app to determine whether UE is 5G-capable and set 5G capability

Test: atest cts/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java
Bug: 213937426

Change-Id: I758cad74296e59618122853f479ad4f0c261d726
Merged-In: I758cad74296e59618122853f479ad4f0c261d726
2022-02-04 19:41:32 +00:00
Galia Peycheva
fe59c4de42 Add background blur activity to silkfx
Bug: 213292227
Test: m SilkFX && adb install $OUT/testcases/SilkFX/arm/SilkFX.apk
Test: adb shell am start -n com.android.test.silkfx/.materials.BackgroundBlurActivity
Change-Id: I1692a53460b64b5a49d14736b2b680069217fa1d
2022-02-04 19:40:57 +00:00