Commit graph

63955 commits

Author SHA1 Message Date
sadiqsada
71be20f910 Add demux to mFrontendTests am: 86aa7010fd am: 6afaf8d190 am: 123934b067
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886926

Change-Id: I7de5829fa3f3fdaa816516ee057546b29af68e2b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:54:34 +00:00
Treehugger Robot
d9e1e11a82 Merge "use getDescription in test failure message" into main am: 856abca8db am: 024387f2c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2817881

Change-Id: Ica3ace0b1c8176771d0cb35a69f7d5183356caaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:54:24 +00:00
Sadiq Sada
df69b43b12 Merge "Add demux to mFrontendTests" into android14-tests-dev am: f91c15c69e am: 6b983a3723 am: b0c8621858
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886668

Change-Id: I58a4d763dcd11cd349959b1944bb3b9521323839
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:54:10 +00:00
Sadiq Sada
7c1b5e48d1 Merge "Add demux to mFrontendTests" into android14-tests-dev am: f91c15c69e am: e1790b4419 am: 9105c19a85
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886668

Change-Id: I42764711cf8e23670671a6ac58058360d4ce0a29
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:53:09 +00:00
sadiqsada
99d8ba3970 Add demux to mFrontendTests am: 86aa7010fd am: 6afaf8d190 am: 123934b067
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886926

Change-Id: Ie5f474184a86388a980344628f4cd5f3a9bb0a28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:52:57 +00:00
Spandan Das
8dbad6f96c Make availability to com.android.tethering explicit
This is done implicitly today via a baseline map in
build/soong/apex/apex.go

The hidl_interface also requires //apex_available:platform in its
apex_available. This lib gets installed in vendor, and
//apex_available:platform is required on all non-apex variants including
the vendor variants

Bug: 281077552
Test: m nothing
Change-Id: I6f46244f9122fb3e025af53f3a42ad441284a723
2023-12-21 23:39:41 +00:00
Ram Indani
e5970eb1d9 Merge "[Composer3] Update notifyExpectedPresent parameter names" into main 2023-12-21 23:24:36 +00:00
Treehugger Robot
024387f2c9 Merge "use getDescription in test failure message" into main am: 856abca8db
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2817881

Change-Id: Ic3d9d4848b04d5ffda2d73be7671df7541edb9ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:23:54 +00:00
Sadiq Sada
9105c19a85 Merge "Add demux to mFrontendTests" into android14-tests-dev am: f91c15c69e am: e1790b4419
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886668

Change-Id: I9409d0f8404756fff2ba8beab8c12246206250d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:23:42 +00:00
Sadiq Sada
b0c8621858 Merge "Add demux to mFrontendTests" into android14-tests-dev am: f91c15c69e am: 6b983a3723
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886668

Change-Id: Id692f651cacf426a97b68c8f046a96a8c8529edf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:22:22 +00:00
Treehugger Robot
856abca8db Merge "use getDescription in test failure message" into main 2023-12-21 23:21:02 +00:00
jiabin
d470926597 AHAL: update doc for prepareToDisconnectExternalDevice.
Bug: 317405349
Test: make
Change-Id: If6c61a851c2e565ab16eb738b9dc0d42ebc04b05
2023-12-21 23:20:56 +00:00
Sadiq Sada
c0b3823f3f Merge "Add demux to mFrontendTests" into android14-tests-dev am: f91c15c69e am: 6b983a3723
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886668

Change-Id: I89952ee005dc90e6ea6f3773d0c00554989db31b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:20:47 +00:00
sadiqsada
123934b067 Add demux to mFrontendTests am: 86aa7010fd am: 6afaf8d190
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886926

Change-Id: I915317c40513987417d4e0de332e1205c2115d11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:20:37 +00:00
Sadiq Sada
e1790b4419 Merge "Add demux to mFrontendTests" into android14-tests-dev am: f91c15c69e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886668

Change-Id: I8208255dc67576ec833972f023ffcc9fcfb71e76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 22:51:22 +00:00
Sadiq Sada
6b983a3723 Merge "Add demux to mFrontendTests" into android14-tests-dev am: f91c15c69e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886668

Change-Id: If9d3a24500aa982e8347ead1ad4c06e19ed1d59f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 22:49:53 +00:00
sadiqsada
6afaf8d190 Add demux to mFrontendTests am: 86aa7010fd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886926

Change-Id: I422f6448d26a5e5f2e7915309636503ac92e2c7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 22:49:41 +00:00
Sadiq Sada
3e714692a8 Merge "Update VTS cases for IPTV tuning" into main 2023-12-21 22:20:59 +00:00
Sadiq Sada
fe560e6d02 Merge "Add IP Streamer interface" into main 2023-12-21 22:19:02 +00:00
Sadiq Sada
f91c15c69e Merge "Add demux to mFrontendTests" into android14-tests-dev 2023-12-21 22:16:14 +00:00
Shuzhen Wang
a6bac13c93 Merge "Revert "Revert "Camera: VTS: Require ConstructDefaultSettings fo..."" into main 2023-12-21 21:59:55 +00:00
Shuzhen Wang
dba6eaa0ba Revert "Revert "Camera: VTS: Require ConstructDefaultSettings fo..."
Revert submission 25718441-revert-25658204-EnableFeatureCombination-KTSPSCPBVP

