Commit graph

42021 commits

Author SHA1 Message Date
ziyiw
f5535531e7 Add a new capability to indcate min slot duration.
Test: compile
Bug: 254655623
Change-Id: Icac53069ddc61bbd60049880119973f1b4b0286d
2022-11-09 21:53:38 +00:00
Roshan Pius
778ddca75a uwb(hal): Doc update to clarify country code payload of 00
Bug: 243426975
Change-Id: I6ec56c68df5e1049d93c31e498934501f7d75ad1
Test: N/A
2022-08-23 16:13:52 +00:00
TreeHugger Robot
552a9119e3 Merge "Camera: Import gralloc buffers before metadata queries" into stage-aosp-tm-ts-dev am: f9daf08b7b am: ee100afbbd
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19125050

Change-Id: I062949217a600a23f1c7e3b18ed9c18a0ef93c77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-11 19:11:38 +00:00
TreeHugger Robot
ee100afbbd Merge "Camera: Import gralloc buffers before metadata queries" into stage-aosp-tm-ts-dev am: f9daf08b7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19125050

Change-Id: Ia0062e76c28651e0f8322189ad3ba4e2d2d017a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-11 18:44:16 +00:00
TreeHugger Robot
f9daf08b7b Merge "Camera: Import gralloc buffers before metadata queries" into stage-aosp-tm-ts-dev 2022-08-11 18:28:15 +00:00
Arthur Ishiguro
f9b4a4d64b Adds AndroidTest.xml for AIDL sensors VTS test am: ad325a0150 am: 10a6e36e73
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19531589

Change-Id: I6760e71eaa16fe2ece37e26e0dcea130d7f76fd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-05 19:16:03 +00:00
Arthur Ishiguro
10a6e36e73 Adds AndroidTest.xml for AIDL sensors VTS test am: ad325a0150
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19531589

Change-Id: I66475c8edb7c2ac5333153c1f00a21a80f13249a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-05 18:58:26 +00:00
Arthur Ishiguro
ad325a0150 Adds AndroidTest.xml for AIDL sensors VTS test
Bug: 241174366
Test: run VtsAidlHalSensorsTargetTest, and verify Android app
can receive sensor data after test runs

Change-Id: Ie372f74f3a52decce592181c7d65624f8ec03ed1
(cherry picked from commit 8492dab99d)
2022-08-04 19:59:05 +00:00
TreeHugger Robot
b763de9f94 Merge changes I26fd4fd2,Iaadf6e9b,I7d42f8a7,I0482376e into stage-aosp-tm-ts-dev am: 744c329227 am: 5c5c78aa51
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19345935

Change-Id: I61a99352f82100423b410c52f1babfae6e390436
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 23:53:48 +00:00
Mikhail Naganov
23d5687903 audio VTS: CompressedOffloadOutputStream to check the vendor API level am: 3f2e330990 am: b9b5652fcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19340462

Change-Id: I9325bf127a7393c68e7cb95a3e6509f39aca62ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 23:53:47 +00:00
Mikhail Naganov
08d73f49cd audio VTS: add CompressedOffloadOutputStream test am: 56f1666feb am: 96ddc8f20f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19345352

Change-Id: I7e8099d64a52b85cead8f993ceaca06601886ce5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 23:53:46 +00:00
Mikhail Naganov
bb117a6b9a audio VTS: Refactor test parameter generation for I/O streams am: 1e703f182e am: a4c937fe91
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19340459

Change-Id: I6c5e6a560ef14ea202f8bc94c6a829c456395c8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 23:53:44 +00:00
TreeHugger Robot
5c5c78aa51 Merge changes I26fd4fd2,Iaadf6e9b,I7d42f8a7,I0482376e into stage-aosp-tm-ts-dev am: 744c329227
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19345935

Change-Id: I2b54fab89ae38c8060fbec12c080304830a467fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 23:21:35 +00:00
Mikhail Naganov
b9b5652fcc audio VTS: CompressedOffloadOutputStream to check the vendor API level am: 3f2e330990
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19340462

Change-Id: I85785803514d775f765e1ae4217a17591d7e4fb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 23:21:34 +00:00
Mikhail Naganov
96ddc8f20f audio VTS: add CompressedOffloadOutputStream test am: 56f1666feb
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19345352

