Commit graph

53879 commits

Author SHA1 Message Date
Treehugger Robot
681e98a03f Merge changes from topic "cp-aosp-2647304" into udc-qpr-dev
* changes:
  audio: Add DriverInterface::start method
  Audio : Add remote submix stream implementation
2023-08-01 08:14:01 +00:00
Treehugger Robot
6f07dabb5f Merge "Update effect AIDL state machine graph" into udc-qpr-dev 2023-08-01 08:01:28 +00:00
Treehugger Robot
b05d17e20d Merge changes Iecc0c938,Ib687b661 into udc-qpr-dev
* changes:
  Format VTS test code
  aidl: Improve Effect VTS naming
2023-08-01 07:44:30 +00:00
Hugo Drumond Jacob
09ebe25f24 [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: 61fef8b709 -s ours am: e5748fd2cd -s ours am: 938a91871d -s ours am: edbae542d9 -s ours am: ae768f5b2a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I13d13c697614323edc1ec1c1b83de88ac22cda83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 19:08:31 +00:00
Hugo Drumond Jacob
ae768f5b2a [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: 61fef8b709 -s ours am: e5748fd2cd -s ours am: 938a91871d -s ours am: edbae542d9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibfe547a773fab8820ff2cce809dbeb48c88f0e7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 18:22:43 +00:00
Hugo Drumond Jacob
6dafabe2d8 [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: 61fef8b709 -s ours am: efe4c95392 -s ours am: 42f3e51448 -s ours am: d36399f301 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I781235c1a18df04ba859cfa3cd81ccf0aad4f742
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 18:04:21 +00:00
Hugo Drumond Jacob
54059b0649 [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: fe936b4dc8 -s ours am: bea671f28f -s ours am: a759c81286 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9b226ff6e89ae072336d5203c1de7e91cd8e621e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 18:03:53 +00:00
Hugo Drumond Jacob
edbae542d9 [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: 61fef8b709 -s ours am: e5748fd2cd -s ours am: 938a91871d -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ica3513f6837fc61ada50422d5fce38b602d401c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 17:36:40 +00:00
Hugo Drumond Jacob
d36399f301 [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: 61fef8b709 -s ours am: efe4c95392 -s ours am: 42f3e51448 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idaed3083361953062c8a9ca7f2368038793bc22c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 17:14:21 +00:00
Hugo Drumond Jacob
a759c81286 [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: fe936b4dc8 -s ours am: bea671f28f -s ours
am skip reason: subject contains skip directive

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

Change-Id: If1c96dbc39f59360d58fd350252807e729da11ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 17:14:09 +00:00
Hugo Drumond Jacob
938a91871d [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: 61fef8b709 -s ours am: e5748fd2cd -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3812697607050dc90bb70e843c9f7260dd16e30f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 16:51:51 +00:00
Hugo Drumond Jacob
42f3e51448 [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: 61fef8b709 -s ours am: efe4c95392 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idf7ccc597868db03907a0eded763af5dbee01177
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 16:36:37 +00:00
Hugo Drumond Jacob
bea671f28f [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: fe936b4dc8 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1a8e8a9c93dae8ee58587c27d9d656e1e817530e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 15:25:23 +00:00
Hugo Drumond Jacob
efe4c95392 [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: 61fef8b709 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I71215658b62d8bf69f46b4c783cb59ddb4675f3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 14:14:39 +00:00
Hugo Drumond Jacob
e5748fd2cd [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours am: 61fef8b709 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0cc54f6041fe4a8c09551e3649919a93cc0f338a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 13:55:24 +00:00
Jeff Pu
bdf9c891cf Merge "HAT validity check should be performed early" into udc-qpr-dev 2023-07-28 12:37:00 +00:00
Hugo Drumond Jacob
61fef8b709 [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I04e5ea49287ae3fb1c1fad16375994ef5249dea5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 12:21:33 +00:00
Hugo Drumond Jacob
fe936b4dc8 [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours am: 373a052124 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I82eed0ce7c45c3105dc6d0ec94976f9652fcebce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 12:02:20 +00:00
Hugo Drumond Jacob
373a052124 [automerger skipped] [DO NOT MERGE] Handle unavailable properties am: aeafec3db0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I850f4b7d589b051086d05d2d59f7dec9d2d86537
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 11:14:48 +00:00
Sarah Chin
513e73053d Set per-test timeout for IRadio 1.2-1.6 VTS to 5m am: f0c772199b am: 76474a3b7c am: 77c96ccf13
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24232539

Change-Id: I8fad47f496a2e7410f6527759726be3fa542f676
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 05:19:32 +00:00
Sarah Chin
77c96ccf13 Set per-test timeout for IRadio 1.2-1.6 VTS to 5m am: f0c772199b am: 76474a3b7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24232539

Change-Id: Iee95b283b9fd10d7354669f1896ba5351be5ce11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 00:02:56 +00:00
Sarah Chin
76474a3b7c Set per-test timeout for IRadio 1.2-1.6 VTS to 5m am: f0c772199b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24232539

Change-Id: Ibcde219be974ebaf530c89f56d070ec1c4d25657
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 23:20:59 +00:00
Sarah Chin
f0c772199b Set per-test timeout for IRadio 1.2-1.6 VTS to 5m
To be consistent with the timeout set in IRadio 1.0/1.1 VTS
This increases the timeout per-test, but there is still a timeout
for all tests in the module to complete.

Test: atest VtsHalRadioV1_*TargetTest for all
Bug: 292197532
Change-Id: I421c13e65efa565753337dc21e6520682e726e81
2023-07-27 20:55:03 +00:00
Jeff Pu
5055e3cb07 HAT validity check should be performed early
in enrollment HAL operation.
Bug: 293206206
Test: atest --no-bazel-mode VtsHalBiometricsFingerprintTargetTest

Change-Id: I223615bbbd86d3f918f976c0d46e9ee93338f2a8
2023-07-27 12:44:02 -04:00
Treehugger Robot
0393745481 Merge "Make EffectFactory implementation thread-safe" into udc-qpr-dev 2023-07-25 23:02:32 +00:00
Treehugger Robot
58552b4fe8 Merge "Support custom effect type UUID in audio effect AIDL example service" into udc-qpr-dev 2023-07-25 23:00:15 +00:00
Eric Biggers
fa13fcb76f Merge changes from topic "weaver-vts-fix" into stage-aosp-udc-ts-dev am: ea6fdd2621 am: df736dd151 am: 5765cfa18c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24180062

Change-Id: I056932555d4677da2a34602fcd83bf23615789a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 21:06:03 +00:00
Eric Biggers
be50b1669b Don't overwrite in-use Weaver slots during VTS am: 86b9048544 am: 48325db6c8 am: 7dd5fb08a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151703

Change-Id: I3504bc9c0e02a0606afa5b07238e4ba97050474c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 21:06:01 +00:00
Eric Biggers
8b95ae99f4 Simplify Weaver VTS test am: 42d76ae5df am: cf54aa6cea am: 1832038ebb
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151462

Change-Id: I08a0fe47e4b4fbe3f7d6c2b2ebbd729fd40871ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 21:05:59 +00:00
Eric Biggers
c29618d1e8 Remove redundant HIDL Weaver VTS test am: c9691dd624 am: 8494e310c8 am: b36abd4c33
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151461

Change-Id: I437129a2e3b58a6ea79085cffa36bc6e1c394fbd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 21:05:57 +00:00
Eric Biggers
5ad6a7e87f Move VtsHalWeaverTargetTest to common directory am: a8fc1ea054 am: afcbc88882 am: 75fb598bab
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151460

Change-Id: I7264b63a06c8570cf020126a325df92e6ab6f029
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 21:05:54 +00:00
Eric Biggers
e88e23448d Make VtsHalWeaverTargetTest test both HIDL and AIDL services am: 1cd59722b6 am: 96981af109 am: f2e902fbb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151459

Change-Id: Ibfa5cc21202bea6b799717eb33db97b3e3c5afb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 21:05:51 +00:00
Eric Biggers
c85ba28345 Update OWNERS for Weaver am: 0ddd5410e3 am: 3e021bb669 am: c614b58117
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151458

Change-Id: Ife8f4523d75a09ef6131e67d9dd0173ac9e2facf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 21:05:49 +00:00
Shunkai Yao
cfe9544e4a Merge "vts: getParameters only if parameters are supported" into udc-qpr-dev 2023-07-25 20:49:01 +00:00
Eric Biggers
5765cfa18c Merge changes from topic "weaver-vts-fix" into stage-aosp-udc-ts-dev am: ea6fdd2621 am: df736dd151
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24180062

Change-Id: I948faa9526b3bf23df65b66070b2399877e965d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 20:02:18 +00:00
Eric Biggers
7dd5fb08a2 Don't overwrite in-use Weaver slots during VTS am: 86b9048544 am: 48325db6c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151703

Change-Id: I048cdf6b81198fb7104a7102ecddb25428fdc88e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 20:02:15 +00:00
Eric Biggers
1832038ebb Simplify Weaver VTS test am: 42d76ae5df am: cf54aa6cea
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151462

Change-Id: I38fbda1101471d45126e9e8e5351f8d46f9a051f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 20:02:13 +00:00
Eric Biggers
b36abd4c33 Remove redundant HIDL Weaver VTS test am: c9691dd624 am: 8494e310c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151461

Change-Id: I2ce8c7ba4f0240d545b84d6da59e643acfd26729
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 20:02:11 +00:00
Eric Biggers
75fb598bab Move VtsHalWeaverTargetTest to common directory am: a8fc1ea054 am: afcbc88882
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151460

Change-Id: Ic83f073f014b224c3a982868700fe785c0b8287c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 20:02:09 +00:00
Eric Biggers
f2e902fbb3 Make VtsHalWeaverTargetTest test both HIDL and AIDL services am: 1cd59722b6 am: 96981af109
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151459

Change-Id: I063fb2ab00025194f63dcd7a2389fbcfca9f3b4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 20:02:06 +00:00
Eric Biggers
c614b58117 Update OWNERS for Weaver am: 0ddd5410e3 am: 3e021bb669
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151458

Change-Id: I25e35e8cdd22885a565e034152695bd7336b1bcc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 20:02:04 +00:00
Eric Biggers
df736dd151 Merge changes from topic "weaver-vts-fix" into stage-aosp-udc-ts-dev am: ea6fdd2621
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24180062

Change-Id: I1c41242a383410de0d4ab9aaaa5986d3a6ff89b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 18:55:46 +00:00
Eric Biggers
48325db6c8 Don't overwrite in-use Weaver slots during VTS am: 86b9048544
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151703

Change-Id: If753a9fca87239f5401cb66c61a44f09bc5e89d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 18:55:43 +00:00
Eric Biggers
cf54aa6cea Simplify Weaver VTS test am: 42d76ae5df
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151462

Change-Id: I8fc0e83da74a793880b4fec72102df7773e0e65f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 18:55:41 +00:00
Eric Biggers
8494e310c8 Remove redundant HIDL Weaver VTS test am: c9691dd624
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151461

Change-Id: I85f9d3bd3d9e085dff88be1e22c8706ec78ffc1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 18:55:38 +00:00
Eric Biggers
afcbc88882 Move VtsHalWeaverTargetTest to common directory am: a8fc1ea054
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151460

Change-Id: Icbccd572741e27371b017f0deb86dbaa63d1ddc3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 18:55:35 +00:00
Eric Biggers
96981af109 Make VtsHalWeaverTargetTest test both HIDL and AIDL services am: 1cd59722b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151459

Change-Id: I426137ec9c1dd33354ff91bb6e884660bd5987bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 18:55:32 +00:00
Eric Biggers
3e021bb669 Update OWNERS for Weaver am: 0ddd5410e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24151458

Change-Id: I31104ec22d1a747b78687fbaf184033220e5c7a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 18:55:29 +00:00
Hugo Drumond Jacob
aeafec3db0 [DO NOT MERGE] Handle unavailable properties
Accommodate the case in which `set()` for an unavailable property is
called as the VHAL may return OK or NOT_AVAILABLE.

Also, it may be the case that certain properties aren't available
while testing and thus, setting a value and getting it right after
might not always work.

Bug: 290882809
Change-Id: I7b7b3f144c4fbd786bf673a86fcac110ec8f79b5
2023-07-25 18:09:28 +00:00
Eric Biggers
ea6fdd2621 Merge changes from topic "weaver-vts-fix" into stage-aosp-udc-ts-dev
* changes:
  Allow uninstantiated WeaverTest
  Don't overwrite in-use Weaver slots during VTS
  Simplify Weaver VTS test
  Remove redundant HIDL Weaver VTS test
  Move VtsHalWeaverTargetTest to common directory
  Make VtsHalWeaverTargetTest test both HIDL and AIDL services
  Update OWNERS for Weaver
2023-07-25 18:05:58 +00:00