Commit Graph

33512 Commits

Author SHA1 Message Date
Yifan Hong
a76a2bf65b health: drop backup instance for non-recovery.
For the core variant (system), clients like storaged
etc. should no longer access the "backup" instance, because
healthd is removed from the system image.

For the vendor variant, this would only break if a
vendor image were launched with Android O / O-MR1 (so
health@2.0 is not required), and were compiled against an
Android T (and above) source tree (which won't check
the "backup" instance). This shouldn't be a valid configuration.

For the recovery variant, the "backup" instance has a different
meaning. It points to

  android.hardware.health@2.0-impl-default.recovery

... which was assumed by OEMs to be always installed when a
vendor-specific libhealthd is not necessary. Hence, its behavior
is kept. See

  hardware/interfaces/health/2.0/README.md

android.hardware.health@2.0-impl-default.recovery, and subsequently the
special handling of recovery mode below, can be removed once health@2.1
is the minimum required version (i.e. compatibility matrix level 3 is
removed). Health 2.1 requires OEMs to install the implementation
to the recovery partition when it is necessary (i.e. on non-A/B devices,
where IsBatteryOk() is needed in recovery).

Test: pass
Bug: 203245871

Change-Id: Ife14f5bdaba20e4cf5bd0b954aea4d04a62009c4
2021-10-19 12:50:11 -07:00
Shawn Willden
13274fa22d Merge "Delete KM1" 2021-10-09 00:46:52 +00:00
Shuo Qian
1ea58ef3a4 Merge "Config the number of live modems based on current multisim number." 2021-10-08 18:32:00 +00:00
Shuo Qian
07f1c21f4a Skip slot 2 for other radio modules in single sim mode
Bug: 199986032
Test: atest
Change-Id: Idc115954c8ccb26a6127a80d466f22559be641d2
Merged-In: Idc115954c8ccb26a6127a80d466f22559be641d2
(cherry picked from commit c6a7143b1d)
2021-10-08 16:26:21 +00:00
Shuo Qian
b96b0ec884 Config the number of live modems based on current multisim number.
Test: atest VtsHalRadioConfigV1_1TargetTest
Bug: 200889748
Change-Id: If2aca6add38b801be011797c1da4c8de32f1bef6
Merged-In: If2aca6add38b801be011797c1da4c8de32f1bef6
(cherry picked from commit 400ce4ff76)
2021-10-08 16:25:26 +00:00
Yiming Pan
54ac1cbb35 Merge "Add OWNERS for VTS module VtsHalAuthSecretV1_0TargetTest" 2021-10-08 00:24:16 +00:00
Xin Li
59772dd098 Merge "Merge Android 12" 2021-10-07 23:49:53 +00:00
Yiming Pan
2091c6c619 Merge "Update owner information for VTS module VtsHalBluetoothA2dpV1_0TargetTest." 2021-10-07 23:15:30 +00:00
Sandeep Jawalkar
d45fd704fe Merge "[Android T][MEP]: HAL changes for MEP feature" 2021-10-07 16:38:43 +00:00
Shawn Willden
50f70d73da Delete KM1
Test: Build
Change-Id: Iee6ec98163dff3a969debd9f4343c7b06ebe8d4f
2021-10-07 09:43:32 -06:00
Yiming Pan
6a81814f5a Add OWNERS for VTS module VtsHalAuthSecretV1_0TargetTest
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: Icb70e24ad39faa25094ee974219fd3a86a2e7b71
2021-10-06 18:12:10 -07:00
Xin Li
ac9783cd54 Merge Android 12
Bug: 202323961
Merged-In: I76b505672b7c78b03a9c79df6473212ea5c65072
Change-Id: I262cbcc8dcfb0cad2b8e2f393c95829afe6b3827
2021-10-06 23:58:29 +00:00
Yiming Pan
9c1c9c65b4 Merge "Backfill owner information for VTS module VtsHalThermalV1_0TargetTest." 2021-10-06 22:37:18 +00:00
David Drysdale
4e9cab823d Merge "KeyMint VTS: don't crash on invalid patchlevel" am: e1152b6390
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1844900

Change-Id: I76b505672b7c78b03a9c79df6473212ea5c65072
2021-10-05 14:09:00 +00:00
David Drysdale
e1152b6390 Merge "KeyMint VTS: don't crash on invalid patchlevel" 2021-10-05 13:54:09 +00:00
David Drysdale
22a5ccd132 Merge "KeyMint VTS: enable patchlevel checks" am: 8fb4a1c82e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1840175

