Commit graph

35 commits

Author SHA1 Message Date
Sham Rathod
d0a67fada3 HDMI Connection Fuzzer Fix
Added explicit destructor to HdmiConnectionMock that stops the loop and
join the thread.

Bug: 300674264
Test: android.hardware.tv.hdmi.connection-service_fuzzer
Change-Id: I761ed4b8db5e5312535ecf99be3b490622bf0a8e
2023-12-08 16:37:09 +05:30
Venkatarama Avadhani
e017878151 CEC Fuzzer Fix
Ensure that the mock CEC exits cleanly when the service that created it
dies.

Bug: 293249165
Test: android.hardware.tv.hdmi.cec-service_fuzzer

Change-Id: Ic7b69ddb10414cbdf6570056144b8013f497e7dc
2023-11-30 16:37:32 +05:30
Treehugger Robot
48612c25b3 Merge "Merge OWNERS files for tv" into main am: 425d2071c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2746939

Change-Id: Ia0335803198967fac9decc06bb832584679d5394
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-11 17:20:20 +00:00
Devin Moore
db191ca6eb Merge OWNERS files for tv
Test: none
Bug: 296950573
Change-Id: If3d849c1c1a4a3c66edbd4c61a4f6ecf09159289
2023-09-08 23:09:37 +00:00
Alex Buynytskyy
ec1198d941 UpsideDownCake is now 34
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +00:00
Nathalie Le Clair
5bfad05259 Handle out-of-bound indices
Bug: 267007175
Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;

Change-Id: I0083953e8eaadea0ac66a9103358c0d4e1427086
Merged-In: I0083953e8eaadea0ac66a9103358c0d4e1427086
2023-02-28 10:58:04 +00:00
Nathalie Le Clair
bb819d396b Clarify which HAL (methods) apply to which devices
Bug: 265906860
Test: make
Change-Id: Icc8df58d4a806d71fc2c073a67bedfd9dd9d3f60
Merged-In: Icc8df58d4a806d71fc2c073a67bedfd9dd9d3f60
2023-02-23 17:45:06 +01:00
Nathalie Le Clair
a4bf33775c Update HAL interface
Based on the Android Native API Council's review.

Bug: 268601655
Test: make
Change-Id: I84e828ed08d6ad5dd30dd33541b0c91324b5f8fb
Merged-In: I84e828ed08d6ad5dd30dd33541b0c91324b5f8fb
2023-02-23 17:44:35 +01:00
Nathalie Le Clair
3944d07e40 Add portId to HPD-related methods
Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;
Bug: 266178786

Change-Id: I58aff832606156bd529f2640541cad530953bd67
Merged-In: I58aff832606156bd529f2640541cad530953bd67
2023-02-23 17:44:07 +01:00
Nathalie Le Clair
9d040a2309 Unify OWNERS file am: 3d593db9df am: d3ccf77804 am: 0b9672ac7d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2438092

Change-Id: Ib8384c8bd8010c0457714e6d445f6f5cdcf7bdb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 20:38:10 +00:00
Nathalie Le Clair
3d593db9df Unify OWNERS file
So that the same group also has OWNERS for the hdmi/ folder itself.

Test: make
Bug: 265906860
Change-Id: I2d6f4f6e0a86de80138598662c0b490667aa6239
2023-02-15 15:03:14 +01:00
Nathalie Le Clair
d8229a8e64 Clarify which HAL (methods) apply to which devices
Bug: 265906860
Test: make
Change-Id: Icc8df58d4a806d71fc2c073a67bedfd9dd9d3f60
2023-02-14 11:35:37 +01:00
Nathalie Le Clair
0e9c80d964 Update HAL interface
Based on the Android Native API Council's review.

Bug: 268601655
Test: make
Change-Id: I84e828ed08d6ad5dd30dd33541b0c91324b5f8fb
2023-02-14 11:35:37 +01:00
Nathalie Le Clair
501c3c1152 Handle out-of-bound indices
Bug: 267007175
Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;

Change-Id: I0083953e8eaadea0ac66a9103358c0d4e1427086
2023-02-10 10:06:23 +01:00
Nathalie Le Clair
75c42c09ec Merge "Add portId to HPD-related methods" 2023-01-27 16:26:02 +00:00
Nathalie Le Clair
3bbeb51065 Merge "Fix incorrect indexing" 2023-01-25 10:43:43 +00:00
Treehugger Robot
f4957e5586 Merge "Remove VTS that were moved to new directory" 2023-01-24 22:29:05 +00:00
Nathalie Le Clair
4500505115 Specify that only output ports need to be positive. am: 4e24d7a342 am: 9891d4a5d4 am: 7ddc4c112c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2401152

Change-Id: Iebe94da50c2e2c73527530af4fda6f1e2dd5161f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 18:05:47 +00:00
Nathalie Le Clair
4eaa178ddf Add portId to HPD-related methods
Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;
Bug: 266178786

Change-Id: I58aff832606156bd529f2640541cad530953bd67
2023-01-24 18:04:47 +01:00
Nathalie Le Clair
3c85daf45b Remove VTS that were moved to new directory
These tests can now be found in the hdmi/connection directory, instead of the hdmi/directory.

Test: none
Bug:233026642