Change-Id: Id24534dd0c3c977e1b775229734bcadb11a42ad5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 23:21:32 +00:00
Mikhail Naganov
a4c937fe91 audio VTS: Refactor test parameter generation for I/O streams am: 1e703f182e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19340459

Change-Id: Iac28cf5830ddb01b3dc78d696c10d80bbd2d85c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 23:21:30 +00:00
TreeHugger Robot
744c329227 Merge changes I26fd4fd2,Iaadf6e9b,I7d42f8a7,I0482376e into stage-aosp-tm-ts-dev
* changes:
  audio VTS: Update CompressedOffloadOutputStream implementation
  audio VTS: CompressedOffloadOutputStream to check the vendor API level
  audio VTS: add CompressedOffloadOutputStream test
  audio VTS: Refactor test parameter generation for I/O streams
2022-08-02 22:54:44 +00:00
Emilian Peev
dda1eb771c Camera: Import gralloc buffers before metadata queries
Raw buffer handles do not support metadata queries and need
to be imported first.
Additionally map the result buffer ids to the inflight
buffers and queue the maximum amount of inflight buffers
as advertised by Hal. Since we will be streaming a set
of buffers, use an appropriate preview size.

Bug: 237576060
Test: adb shell
/data/nativetest64/VtsAidlHalCameraProvider_TargetTest/VtsAidlHalCameraProvider_TargetTest
--gtest_filter=PerInstance/CameraAidlTest.process10BitDynamicRangeRequest/0_android_hardware_camera_provider_ICameraProvider_internal_0

Change-Id: Id854c2a8d1588a151240d1b32197dbace7e1a057
2022-07-28 16:40:35 -07:00
TreeHugger Robot
691b3317e4 Merge "Add Diagnostics Oid in HAL." into tm-mainline-prod 2022-07-28 00:14:36 +00:00
ziyiw
d5796d6576 Add Diagnostics Oid in HAL.
Test: compile
Bug: 236969605
Change-Id: Idc44d73f31dc23d4dfaf4f461d8c312338421234
2022-07-27 20:26:21 +00:00
Arun Johnson
5222442817 Allowing OMX.google* codecs for Devices launching with S am: 1e8510120f am: 50f251af37
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19369555

Change-Id: I988cdad126911ccec7322cf4b3a197f3b42e6b40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-21 08:52:59 +00:00
Arun Johnson
50f251af37 Allowing OMX.google* codecs for Devices launching with S am: 1e8510120f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19369555

Change-Id: I348d06c8b0a5f64f5fa9bab7df59a1a7bca60c52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-21 08:36:08 +00:00
Arun Johnson
1e8510120f Allowing OMX.google* codecs for Devices launching with S
S AOSP did not remove the OMX.google* codecs, so this cannot be
enforced for devices launching with S

bug: 230582620
Change-Id: I25e8f827645db8e83c8c3142f5e76a912fdf7b22
(cherry picked from commit 6973e79b91)
2022-07-20 20:45:01 +00:00
Mikhail Naganov
3b167a63b2 audio VTS: Update CompressedOffloadOutputStream implementation
Do not rely on blocking behavior of 'IStreamOut.write',
instead use stream callbacks. Measure the time between
write start and drain complete. This makes the test
working reliably across different chipsets.

Bug: 219767875
Test: atest VtsHalAudioV7_0TargetTest:CompressedOffloadOutputStream/CompressedOffloadOutputStreamTest
Test: atest VtsHalAudioV7_1TargetTest:CompressedOffloadOutputStream/CompressedOffloadOutputStreamTest
Change-Id: I26fd4fd26914ed2a0b3273f4ae5512a87f9cca2c
Merged-In: I26fd4fd26914ed2a0b3273f4ae5512a87f9cca2c
(cherry picked from commit a0a5d4a9f6)
2022-07-19 19:59:02 +00:00
Mikhail Naganov
3f2e330990 audio VTS: CompressedOffloadOutputStream to check the vendor API level
Update CompressedOffloadOutputStream to fail the test if
compressed offload mix port does not support gapless offload
for a new device launching on T+.