Change-Id: I8b58efc55b884da16fe1312d571f42852ce642ff
2021-10-05 10:08:25 +00:00
David Drysdale
8fb4a1c82e Merge "KeyMint VTS: enable patchlevel checks" 2021-10-05 09:54:27 +00:00
David Drysdale
168228a933 KeyMint VTS: don't crash on invalid patchlevel
If vendor/boot patchlevel is shorter than the expected YYYYMMDD format,
fail properly rather than crashing the VTS test process.

Bug: 201946955
Test: VtsAidlKeyMintTargetTest
Change-Id: Icf3541e1b76675871672edec8590ec1821770acf
2021-10-05 08:56:39 +01:00
sandeepjs
e4bee9de18 [Android T][MEP]: HAL changes for MEP feature
Test: build
Bug: 199559065
Change-Id: I533c73bed0235fe58a583f04ca66d4bc9e08ced0
2021-10-05 02:57:17 +00:00
Treehugger Robot
bfeb55a6f4 Merge "Accept NONE as a response for setDataThrottling during VTS." am: 83398c025f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839433

Change-Id: Ia202c31172b3858a641759999d581c0213a89c1a
2021-10-04 17:48:09 +00:00
Treehugger Robot
83398c025f Merge "Accept NONE as a response for setDataThrottling during VTS." 2021-10-04 17:36:43 +00:00
Yiming Pan
29828bc55a Merge "Add OWNERS for VTS module VtsHalBiometricsFingerprintV2_1TargetTest" am: 9f62451015
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793837

Change-Id: I928b4b4c013f9109190538871b67dade51547fae
2021-10-01 00:36:41 +00:00
Yiming Pan
9f62451015 Merge "Add OWNERS for VTS module VtsHalBiometricsFingerprintV2_1TargetTest" 2021-10-01 00:34:46 +00:00
Treehugger Robot
04b07667ef Merge "Backfill owner information for VTS module VtsHalNfcV1_0TargetTest." am: 7b41c06107
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1813764

Change-Id: I33ffb4804f3ae6741187794f1adc49122235bdf6
2021-10-01 00:32:30 +00:00
Treehugger Robot
7b41c06107 Merge "Backfill owner information for VTS module VtsHalNfcV1_0TargetTest." 2021-10-01 00:16:42 +00:00
Treehugger Robot
2cd112ea8b Merge "Backfill owner information for VTS module VtsHalNfcV1_1TargetTest." am: a84cdf6c20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1813765

Change-Id: I346a99716247f63685acd1109d6f50bd69bc5aad
2021-10-01 00:09:29 +00:00
Treehugger Robot
a84cdf6c20 Merge "Backfill owner information for VTS module VtsHalNfcV1_1TargetTest." 2021-09-30 23:57:12 +00:00
Yiming Pan
e754a42a12 Merge "Backfill owner information for VTS module VtsHalBroadcastradioV1_1TargetTest." am: 0dd042634b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814072

Change-Id: Ia81d0f495bef954db021ca466f83eac7d94f176c
2021-09-30 19:23:18 +00:00
Yiming Pan
0dd042634b Merge "Backfill owner information for VTS module VtsHalBroadcastradioV1_1TargetTest." 2021-09-30 19:09:29 +00:00
Yiming Pan
84cadeb7e9 Backfill owner information for VTS module VtsHalBroadcastradioV1_1TargetTest.
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I6545fdf32f1181af8bb179e843b12edb4c2c0073
2021-09-29 20:58:19 -07:00
Yiming Pan
1698249ddd Merge "Backfill owner information for VTS module VtsHalHealthV2_1TargetTest." am: c076175c35
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814136

Change-Id: If5c32786a0b8502443b35dbd563cc76dfdc17773
2021-09-30 00:36:58 +00:00
Yiming Pan
a93698ce37 Merge "Backfill owner information for VTS module VtsHalSoundtriggerV2_3TargetTest." am: 6a582708ff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814067