Reason for revert: Re-land HAL implementation of feature combination query

Reverted changes: /q/submissionid:25718441-revert-25658204-EnableFeatureCombination-KTSPSCPBVP

Bug: 309627704
Change-Id: Iaec3f2ea4d028216a381f6c2ef5f2f019adabc46
2023-12-21 21:57:43 +00:00
Yu Shan
f3698fd083 Test only defined system propIds are supported.
Add VTS test to verify that only the defined system property IDs
for the specific VHAL verson are supported by the VHAL
implementation. This means that a VHAL v2 implementation must
not support properties that requires VHAL v3.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 316429656
Change-Id: Ib000e7565a082330c8cc6ec3825656f2df64cc04
2023-12-21 13:46:46 -08:00
Shikha Panwar
3526efd027 Secretkeeper: Use byte[64] as SecretId
SecretId is a parameter in deleteIds() method, which will be invoked by
host (Android). Restrict the size to 64 bytes to avoid unnecessarily
large bytes making it to HAL & TA.

Test: atest VtsSecretkeeperTargetTest
Bug: 317374882
Change-Id: Ieb34fee4efd11636bee133fe9132c1d739d08a1c
2023-12-21 19:47:54 +00:00
TeYuan Wang
2bbd1ec30c thermal: support cooling device status change notification
1. support the powercap in CoolingDevice
2. support the notification when CoolingDevice status changed

Bug: 312540064
Test: atest VtsHalThermalTargetTest
Change-Id: I58e39c0a2c070317b574f1a5d4abfa582cc56f34
2023-12-21 19:12:50 +00:00
Bharatt Kukreja
48c35ba72a Add VTS test for getSessionCharacteristics
Test: atest VtsAidlHalCameraProvider_TargetTest
Bug: 314386872
Change-Id: I3f838fd041e6aca4b12fad512f57287a94149c6e
2023-12-21 18:59:48 +00:00
ramindani
52416e06ff [Composer3] Update notifyExpectedPresent parameter names
Update the timeoutNs description to specify what 0 and not absent value
expected behavior is
BUG: 294102485
Test: VTS

Change-Id: I3954c8f1efad8190ed6d608e2968fe1dc15c2f11
2023-12-21 08:58:00 -08:00
Alan Stokes
b41b0ea230 Fix a typo am: f7fb082947 am: f94aa886ae am: d5737be983
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2887807

Change-Id: I235a1a51d5d670acfb2102b0299b4034dd5f86e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 13:43:10 +00:00
Alan Stokes
d5737be983 Fix a typo am: f7fb082947 am: f94aa886ae
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2887807

Change-Id: I5c078d86d60132ee25b7810532f12efc81bd8f58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 13:11:02 +00:00
Alan Stokes
f94aa886ae Fix a typo am: f7fb082947
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2887807

Change-Id: I9705fe3737d1e0bdb8d4d8df2e30137c47ffcb9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 12:24:29 +00:00
Alan Stokes
f7fb082947 Fix a typo
Test: N/A
Change-Id: I200d629e22824a4bfe5278194ff12d20a2d16f74
2023-12-21 11:13:02 +00:00
Peter Lin
0c8dd20d00 [automerger skipped] [VTS] Update SetDisplayBrightness test item am: 70d2ef6b34 am: 5799726c7c am: 782aae68ab am: 94c1e09227 -s ours am: 6826a0072f -s ours
am skip reason: Merged-In I94fb700704bcbd8543f2a608dd75b9e745e40e37 with SHA-1 70d2ef6b34 is already in history

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

Change-Id: I2e2d28eda4d4a47c7898da25312540204f26b21d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 05:28:54 +00:00
Peter Lin
6826a0072f [automerger skipped] [VTS] Update SetDisplayBrightness test item am: 70d2ef6b34 am: 5799726c7c am: 782aae68ab am: 94c1e09227 -s ours
am skip reason: Merged-In I94fb700704bcbd8543f2a608dd75b9e745e40e37 with SHA-1 70d2ef6b34 is already in history

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

Change-Id: Iad160e9817fd49cd1ea59a9c5014d993418b4490
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 04:42:39 +00:00
Peter Lin
94c1e09227 [VTS] Update SetDisplayBrightness test item am: 70d2ef6b34 am: 5799726c7c am: 782aae68ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2883951

Change-Id: Id727befaf378377406258d3ffe88b2847338df59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 04:10:45 +00:00
Peter Lin
02f49c62b5 [automerger skipped] [VTS] Update SetDisplayBrightness test item am: 70d2ef6b34 am: 5799726c7c am: 5552e963af -s ours
am skip reason: Merged-In I94fb700704bcbd8543f2a608dd75b9e745e40e37 with SHA-1 b9fbd4e3c7 is already in history

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