Bug: 219767875
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: Iaadf6e9b9bb7340ccaf5bc26c45fda9654190510
Merged-In: Iaadf6e9b9bb7340ccaf5bc26c45fda9654190510
(cherry picked from commit 1bc0dc4ceb)
2022-07-19 19:58:06 +00:00
Mikhail Naganov
56f1666feb audio VTS: add CompressedOffloadOutputStream test
CompressedOffloadOutputStreamTest#Mp3FormatGaplessOffload verifies
that gapless offload is supported by compressed offload
mix ports.

Bug: 219767875
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: I7d42f8a714da2923b8775445ba301938ca90b885
Merged-In: I7d42f8a714da2923b8775445ba301938ca90b885
(cherry picked from commit 158a2ddb2f)
2022-07-19 19:56:59 +00:00
Mikhail Naganov
1e703f182e audio VTS: Refactor test parameter generation for I/O streams
Two changes that are necessary to test offloaded output:

1. Pass all mix port flags specified in the config to HAL when
   opening an output stream. Previously the generator was
   omitting the 'NON_BLOCKING' flag, however it is necessary
   for offloaded output to work. This also now passes
   the 'GAPLESS_OFFLOAD' flag to the stream opening call site.

2. Provide the DeviceAddress of the attached source/sink
   device to tests that use mix ports. Some tests were looking
   up the device address anyway. Also, HAL implementations
   seem to prefer to have the actual output device instead
   of 'DEFAULT' when opening offload streams.

Bug: 219767875
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioV7_1TargetTest
Test: atest HalAudioV7_0GeneratorTest
Change-Id: I0482376ecc7d6964f45f508a80716ffab18044b4
Merged-In: I0482376ecc7d6964f45f508a80716ffab18044b4
(cherry picked from commit 713d2c5590)
2022-07-19 19:55:37 +00:00
Les Lee
c25a48c10f Merge "wifi: create interface before running hostapd vts" into stage-aosp-tm-ts-dev am: 73e015a761 am: 375cf6a784
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19202002

Change-Id: Ie237fb10acb0c5f0244bdf5e81997bd85d3c145f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 03:49:06 +00:00
Les Lee
375cf6a784 Merge "wifi: create interface before running hostapd vts" into stage-aosp-tm-ts-dev am: 73e015a761
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19202002