Change-Id: Ic23ed9cb701205405ca7a01c7ba2e74ddc1697b8
2021-09-30 00:36:53 +00:00
Yiming Pan
c076175c35 Merge "Backfill owner information for VTS module VtsHalHealthV2_1TargetTest." 2021-09-30 00:22:11 +00:00
Yiming Pan
6a582708ff Merge "Backfill owner information for VTS module VtsHalSoundtriggerV2_3TargetTest." 2021-09-30 00:21:40 +00:00
Yiming Pan
4fac3cc499 Merge "Backfill owner information for VTS module VtsHalBroadcastradioV1_0TargetTest." am: c3a30ff53e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814071

Change-Id: I0ddc998ed9a659a689d73b5b291bb26121ffd45d
2021-09-29 22:51:40 +00:00
Yiming Pan
c3a30ff53e Merge "Backfill owner information for VTS module VtsHalBroadcastradioV1_0TargetTest." 2021-09-29 22:42:07 +00:00
Treehugger Robot
15ee6fa3f0 Merge "Backfill owner information for VTS module VtsHalCanBusV1_0TargetTest." am: f997f54349
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814073

Change-Id: Ib3fa65cd6f70f6b3bc99a7a8e903b1ede5e3b364
2021-09-29 21:25:15 +00:00
Treehugger Robot
684aa290fd Merge "Backfill owner information for VTS module VtsHalSoundtriggerV2_1TargetTest." am: 50363c763b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1813775

Change-Id: I78a5e54ab28f51da8796f64de5f7056b0aaa32f2
2021-09-29 21:25:09 +00:00
Treehugger Robot
4293eb7110 Merge "Backfill owner information for VTS module VtsHalSoundtriggerV2_0TargetTest." am: 0f312cff5c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1813774

Change-Id: Ie79cc801bc8270e0759ef20f52d6a6f6c86d2a1f
2021-09-29 21:25:03 +00:00
Treehugger Robot
f997f54349 Merge "Backfill owner information for VTS module VtsHalCanBusV1_0TargetTest." 2021-09-29 21:17:45 +00:00
Treehugger Robot
50363c763b Merge "Backfill owner information for VTS module VtsHalSoundtriggerV2_1TargetTest." 2021-09-29 21:10:05 +00:00
Treehugger Robot
0f312cff5c Merge "Backfill owner information for VTS module VtsHalSoundtriggerV2_0TargetTest." 2021-09-29 21:10:01 +00:00
Yiming Pan
5fabea0a5b Backfill owner information for VTS module VtsHalBroadcastradioV1_0TargetTest.
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I06651b2ebbc622e59d240b3b988beffd8887459e
2021-09-29 13:32:51 -07:00
Yiming Pan
4ce06fcaf6 Update owner information for VTS module VtsHalBluetoothA2dpV1_0TargetTest.
Test: Tree Hugger
Bug: 143903671
Change-Id: I85d027e8622f70bc9261a36d81ed564d51323cd8
2021-09-29 11:39:30 -07:00
Yiming Pan
ba7e3994bc Backfill owner information for VTS module VtsHalCanBusV1_0TargetTest.
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I0f9790146d64200ccbfa364ba2e12d016c6d0629
2021-09-29 11:06:23 -07:00
Xin Li
b93183c092 Merge "Merge SP1A.210812.016" into stage-aosp-master 2021-09-29 05:31:39 +00:00
Jack Nudelman
a784a1c963 Accept NONE as a response for setDataThrottling during VTS.
Bug: 199809900
Test: b/199809900
Change-Id: I3b71401c28eb2f06c020f549a28ef5970282c855
2021-09-28 14:22:20 -07:00
Xin Li
4824f4b821 Merge SP1A.210812.016
Merged-In: I0b9a14345475e432b93f92c23010a8b39712443a
Change-Id: I79e2c0efedea1a3f52354c83645a6090dc6bc02e
2021-09-28 19:38:53 +00:00
Yiming Pan
e988b0f6c7 Merge "Backfill owner information for VTS module VtsHalKeymasterV4_0TargetTest." am: ea60a110ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1813761

Change-Id: I65bd9c3bde86a4d297419bda45c2ea5ab1ad08d7
2021-09-28 15:50:15 +00:00
Yiming Pan
5f27f901cd Merge "Backfill owner information for VTS module VtsHalKeymasterV3_0TargetTest." am: 1a1b23ecf4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1813760

Change-Id: I749ee3fb64eb5997a11492856d24f44f06da4261
2021-09-28 15:50:09 +00:00