Commit Graph

33842 Commits

Author SHA1 Message Date
Treehugger Robot
5dadc03362 Merge "health: drop backup instance for non-recovery." am: c900d6f20e am: 80d053dcb1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861817

Change-Id: I788aa85b029924d6ffaf1a34ba634c7ba180c57a
2021-10-19 20:54:18 +00:00
Treehugger Robot
80d053dcb1 Merge "health: drop backup instance for non-recovery." am: c900d6f20e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861817

Change-Id: I40fc18ab097d711c40e19c8517e620b2d19b3fff
2021-10-19 20:43:31 +00:00
Treehugger Robot
c900d6f20e Merge "health: drop backup instance for non-recovery." 2021-10-19 20:23:56 +00:00
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
Treehugger Robot
dfad79e668 Merge "Update OWNERS for VtsHalContexthub tests." am: 46753c42c2 am: 3a160584e0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861819

Change-Id: Ie5b96b01f0bbcf1366589b9506f1e2a4996354d1
2021-10-19 13:35:12 +00:00
Treehugger Robot
3a160584e0 Merge "Update OWNERS for VtsHalContexthub tests." am: 46753c42c2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861819

Change-Id: Ia873f977490b25acb159444274d3fe0f21fc87ad
2021-10-19 13:12:58 +00:00
Treehugger Robot
46753c42c2 Merge "Update OWNERS for VtsHalContexthub tests." 2021-10-19 12:52:53 +00:00
Treehugger Robot
b39571852d Merge "Backfill owner information for VTS module VtsHalOemLockV1_0TargetTest." am: 80161cfc16 am: 40234ee63b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1813766

Change-Id: I92e22b9ce795b6a871972f6055ea22ddeda04630
2021-10-19 02:53:05 +00:00
Treehugger Robot
40234ee63b Merge "Backfill owner information for VTS module VtsHalOemLockV1_0TargetTest." am: 80161cfc16
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1813766

Change-Id: I6a0d224ac075c7e70e0aa5796971d8d17372aea9
2021-10-19 02:36:48 +00:00
Treehugger Robot
80161cfc16 Merge "Backfill owner information for VTS module VtsHalOemLockV1_0TargetTest." 2021-10-19 02:16:30 +00:00
Treehugger Robot
b0f892dad1 Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793006

Change-Id: I4abc372f26d69454b8f7fb9c16429d094891c2bf
2021-10-19 01:29:26 +00:00
Treehugger Robot
ec003365b1 Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793006

Change-Id: I2e4a88da6cf42c0b79a83031253e2f6c18171b78
2021-10-19 01:11:54 +00:00
Treehugger Robot
b27df86140 Merge "Update OWNERS for VtsHalWifiSupplicant tests." 2021-10-19 00:55:03 +00:00
Yiming Pan
97f2192a92 Update OWNERS for VtsHalContexthub tests.
Added a bug component where issues seen on this test are triaged.

Test: Tree Hugger
Bug: 143903671
Change-Id: Id0dd876c00206c372e7fa608fdd731be3d4d72bb
2021-10-18 17:18:04 -07:00
Michael Butler
36c599d513 Merge "Allow implicit conversions for NN errors -- hal" am: 68e98f40dc am: d236dbf3b3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1859936

Change-Id: I192058c05f2998b5592bec477222648a88861790
2021-10-18 23:21:54 +00:00
Michael Butler
d236dbf3b3 Merge "Allow implicit conversions for NN errors -- hal" am: 68e98f40dc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1859936

Change-Id: I923b800bacb7c968b7d2be67c943aab402b2248e
2021-10-18 23:05:32 +00:00
Michael Butler
68e98f40dc Merge "Allow implicit conversions for NN errors -- hal" 2021-10-18 22:45:51 +00:00
Treehugger Robot
58e3e65a63 Merge "Revert "VTS: Test that configs in a group differ only by vsync period"" am: b350c7cf49 am: 3741e92674
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1830034

Change-Id: I1a867a5b527f2b46f6b7fe07dad3d35dddd18f08
2021-10-18 22:05:07 +00:00
Treehugger Robot
3741e92674 Merge "Revert "VTS: Test that configs in a group differ only by vsync period"" am: b350c7cf49
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1830034

Change-Id: I04075d9e644eebc0b1e7235344a2090c80cb2556
2021-10-18 21:53:16 +00:00
Treehugger Robot
b350c7cf49 Merge "Revert "VTS: Test that configs in a group differ only by vsync period"" 2021-10-18 21:39:37 +00:00
Treehugger Robot
977156e1b8 Merge "Revert "Clarify the ComposerClient comment for CONFIG_GROUP"" am: 184c1b546c am: 47c7b2f334
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1830033