Change-Id: I60a8086e543d8a4714dda54456fd6e2dfb2a6069
2023-01-24 14:19:52 +00:00
Nathalie Le Clair
4e24d7a342 Specify that only output ports need to be positive.
Test: presubmit
Bug: 265117347

Change-Id: Ibac61ae11368baa62438c5b04549c5ea9e2b1c9f
2023-01-24 10:57:19 +00:00
Nathalie Le Clair
28318a3a5d Fix incorrect indexing
Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;
atest VtsHalTvHdmiEArcAidlTargetTest;
Bug: 264412609

Change-Id: I1b3ad574cf886d023aa54de91b1062dd4f3fa671
2023-01-24 10:27:50 +01:00
TreeHugger Robot
ca6af99b2a Merge "Add HDMI eARC, Connection and CEC to presubmit" 2023-01-13 09:38:15 +00:00
Nathalie Le Clair
25e8f5fa42 Add HDMI eARC, Connection and CEC to presubmit
Additionally, delete a file from when the HDMI Connection HAL was still
called the HDMI HAL. This file has been replaced by a corresponding file
in hdmi/connection/aidl/...

Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiCecAidlTargetTest;
atest VtsHalTvHdmiConnectionAidlTargetTest;
atest VtsHalTvHdmiEArcAidlTargetTest;
Bug: 261729059
Change-Id: I472c054fd553f49c8834049a21eb4aa91f17285e
2023-01-12 17:15:52 +00:00
Treehugger Robot
b5efdb0a7f Merge "EARC: Make reportCapabilities param a reference" am: cf268bfc95 am: abc77bfdcb am: 7913cfbfe5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2385792

Change-Id: I42f90b25f848fc05c1be0a12ce27610b3b28f74c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12 16:59:56 +00:00
Sham Rathod
8a68cbc4d0 EARC: Make reportCapabilities param a reference
Test: atest VtsHalTvEArcAidlTargetTest

Bug: 240388105
Change-Id: Id367550589ff22b6fbda796406f712a7d195d70c
2023-01-12 09:35:57 +05:30
Nathalie Le Clair
771928d151 Remove unused test mapping file
These files were created when the HDMI Connection HAL was still called
the HDMI HAL. They are no longer required today and should be removed.

Test: none
Bug: 265065502
Change-Id: I066896077cdc009cc573bb7df44c7b4fdc4c8baf
2023-01-11 13:23:45 +00:00
Nathalie Le Clair
16fed02090 Merge "Refactor HDMI related AIDL packages" am: e6c4ebb0de am: 8047dfe2ed am: dc0a6dcb9c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2347525

Change-Id: I5954f3b0106b9a01ae174fe787f0fe751f9295f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 17:50:40 +00:00
Venkatarama Avadhani
601d29917a Refactor HDMI related AIDL packages
Move CEC, EArc and the old "HDMI" package in to one common hdmi package
as cec, earc and connection.

Test: Build
Bug: 261729059

Change-Id: Ic657713e3a4078125e211bb0d337519a9192aaa1
2023-01-09 16:53:02 +05:30
Treehugger Robot
89f54544f2 Merge "HDMI: Add Hotplug Detection Signal support" am: be1d5356f7 am: ea18f96966 am: aa78792d1c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2297079

Change-Id: I36f4276680d3c60f7ebc4ff6ff27c21893fddbf2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 00:26:24 +00:00
Venkatarama Avadhani
04ee1a4f68 HDMI: Add Hotplug Detection Signal support
The HPD (Hotplug Detection) signal indicates the type of signal that the
HAL should use.

Bug: 258394639
Test: atest VtsHalTvHdmiAidlTargetTest
Change-Id: Ic391064d10636aca3c8e5c256c41d40144fbfe9c
2022-12-27 17:57:31 +05:30
Treehugger Robot
a160bfa522 Merge "HDMI: Add new field eArcSupported" am: 45661bec3f am: 0c8f94b4ae am: 6b25278ea0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2280731

Change-Id: Ibc78e01bffa090822a087de476c897436ae40f96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 10:47:09 +00:00
Venkatarama Avadhani
3d35efca19 HDMI: Add new field eArcSupported
Add a new field called eArcSupported to the port info structure to
determine if the port supports eARC.

Bug: 255901009
Test: make
Change-Id: Iff97479010a097018efcd5070c232a69aa1e1c77
2022-11-02 10:16:28 +05:30
Michal Olech
854785a4bd Add CEC AIDL tests to test mapping (presubmit)
Bug: 250526670
Bug: 250526969
Test: acloud create --local-instance --local-image && atest .
Change-Id: Ib63c617e8177c69852cb6ee55549e7fd5196de2e
2022-10-20 12:54:21 +02:00
Venkatarama Avadhani
820b548de9 CEC: Add AIDL interface
Split and convert to AIDL the HDMI CEC HAL into two separate HALs -
CEC and HDMI. CEC handles the CEC messages while HDMI handles the
hotplug and physical ports.
Also add the default and VTS for the two HALs.

Bug: 233026642
Test: m android.hardware.tv.cec-update-api
      make
Change-Id: I67c6d7aeea6922f69a1ffa7acb36c811c80afabf
2022-10-11 10:03:02 +05:30