Change-Id: I0dec90347ecbd37607c32c510c9c8c4281baca31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 04:09:59 +00:00
Peter Lin
239779d664 [automerger skipped] [VTS] Update SetDisplayBrightness test item am: 70d2ef6b34 am: f43004efcf am: 93871bd98f am: 5231b4bcb0 -s ours
am skip reason: Merged-In I94fb700704bcbd8543f2a608dd75b9e745e40e37 with SHA-1 b9fbd4e3c7 is already in history

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

Change-Id: I6b13b82ea2cf269b6b3cdccf506391e6a7e366ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 04:08:50 +00:00
Peter Lin
5552e963af [VTS] Update SetDisplayBrightness test item am: 70d2ef6b34 am: 5799726c7c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2883951

Change-Id: I3a8dc8651c1b272288ee1bf4eb203ba215ee94ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 03:37:45 +00:00
Peter Lin
782aae68ab [VTS] Update SetDisplayBrightness test item am: 70d2ef6b34 am: 5799726c7c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2883951

Change-Id: Iea74b20aecffaab88881bbcb43a6c46b91aed33c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 03:35:43 +00:00
Peter Lin
5231b4bcb0 [VTS] Update SetDisplayBrightness test item am: 70d2ef6b34 am: f43004efcf am: 93871bd98f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2883951

Change-Id: I9f1508c85e7dd4a14bdfc9fffd8c7f0365c503f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 03:34:57 +00:00
Peter Lin
93871bd98f [VTS] Update SetDisplayBrightness test item am: 70d2ef6b34 am: f43004efcf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2883951

Change-Id: Ib6dd08b218e4bf0bf1cb40dcf850928fb147f907
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 02:45:33 +00:00
Peter Lin
5799726c7c [VTS] Update SetDisplayBrightness test item am: 70d2ef6b34
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2883951

Change-Id: I88bbe947e893f2914d5ec93c169d9ca252fda697
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 02:29:44 +00:00
Peter Lin
f43004efcf [VTS] Update SetDisplayBrightness test item am: 70d2ef6b34
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2883951

Change-Id: Ia57991b0f949307764afeb9fe9fa58c67740900e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 02:13:22 +00:00
Treehugger Robot
f4fc926bf8 Merge "Fixed documentation for resolution in SubscriptionOptions.aidl" into main 2023-12-21 01:24:09 +00:00
Yu Shan
08e916ca1b Merge "Rename to getAllPendingScheduledTasks." into main 2023-12-21 00:23:47 +00:00
sadiqsada
86aa7010fd Add demux to mFrontendTests
aosp/2640754 adds a tuneFrontend call with testWithDemux enabled.
tuneFrontend() has some logic that calls DvrTests->openDvrInDemux()
which requires mDemux to be available, but mFrontendTests does not
have an associated demux. This CL adds a demux resource.

Bug: 317268814
Test: atest VtsHalTvTunerV1_1TargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e7c5595ee5cfe79eb181e60399d8d857526d1af7)
Merged-In: I62ad038829ca3ed0ecc077527197eec444a5eb12
Change-Id: I62ad038829ca3ed0ecc077527197eec444a5eb12
2023-12-20 22:51:16 +00:00
Shuzhen Wang
aa2d572093 Merge "Revert "Camera: VTS: Require ConstructDefaultSettings for new HAL"" into main 2023-12-20 22:49:13 +00:00
Yu Shan
59f33e4e31 Rename to getAllPendingScheduledTasks.
Rename getAllScheduledTasks to getAllPendingScheduledTasks.

Test: Presubmit
Bug: 305285376
Change-Id: I0a908d3c4cc77ff718883e17468a2ff75df470d3
2023-12-20 22:47:02 +00:00
Mikhail Naganov
a92039ac48 audio: Refactor configuration population
In 'Module::setAudioPortConfig' allow subclasses to provide
their own suggested configuration.

In 'Module::populateConnectedDevicePort' provide the ID of
the device port instance that will be created as a result
of connecting an external device.

Also, expose 'ModuleDebug' flags to subclasses so that they
can know when device connections are simulated.

Bug: 264712385
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Iceb2bdeb61c3470554b592fe197efa54d3b9e578
2023-12-20 14:31:47 -08:00
Shuzhen Wang
7a237d1545 Revert "Camera: VTS: Require ConstructDefaultSettings for new HAL"
Revert submission 25658204-EnableFeatureCombination

Reason for revert: b/317270728

Reverted changes: /q/submissionid:25658204-EnableFeatureCombination

Change-Id: Id048e9bd5ba08f7856ccf88fd7bfdca06ce0727c
2023-12-20 22:22:12 +00:00
sadiqsada
630a974006 Add demux to mFrontendTests
aosp/2640754 adds a tuneFrontend call with testWithDemux enabled.
tuneFrontend() has some logic that calls DvrTests->openDvrInDemux()
which requires mDemux to be available, but mFrontendTests does not
have an associated demux. This CL adds a demux resource.

Bug: 317268814
Test: atest VtsHalTvTunerTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e75c56787a1a9cd6280ab758788bc810ff50cb58)
Merged-In: I3eb69d8dc10cd2cdbb2d3526317faee2909787f5
Change-Id: I3eb69d8dc10cd2cdbb2d3526317faee2909787f5
2023-12-20 22:14:31 +00:00