Change-Id: I86ac6781620951899f9f5e756916583bad78b5e2
2021-10-18 21:27:13 +00:00
Treehugger Robot
47c7b2f334 Merge "Revert "Clarify the ComposerClient comment for CONFIG_GROUP"" am: 184c1b546c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1830033

Change-Id: Ie647ea4237f10ad0460643c7dea97a54cab47ee7
2021-10-18 21:14:31 +00:00
Treehugger Robot
184c1b546c Merge "Revert "Clarify the ComposerClient comment for CONFIG_GROUP"" 2021-10-18 20:56:12 +00:00
Snild Dolkow
0e9328e213 Revert "Clarify the ComposerClient comment for CONFIG_GROUP"
This reverts commit 37c5495c52.

This "clarification" was in fact a change of the HAL interface,
introducing a new requirement which was not present in earlier
Android releases. There are devices on the market that switch
seamlessly between configs that differ in resolution and DPI,
and therefore have those configs in a config group.

Bug: 200184776
Merged-In: I5bba1c6532f5f46da874385164a0bc0cc0435225
Change-Id: I5bba1c6532f5f46da874385164a0bc0cc0435225
2021-10-18 20:55:31 +00:00
Ian Hua
6dcb9f9765 Merge "AIDL interface changes for NNAPI feature level 6." am: 5dc5f2633f am: f385f9d59a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1827694

Change-Id: I5ef34ee973b105b1c3c3296940473d7b1fd38607
2021-10-18 20:35:37 +00:00
Snild Dolkow
bf484a6adb Revert "VTS: Test that configs in a group differ only by vsync period"
This reverts commit 6f36dd6e31.

Differing only by vsync period was not a requirement on Android R, and
it shouldn't be added after-the-fact to an existing HAL version.

There are devices on the market that switch seamlessly between configs
that differ in resolution/dpi, and therefore have those configs in a
common group.

Bug: 200184776
Change-Id: Id0bfc67e55d5139fddb2b359cabafd9281c33734
2021-10-18 20:31:52 +00:00
Ian Hua
f385f9d59a Merge "AIDL interface changes for NNAPI feature level 6." am: 5dc5f2633f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1827694

Change-Id: If83c8c2759ea0e77534c03d990b618f1f4301879
2021-10-18 20:17:48 +00:00
Ian Hua
5dc5f2633f Merge "AIDL interface changes for NNAPI feature level 6." 2021-10-18 20:03:59 +00:00
Treehugger Robot
612c47898d Merge "Backfill owner information for VtsHalVibrator*." am: ad56c830f3 am: 7253b8fdcc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814058

Change-Id: I78be4cc9c79a7539798eb695a15001588d44c39a
2021-10-18 18:39:18 +00:00
Treehugger Robot
7253b8fdcc Merge "Backfill owner information for VtsHalVibrator*." am: ad56c830f3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814058

Change-Id: I971bd0728e4745393a7238697508bfdf1f8f8c33
2021-10-18 18:24:18 +00:00
Treehugger Robot
fedf81818a Merge "Backfill OWNERS for VtsHalGraphicsMapper tests." am: cd6ab41533 am: eeaedb225d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1858914

Change-Id: I2492b5bc604331e06af01c8cd736ab6b7c6d9c5f
2021-10-18 18:19:39 +00:00
Treehugger Robot
ad56c830f3 Merge "Backfill owner information for VtsHalVibrator*." 2021-10-18 18:09:23 +00:00
Treehugger Robot
eeaedb225d Merge "Backfill OWNERS for VtsHalGraphicsMapper tests." am: cd6ab41533
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1858914

Change-Id: If64e2f5aa678b8e8fedda1497188e8a15c765b8f
2021-10-18 17:58:54 +00:00
Treehugger Robot
cd6ab41533 Merge "Backfill OWNERS for VtsHalGraphicsMapper tests." 2021-10-18 17:41:51 +00:00
Ian Hua
068df81ab6 AIDL interface changes for NNAPI feature level 6.
- Add BATCH_MATMUL operation
- Support TENSOR_INT32 for RESHAPE operation.

Also update "current" version snapshot and use
android.hardware.neuralnetworks-V2-ndk since AIDL v1 has been frozen.

Bug: 193012662
Bug: 200281183
Test: mm
Change-Id: Iabe45c57e2306d61055f711eda03b80b9cbe906d
Merged-In: Iabe45c57e2306d61055f711eda03b80b9cbe906d
2021-10-18 11:38:55 +01:00
Yomna Nasser
1e9479c3d2 Merge "VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap" am: b1e7ca32c6 am: 181f064c5b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1844579

Change-Id: I650345931c6624a7eed526572e36a70eedf77d77
2021-10-16 02:50:58 +00:00
Yomna Nasser
181f064c5b Merge "VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap" am: b1e7ca32c6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1844579

