Commit graph

35025 commits

Author SHA1 Message Date
Treehugger Robot
c900d6f20e Merge "health: drop backup instance for non-recovery." 2021-10-19 20:23:56 +00:00
Yifan Hong
9ca39cef7f health: AIDL add owners.
... for usage in other places.

Test: none
Bug: 177269435
Change-Id: I74ea2a497237d966db0c146868c61a1a667e8cca
2021-10-19 19:51:58 +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
Sunil Ravi
6adbab13ee Update the p2p device interface name
In some implementations P2P device interface is created under
primary interface(wlan0 by default). In those implementations
p2p device name is predefined in system property wifi.direct.interface.
And the interface is created by supplicant with primary interface as
the parent interface. The naming of p2p device interface is
p2p-dev-<parent interface> ("p2p-dev-wlan0").

With STA+STA feature, wlan0 interface gets deleted in certain scenarios
and wlan1 becomes the active interface. In such scenarios P2P fails to
create the interface as parent interface wlan0 is deleted.

To fix the issue update the p2p device interface from system property
based on the current active wlan interface. ie First get the p2p parent
interface name from p2p device interface name set in property.
Check if the parent interface derived from p2p device interface name is
the current active interface. If not, get the current active interface
and update the name as p2p-dev-<ifname> ("p2p-dev-wlan1").
This helps HIDL/supplicant to get an active wlan interface from p2p
device interface name and succeed in creating the p2p interface under the
active interface.

Bug: 203434193

Test: Manual - Tested STA+STA which ended up deleting wlan0 interface.
      Then ran p2p tests and confirmed that p2p scan and connection
      works.
Change-Id: I522cec02a662c057e21d434f3ed98c7e7a4ca8f0
Merged-In: I522cec02a662c057e21d434f3ed98c7e7a4ca8f0
(cherry picked from commit 7f2822aff7)
2021-10-19 18:14:26 +00:00
David Gross
79d63db0c8 Add PACK operation to NNAPI feature level 6.
Bug: 200281183
Bug: 200280665

Test: m -j NeuralNetworksTest_static
Test: VtsHalNeuralnetworksTargetTest

Change-Id: Ic15d047b70c62437b4f0db6f2ca10127591ae07c
2021-10-19 11:04:57 -07:00
TreeHugger Robot
87034011f0 Merge "wifi: extending framework restart waiting time" into sc-v2-dev am: c69d81e5f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16063834

Change-Id: Iaa650b3b3edf214f556fbfd4dbed0cf27bf60ae9
2021-10-19 17:23:15 +00:00
TreeHugger Robot
c69d81e5f3 Merge "wifi: extending framework restart waiting time" into sc-v2-dev 2021-10-19 17:06:10 +00:00
Treehugger Robot
eacb2b9cff Merge "Update OWNERS for VtsHalContexthub tests." am: 46753c42c2 am: 3a160584e0 am: dfad79e668 am: 44d17161b4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861819

Change-Id: I616e51b6c849d234aa8387af5cebd18dba5106f8
2021-10-19 14:16:33 +00:00
Treehugger Robot
44d17161b4 Merge "Update OWNERS for VtsHalContexthub tests." am: 46753c42c2 am: 3a160584e0 am: dfad79e668
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861819

Change-Id: I744ec96e71db130f33ccbb608274e225d6f00553
2021-10-19 13:53:28 +00: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
Changyeon Jo
02499d65fc Update VtsHalEvsV1_1TargetTest
This CL makes following changes to fix VTS failures reported on Seahawk
reference platform.

* Correct the definition of RawStreamConfig and its size constant.
* Update all test cases to use a stream configuration reported by the
  target camera device.
* Update CameraStreamExternalBuffering test cases to take internally
  allocated buffers into account.

