Shraddha Basantwani
65165d5b94
CEC: Add support for multiple ports to default HdmiCec
...
Bug: 185434120
Test: manual
Change-Id: I4e1a1f2ff7cb4530e8b223169d8efd452412089b
2021-10-19 11:11:50 +05:30
Shraddha Basantwani
9fb5e8232e
CEC: Add implementation of SYSTEM_CEC_CONTROL option to default HdmiCec
...
SYSTEM_CEC_CONTROL is updated when system goes into or comes out of
standby mode.
When set to true, Android system is handling CEC commands.
When set to false, microprocessor is handling CEC commands.
Bug: 185434120
Test: manual
Change-Id: I0fbb13a65639508634c6c163b5eaed1885f9e127
2021-10-18 18:12:37 +05:30
Shraddha Basantwani
dedd40e3e8
CEC: Refactor HdmiCecDefault class
...
Use class member variables instead of global variables
Remove struct keyword since it is redundant
Replace property_get_int32 usage with libbase API
Bug: 185434120
Test: manual
Change-Id: Ide477efd0f1d65bb684993aff783447adbe43aed
2021-10-18 18:12:36 +05:30
Treehugger Robot
bef23cceeb
Merge "Adding OWNERS for CEC HAL" am: 52f4717d0e
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1816196
Change-Id: Icc18218ba1422e956a4ed039939ad1359092e544
2021-09-06 12:13:11 +00:00
Nathalie Le Clair
4fc4870973
Adding OWNERS for CEC HAL
...
Bug: 185434120
Test: none
Change-Id: Ie475d581a7e703f9f82a7afb9188c9a2c789189b
Merged-In: Ie475d581a7e703f9f82a7afb9188c9a2c789189b
2021-09-01 15:50:00 +00:00
Treehugger Robot
dfcbb902d3
Merge "CEC: Add implementation of WAKEUP option to default HdmiCec" am: 229d55513b
am: a5a924db68
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1742234
Change-Id: I1fb7c4a068454680075be7ae7653370637466657
2021-06-30 12:13:13 +00:00
Treehugger Robot
f5bf43772e
Merge "CEC: Add implementation of ENABLE_CEC option to default HdmiCec" am: 22135d775e
am: 85f9d241c0
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1742233
Change-Id: I5af558a3acb89e47b019335ba17281ab600ba1eb
2021-06-30 12:13:05 +00:00
Treehugger Robot
4007d5df6d
Merge changes Iaaec9a0a,I280d1424,Ic8a65044,I019cb5cf,I245d52a7, ... am: dba159dcfd
am: 0bbe24d12d
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1730535
Change-Id: Ibe0d554ca146a75db95beb7fef55949317c92ae5
2021-06-30 11:22:15 +00:00
Shraddha Basantwani
05c454f356
CEC: Add implementation of WAKEUP option to default HdmiCec
...
When WAKEUP is set to false, HAL does not wake up the system
upon receiving <Image View On> or <Text View On> messages.
Bug: 185434120
Test: manual
Change-Id: Iaf98020decc887f04b02da480adc70b76189b66d
2021-06-24 16:30:47 +05:30
Shraddha Basantwani
d591d97536
CEC: Add implementation of ENABLE_CEC option to default HdmiCec
...
When ENABLE_CEC is set to false, all the CEC commands are discarded
Bug: 185434120
Test: manual
Change-Id: Iaf7e61af0b5047b041818acf2590c3ffce2f3318
2021-06-24 16:30:47 +05:30
Shraddha Basantwani
0c8a05440b
CEC: Add event handler to default HdmiCec
...
Event handler polls the file descriptor for
CEC messages and events
Bug: 185434120
Test: manual
Change-Id: Iaaec9a0a74b264e5ec8625d7fce3d821208fd5ac
2021-06-18 20:26:09 +05:30
Shraddha Basantwani
92fa8e926f
CEC: Add implementation of setCallback method to default HdmiCec
...
Bug: 185434120
Test: manual
Change-Id: I280d142427ae49eca5abce01eded569efdaf8221
2021-06-18 16:12:42 +05:30
Shraddha Basantwani
d50fd04f4c
CEC: Add implementation of addLogicalAddress method to default HdmiCec
...
Bug: 185434120
Test: manual
Change-Id: Ic8a65044434d3b8a4e0aead5ccf9534dab388d9e
2021-06-18 16:12:42 +05:30
Shraddha Basantwani
105b1c3007
CEC: Add implementation of getCecVersion method to default HdmiCec
...
Bug: 185434120
Test: manual
Change-Id: I019cb5cf68e73331b1468b60cbfb95be7a052522
2021-06-18 16:12:42 +05:30
Shraddha Basantwani
2120790ee6
CEC: Add implementation of isConnected method to default HdmiCec
...
Bug: 185434120
Test: manual
Change-Id: I245d52a7ef4e57852277fce655bd6383e0461f92
2021-06-18 16:12:42 +05:30
Shraddha Basantwani
697e280bde
CEC: Add implementation of getVendorId method to default HdmiCec
...
Bug: 185434120
Test: manual
Change-Id: Ie6b1f0d2551ca271d492c59be5897f77e18b0698
2021-06-18 16:12:42 +05:30
Shraddha Basantwani
332541054e
CEC: Add implementation of getPortInfo method to default HdmiCec
...
Bug: 185434120
Test: manual
Change-Id: Icb12d161304559b12723900192482173c6280052
2021-06-18 16:12:42 +05:30
Shraddha Basantwani
0dacc5cd5c
CEC: Add implementation of clearLogicalAddress method to default HdmiCec
...
Bug: 185434120
Test: manual
Change-Id: Ia21b415f47bfabe9b429378da2319ab7aa543e26
2021-06-18 16:12:42 +05:30
Shraddha Basantwani
9b1e529ce8
CEC: Add implementation of getPhysicalAddress method to default HdmiCec
...
Bug: 185434120
Test: manual
Change-Id: I5e52a82a7e5966cfeab95005c1b454c45ce995b6
2021-06-18 16:12:42 +05:30
Shraddha Basantwani
971853be15
CEC: Add implementation of SendMessage method to default HdmiCec
...
Bug: 185434120
Test: manual
Change-Id: Ic546bc45df5331b381406314f2ba797e607f301e
2021-06-18 16:12:42 +05:30
Shraddha Basantwani
f3a43c8d5e
CEC: Initialise the HAL based on default implementation
...
Bug: 185434120
Test: manual
Change-Id: I4bbe5e799388b0f17c532108dca4c2f037f1ff33
2021-06-18 16:12:42 +05:30
Bob Badour
0f81cab176
[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
...
Added SPDX-license-identifier-Apache-2.0 to:
tv/cec/1.0/vts/functional/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I2ddf826c4af294e2b4ee76d2032c1efef90d93f3
2021-03-30 19:03:18 -07:00
Bob Badour
c243ccb718
[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces am: e3681c542c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14039189
Change-Id: I94a174749ab0890421eef6ed3968d7c395949f7c
2021-03-31 02:03:18 +00:00
Bob Badour
e3681c542c
[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
...
Added SPDX-license-identifier-Apache-2.0 to:
tv/cec/1.0/vts/functional/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I8441f20cebce71d6ba3c5bcf1e6f4fc6afe27130
2021-03-30 12:40:47 -07:00
Michal Olech
87af3e99ff
Merge changes from topic "vts_cec_10" am: 293d67a425
am: 2a8959d969
am: 236a29ea05
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1584904
Change-Id: I6c9c8e07e0e8503951e90e1e7e6604c57b317b40
2021-03-30 12:43:25 +00:00
Shraddha Basantwani
1e75d6f116
CEC: Add methods to get device types am: 3a19b4246f
am: 4a74ccc749
am: f38c8a53f2
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1577106
Change-Id: I79a0a3838f37e231de3fec6aa7af442dd7afc913
2021-03-30 12:43:23 +00:00
Shraddha Basantwani
586fe14899
CEC: Add VTS test to check is connected am: b75639ca66
am: de3c301a52
am: ae30530f38
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1584905
Change-Id: Ie578de3bba8ef2069a4441010aa9f0eed1bb56e1
2021-03-30 12:43:22 +00:00
Shraddha Basantwani
d5c68842c9
CEC: Add README for VTS tests am: 5a1c92594c
am: d678e1e24a
am: ac131439bd
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1584903
Change-Id: I933e20d2ec995a3706d05f2c1e1f551f070956fc
2021-03-30 12:43:21 +00:00
Shraddha Basantwani
35dfeee4cb
CEC: Add VTS test to enable audio return channel am: a17d5ae5be
am: e7a66a40de
am: fa72d25470
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1579867
Change-Id: I9f65c279e14ea20ce787da7ef0cc3a9e85967273
2021-03-30 12:43:20 +00:00
Shraddha Basantwani
70bd68f32b
CEC: Add VTS test to get port info am: 0098a8d3d5
am: 5437ca198c
am: 372de06d81
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1579866
Change-Id: Ib293fecd9d0c4b57cc521985d50862ae9ef65081
2021-03-30 12:43:18 +00:00
Shraddha Basantwani
53b4ececb7
CEC: Add VTS test to set language am: 3857aae7f1
am: 83c8fc6343
am: 529dae159a
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1577105
Change-Id: I8a419bb5bf67bc81cfe10348fa471895f606131b
2021-03-30 12:43:17 +00:00
Shraddha Basantwani
3550814954
CEC: Add VTS test to set option am: 57af1d4b9a
am: c2e83b76b8
am: 7dbed4a1ab
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1577104
Change-Id: I63afe27dd4ad7d493e7d2e0be78f1f3779c7d653
2021-03-30 12:43:16 +00:00
Shraddha Basantwani
3ebc585d59
CEC: Add VTS test to send CEC messages am: 24a9d29a4e
am: 7696a5afe5
am: fe8b5b73cb
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1559095
Change-Id: Ic866694f18d72249cfb951aeca59c01ef9122bc2
2021-03-30 12:43:15 +00:00
Shraddha Basantwani
b95e4519c4
CEC: Add VTS test to clear and add logical address am: 0ebb24b4b7
am: 8fec722557
am: 1f444aead3
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1556542
Change-Id: I774391cf6b0d18651aae51e9f9b525cf1b2bd637
2021-03-30 12:43:14 +00:00
Shraddha Basantwani
5b0feb9424
CEC: Add VTS test to get Vendor Id am: b494d6140f
am: 8cdd1dc38d
am: ae6d450222
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1556541
Change-Id: I699d20360c91970aac65f1c2f194d80592f6ac80
2021-03-30 12:43:12 +00:00
Shraddha Basantwani
9998c6b5b1
CEC: Add VTS test to get CEC version am: d79f658b20
am: 63f7f61577
am: ce5ce9534b
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1556540
Change-Id: I111f4b851df67d8fec9ad53a31eb9828ad7b6151
2021-03-30 12:43:09 +00:00
Michal Olech
02f3e6be8b
Merge "CEC: Add VTS test to check is connected (HAL 1.1)" into sc-dev
2021-03-30 09:40:21 +00:00
Shraddha Basantwani
3a19b4246f
CEC: Add methods to get device types
...
Test: atest VtsHalTvCecV1_0TargetTest
Bug: 172316717
Change-Id: I4dd0c73865b9d12d4b0588cd92f4087cc0c556b4
2021-03-22 17:37:02 +05:30
Shraddha Basantwani
697a002eb2
CEC: Add VTS test to get physical address
...
Test: atest VtsHalTvCecV1_0TargetTest
Bug: 172316717
Change-Id: I9a4979703961e8e67de6bc1d197cec9e2274d41b
2021-03-22 17:37:02 +05:30
Shraddha Basantwani
b75639ca66
CEC: Add VTS test to check is connected
...
Test: atest VtsHalTvCecV1_0TargetTest
Bug: 172316717
Change-Id: Iff1f5fb7566050e80590f99ac5db3cf7308db297
2021-03-22 17:36:46 +05:30
Shraddha Basantwani
5a1c92594c
CEC: Add README for VTS tests
...
Test: NA
Bug: 172316717
Change-Id: I7fa24606ec44d8f7cae62a143cd6bfc42adc904e
2021-03-22 17:35:31 +05:30
Shraddha Basantwani
a17d5ae5be
CEC: Add VTS test to enable audio return channel
...
Test: atest VtsHalTvCecV1_0TargetTest
Bug: 172316717
Change-Id: Ia5d6e8f08ba68d75c68bffbf8d7a90cbf0b67532
2021-03-22 17:35:13 +05:30
Shraddha Basantwani
0098a8d3d5
CEC: Add VTS test to get port info
...
Test: atest VtsHalTvCecV1_0TargetTest
Bug: 172316717
Change-Id: I6c679c38494e28e65b102c9cc3bd0bb02222de76
2021-03-22 16:31:19 +05:30
Shraddha Basantwani
3857aae7f1
CEC: Add VTS test to set language
...
Test: atest VtsHalTvCecV1_0TargetTest
Bug: 172316717
Change-Id: I231485b00f39a2acfc2ea43f00fa65bdde286bf6
2021-03-22 16:31:19 +05:30
Shraddha Basantwani
57af1d4b9a
CEC: Add VTS test to set option
...
Test: atest VtsHalTvCecV1_0TargetTest
Bug: 172316717
Change-Id: I39405bce52f6f535dbdf9de4ab0e8803fb45df41
2021-03-22 16:31:19 +05:30
Shraddha Basantwani
24a9d29a4e
CEC: Add VTS test to send CEC messages
...
Test: atest VtsHalTvCecV1_0TargetTest
Bug: 172316717
Change-Id: I717aa4b29ba38e9bc8ed68f04c9ca07e87e9b577
2021-03-22 16:31:19 +05:30
Shraddha Basantwani
0ebb24b4b7
CEC: Add VTS test to clear and add logical address
...
Test: atest VtsHalTvCecV1_0TargetTest
Bug: 172316717
Change-Id: I9b66082ed360a158e18deb845e8888a39a2a299f
2021-03-22 16:31:19 +05:30
Shraddha Basantwani
b494d6140f
CEC: Add VTS test to get Vendor Id
...
Test: atest VtsHalTvCecV1_0TargetTest
Bug: 172316717
Change-Id: I22f8446aa4b63ee25f4f0dd7cbee21c92688c189
2021-03-22 16:31:19 +05:30
Shraddha Basantwani
d79f658b20
CEC: Add VTS test to get CEC version
...
Test: atest VtsHalTvCecV1_0TargetTest
Bug: 172316717
Change-Id: I1167443cc2cbc7b97aac13b0d8abcb0878656184
2021-03-22 16:31:19 +05:30
Michal Olech
9bccd5f634
CEC: Add VTS test to check is connected (HAL 1.1)
...
Test: atest VtsHalTvCecV1_1TargetTest
Bug: 172316717
Change-Id: Ia4f78f53bef7ce151b0f711b7e7d8595c068c9ef
2021-03-18 16:36:15 +00:00