Change-Id: I678cc1a2bd31fe0143a281d031b62b2b9bc22a56
2021-10-16 02:34:24 +00:00
Yomna Nasser
b1e7ca32c6 Merge "VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap" 2021-10-16 02:21:12 +00:00
Michael Butler
ff9a5a527a Allow implicit conversions for NN errors -- hal
This change allows GeneralErrors to be created from a string and allows
ExecutionErrors to be created from a string or a GeneralError.
This makes error handling more terse, removing the need for helper
functions such as makeGeneralFailure or makeExecutionFailure.

Bug: N/A
Test: mma
Change-Id: I8c5e80a2eb4f399fad64aab763fe6fa08cf8d1db
2021-10-15 16:37:09 -07:00
Yiming Pan
f3f344a134 Backfill owner information for VtsHalVibrator*.
Owner information is backfilled for the following modules:
VtsHalVibratorTargetTest
VtsHalVibratorV1_0TargetTest
VtsHalVibratorV1_1TargetTest
VtsHalVibratorV1_2TargetTest
VtsHalVibratorV1_3TargetTest

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: I72b6f2312cd1863e24a05160d688bac86378e37a
2021-10-15 16:29:59 -07:00
Przemyslaw Szczepaniak
f64e152e7b Merge "Update OWNERS file" am: 996054b24f am: fd6488319e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1857518

Change-Id: If021739bb2141a5bbebd1884fb21d9719a2f318a
2021-10-15 11:34:14 +00:00
Przemyslaw Szczepaniak
fd6488319e Merge "Update OWNERS file" am: 996054b24f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1857518

Change-Id: I0098937c65ebf795122c309630b5ffd9b4184b81
2021-10-15 11:15:47 +00:00
Przemyslaw Szczepaniak
996054b24f Merge "Update OWNERS file" 2021-10-15 11:02:37 +00:00
Roshan Pius
1c0b3ad440 wifi(vts): Precondition AP tests on existence of hostapd HAL am: 274eadd581 am: facaf07418
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1857796

Change-Id: Ib7e1c296a8768bda9a910851333c5e241d847089
2021-10-15 07:47:03 +00:00
Roshan Pius
facaf07418 wifi(vts): Precondition AP tests on existence of hostapd HAL am: 274eadd581
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1857796

Change-Id: I0ba02c393dfd6782f68b48adb6e5b079e58d8d07
2021-10-15 07:30:49 +00:00
Roshan Pius
274eadd581 wifi(vts): Precondition AP tests on existence of hostapd HAL
cp: aosp/1428863 to master branch

This used to be present on the old host side VTS tests, port the feature to
target side since host side VTS tests are deprecated.

Also,
i) Added a separate test: VtsHalWifiV1_4TargetTest to test the wifi
chip methods. Putting them in VtsHalWifiApV1_4TargetTest will prevent
these from running on devices without AP feature.
ii) Ensured all the non-NAN, non-RTT tests disable framework for
testing. NAN/RTT tests uses framework to check if the corresponding
package manager feature exists.

Bug: 166529516
Test: atest \
VtsHalWifiApV1_0TargetTest \
VtsHalWifiApV1_4TargetTest \
VtsHalWifiV1_0TargetTest \
VtsHalWifiV1_4TargetTest

Change-Id: I05aab6992277601633a0f926a8262c4c27402e93
2021-10-15 09:48:23 +08:00
Yiming Pan
af359f3acf Backfill OWNERS for VtsHalGraphicsMapper tests.
Done for the following tests:
VtsHalGraphicsMapperV2_0TargetTest
VtsHalGraphicsMapperV2_1TargetTest
VtsHalGraphicsMapperV3_0TargetTest
VtsHalGraphicsMapperV4_0TargetTest

Deleted the OWNERS file I created earlier to comply to your team's
convention.

Test: Tree Hugger
Bug: 143903671
Change-Id: I07790171fc1a42da37a43f590d8c5c2876ad1bfe
2021-10-14 17:45:53 -07:00
Treehugger Robot
bd41ebd041 Merge "Backfill owner information for VtsHalWifi tests." am: 1caa761eeb am: 850ae76c91
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1856688

Change-Id: Ie0c66bd0f589f6ae556466f7838419166e86e679
2021-10-14 22:01:36 +00:00
Michael Butler
608210f72c Merge "Handle error returned by IBurstContext::freeMemory" am: f3bd4751a3 am: 1b085b37c8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1856680

Change-Id: I5fbadc2b37a38adc91fb1f8cfc40f0841eb334e7
2021-10-14 22:01:30 +00:00
Treehugger Robot
850ae76c91 Merge "Backfill owner information for VtsHalWifi tests." am: 1caa761eeb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1856688

Change-Id: I9e0b0a2a0cf29d341440bf2e19f148deda10e021
2021-10-14 21:44:52 +00:00