Bug: 192460757
Bug: 199626993
Test: atest VtsHalEvsV1_1TargetTest
Change-Id: Ia03775ae543617ba5057e91bbbb5aed9221d1a30
2021-10-18 21:24:24 -07:00
Treehugger Robot
99b6e8d24b Merge "Backfill owner information for VTS module VtsHalOemLockV1_0TargetTest." am: 80161cfc16 am: 40234ee63b am: b39571852d am: 7c31d3c84a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1813766

Change-Id: I9866acacff33199c93abafa35b00281465e2fadd
2021-10-19 03:16:52 +00:00
Treehugger Robot
7c31d3c84a Merge "Backfill owner information for VTS module VtsHalOemLockV1_0TargetTest." am: 80161cfc16 am: 40234ee63b am: b39571852d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1813766

Change-Id: Icfd8b6ec030d632362a33b2db16ba3650e30798f
2021-10-19 03:04:58 +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
429b3a5e2a Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1 am: b0f892dad1 am: 94a36d98dd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793006

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

Change-Id: Ic2a2695bea4a3e251b23e0f9a85c41395787a58a
2021-10-19 01:42:37 +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
cd9afdf0af Update OWNERS for VtsHalGraphicsComposer tests.
Test: Tree Hugger
Bug: 143903671
Change-Id: I228402a350ecccac92dea7c5facde60496ba3e6e
2021-10-18 17:28:00 -07: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
2542d951d0 Merge "Allow implicit conversions for NN errors -- hal" am: 68e98f40dc am: d236dbf3b3 am: 36c599d513 am: 0e0dc63cff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1859936

Change-Id: I1eb53c2749850f8442ef6aba8089294590068c51
2021-10-18 23:58:26 +00:00
Michael Butler
0e0dc63cff Merge "Allow implicit conversions for NN errors -- hal" am: 68e98f40dc am: d236dbf3b3 am: 36c599d513
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1859936

Change-Id: I1776230fdb7fd06a77e1b7dc0e30b29dfd363cc4
2021-10-18 23:42:36 +00: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
a50225b4a9 Merge "Revert "VTS: Test that configs in a group differ only by vsync period"" am: b350c7cf49 am: 3741e92674 am: 58e3e65a63 am: 4e320b87f6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1830034

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

Change-Id: I01e035acd0c93292e73451f430ef04cd788c0869
2021-10-18 22:18:21 +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
2c71c6db5a Merge "Revert "Clarify the ComposerClient comment for CONFIG_GROUP"" am: 184c1b546c am: 47c7b2f334 am: 977156e1b8 am: 2710afa55a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1830033

Change-Id: I675dd6aa05a683fb3acc61903ebddbbe59ffbb35
2021-10-18 21:58:13 +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
2710afa55a Merge "Revert "Clarify the ComposerClient comment for CONFIG_GROUP"" am: 184c1b546c am: 47c7b2f334 am: 977156e1b8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1830033

Change-Id: Id1540b50fd67adc341ddc014f1d2be7d3d2b939e
2021-10-18 21:42:33 +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
Ian Hua
3ab31ee548 Merge "AIDL interface changes for NNAPI feature level 6." am: 5dc5f2633f am: f385f9d59a am: 6dcb9f9765 am: 3435a62a89
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1827694

Change-Id: I57c26eb8d91b629bcbdaa7cbdca56582bff7e4ae
2021-10-18 21:13:54 +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
3435a62a89 Merge "AIDL interface changes for NNAPI feature level 6." am: 5dc5f2633f am: f385f9d59a am: 6dcb9f9765
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1827694

Change-Id: I66e5f9c30beef8ff2e5da4ad917e65b7e8bc588b
2021-10-18 20:55:23 +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
dce5d18766 Merge "Backfill owner information for VtsHalVibrator*." am: ad56c830f3 am: 7253b8fdcc am: 612c47898d am: b88a0cf1d5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814058

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

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

Change-Id: If877edf802caa4ab3a7332e2ab56ec72e26dafe0
2021-10-18 18:41:59 +00:00