Change-Id: Ibe4491ac82cee9c94c25503f232f1732ca94ccb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 03:30:32 +00:00
Les Lee
73e015a761 Merge "wifi: create interface before running hostapd vts" into stage-aosp-tm-ts-dev 2022-07-12 03:04:29 +00:00
jiabin
d5d782904f [automerger skipped] [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57 am: 377e999d1b am: 7a95f4b584 -s ours am: bf1d61564d -s ours
am skip reason: Merged-In I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9 with SHA-1 f16c6d3a57 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

Change-Id: Ia0451df1ef679a9d1a2ebe601096a03614247360
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 00:00:16 +00:00
jiabin
bf1d61564d [automerger skipped] [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57 am: 377e999d1b am: 7a95f4b584 -s ours
am skip reason: Merged-In I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9 with SHA-1 f16c6d3a57 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

Change-Id: I8524f83e81adfafb741c96f3d9fd6693056a1e0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-11 23:43:00 +00:00
jiabin
7a95f4b584 [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57 am: 377e999d1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

Change-Id: I3247e21feeec867a71694e2ed3e13d930cc54d8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-11 23:28:40 +00:00
jiabin
b1cc311244 [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57 2p: 0d43585645 am: 3074154353
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

Change-Id: I8bdce007990c202f599eb3e38118d713e7fcd131
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-11 23:27:40 +00:00
Bob Wang
71a763d067 Merge "Add new capability TLV and config TLV for supported diagnostics." into tm-mainline-prod 2022-07-11 16:55:12 +00:00
ziyiw
6d25b825e8 Add new capability TLV and config TLV for supported diagnostics.
Test: Compile
Bug: 236969605
Change-Id: I9cd3e442857cf8691420f7d3f3386f1aa45a78a2
2022-07-07 23:40:08 +00:00
jiabin
3074154353 [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57 2p: 0d43585645
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

Bug: 237288416
Bug: 237717857
Change-Id: I65135fa57c7ba449ad856ef5b4081c3580fb4c6f
Merged-In: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9
2022-07-07 23:25:08 +00:00
jiabin
0d43585645 [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

Bug: 237288416
Bug: 237717857
Change-Id: Id6682357dfe4f1cff5ef5a436f1330a0f6345da7
Merged-In: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9
2022-07-07 23:24:47 +00:00
jiabin
377e999d1b [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

Bug: 237288416
Bug: 237717857
Change-Id: I266f57c1dc80b3787ce1f9c40c82d8daaff6b9e4
Merged-In: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9
2022-07-07 23:24:46 +00:00
jiabin
f16c6d3a57 Fix array out of bound in audioTransportToHal.
The number of audio profile and extra audio descriptor must not be
greater than the maximum value.

Bug: 237288416
Bug: 237717857
Test: repo step in bug
Test: atest android.hardware.audio.common@7.0-util_tests
Change-Id: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9
Merged-In: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9
(cherry picked from commit 0ee75ca925)
2022-07-07 23:24:30 +00:00
Gabriel Biren
6db597e8f9 Update supplicant AIDL VTS tests to use the new am: dd789ad9dc am: 0f4493c6fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19212753

Change-Id: If88b8b38f14f8ff338273abd5df2c6c3f3092306
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 19:51:46 +00:00
Gabriel Biren
0f4493c6fc Update supplicant AIDL VTS tests to use the new am: dd789ad9dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19212753

Change-Id: Ib202e14265e9301340139c622c0dcc88b399a1ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 19:34:31 +00:00
Gabriel Biren
dd789ad9dc Update supplicant AIDL VTS tests to use the new
version of stopWifiFramework().

Bug: 234853504
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
	    VtsHalWifiSupplicantP2pIfaceTargetTest # AIDL service
Change-Id: I9e06f025a5b6b44d6a6caf8362c64bd5a546e1ac
(cherry picked from commit 99bb148510)
Merged-In: I9e06f025a5b6b44d6a6caf8362c64bd5a546e1ac
2022-07-07 18:28:55 +00:00
Gabriel Biren
42d1a986e8 In supplicant VTS test setup, make sure that the am: c33f1282d8 am: 3a68e265cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19119358

Change-Id: Id03afbd36a228c29e34f240ef19a0cd89ad662b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 17:05:13 +00:00
Gabriel Biren
3a68e265cd In supplicant VTS test setup, make sure that the am: c33f1282d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19119358

Change-Id: I167465db40e33b7aa0e6c1ea492ef43450886f89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 16:46:51 +00:00
Les Lee
912469a468 wifi: create interface before running hostapd vts
Adding to support creating interface in hostapd vts.

cp from aosp/2116501

Bug: 230008250
Test: 1. setprop ro.vendor.wifi.sap.interface swlan0
2. vts-tradefed run commandAndExit vts
--skip-all-system-status-check --primary-abi-only
--skip-preconditions --module VtsHalWifiHostapdV1_2Target
-l INFO

Change-Id: I483671cb01b68bc6f5ac4840c61b10f4c31f10e4
Merged-In: I483671cb01b68bc6f5ac4840c61b10f4c31f10e4
2022-07-07 15:52:59 +00:00
Gabriel Biren
c33f1282d8 In supplicant VTS test setup, make sure that the
wifi hal is stopped before starting wifi.

Bug: 234853504
Test: atest VtsHalWifiSupplicantV1_0TargetTest # HIDL service
Change-Id: I413c3803a6607a72cc3aa8a5fa208551be1b1032
(cherry picked from commit bfe60cda4d)
Merged-In: I413c3803a6607a72cc3aa8a5fa208551be1b1032
2022-06-29 16:41:51 +00:00
TreeHugger Robot
560083b026 Merge "Allowing OMX.google* codecs for Devices launching with S" into tm-dev am: a2d4aee339
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19066851

Change-Id: Ie2f710621575fa80867f8c30a0a386616be1535d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 23:16:54 +00:00
TreeHugger Robot
a2d4aee339 Merge "Allowing OMX.google* codecs for Devices launching with S" into tm-dev 2022-06-28 22:53:08 +00:00
Midas Chien
f78f9d629e composer: vts: configure layer for DisplayDecoration am: 308f4ac906
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19047366

Change-Id: I864c8520d25ec5f91af36e07db10b5de580936c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 04:19:50 +00:00