Commit graph

352 commits

Author SHA1 Message Date
Amy
fa94a2ca46 Convert VtsHalTvTunerV1_0TargetTest to be parameterized test
Bug: 139309306
Test: atest VtsHalTvTunerV1_0TargetTest
Change-Id: I02cd4b7c58b8339bc2fdc69ecb8fc0e88f5baa3f
(cherry picked from commit a29bfaf17a)
2020-01-23 08:47:31 -08:00
Amy Zhang
739dfb06b8 Merge "Add test mapping for Tuner HAL" 2020-01-23 16:07:05 +00:00
Nick Chalko
fc4c08698a Add test mapping for Tuner HAL
Run HAL VTS

Change-Id: Ie1b62a6e7a8ab54df013cf59655d689e4a662170
Test: atest
Bug: 135705719
2020-01-22 23:44:33 +00:00
Amy
a29bfaf17a Convert VtsHalTvTunerV1_0TargetTest to be parameterized test
Bug: 139309306
Test: atest VtsHalTvTunerV1_0TargetTest
Change-Id: I02cd4b7c58b8339bc2fdc69ecb8fc0e88f5baa3f
2020-01-22 14:50:42 -08:00
Henry Fang
d13c298ff5 Add a few type for Analog frontend
Test: Manual
bug: 135708935
Change-Id: Ib0dbd610620682854f8c2b421285da39233cec01
2020-01-18 00:47:08 +00:00
Amy
90a2de6c30 Disable Tuner HAL VTS test cases that use un-licensed stream.
Test: atest
Change-Id: I91c27f536bcf589dd605b402a851af14cd2c993f
(cherry picked from commit 342388ac41)
2020-01-17 13:36:17 -08:00
Amy
342388ac41 Disable Tuner HAL VTS test cases that use un-licensed stream.
Test: atest
Change-Id: I91c27f536bcf589dd605b402a851af14cd2c993f
2020-01-17 05:43:10 +00:00
TreeHugger Robot
6191c9c594 Merge "Export FrontendDvbtPlpMode" 2020-01-16 02:16:40 +00:00
shubang
e266073ed6 Export FrontendDvbtPlpMode
Test: make;
Change-Id: I3d4c0667ba1251b3038681759c50b453cd40a8ca
2020-01-15 02:16:57 -08:00
Henry Fang
fe019ac3f7 Add DataId for Audio Handle in Audio Track
Test: Manual
bug: 135708935
Change-Id: I639d65999dbf1bf727837298804c350698a9f08a
2020-01-14 14:19:47 -08:00
Nick Chalko
4b9ab65f96 Improve documentation for FrontendEventType
Test: m android.hardware.tv.tuner@1.0
Change-Id: I3eece06215debfdb5122faa84ce5a80c1a28a8db
2020-01-08 10:57:39 -08:00
TreeHugger Robot
acea8b8e60 Merge "Add @export to frontend scan enums" 2019-12-23 20:27:34 +00:00
Amy
ed9ba5e08c Add a DVR Record data flow test in the Tuner HAL 1.0 VTS
Test: atest on cuttlefish
Bug: 135708935
Change-Id: I3923b7bcfae6ea07a46603bd9f97e743d36284e2
(cherry picked from commit 97ce9c553d)
Merged-In: I3923b7bcfae6ea07a46603bd9f97e743d36284e2
2019-12-18 19:06:29 +00:00
Amy
4f68e81e70 Adding a DVR Record default implementation in Tuner HAL 1.0
Test: cuttlefish
Bug: 135709325
Change-Id: I415426d6ec048bdd2ae61a3c5142ad02f1d7f1e4
(cherry picked from commit 5ed13574aa)
Merged-In: I415426d6ec048bdd2ae61a3c5142ad02f1d7f1e4
2019-12-18 19:06:23 +00:00
Henry Fang
b442c9bc17 Tuner HAL minor corrections
Test: Manual
bug: 135708935
Change-Id: I2f74b2a4266ea86a80dab8b729bf57a78319b207
(cherry picked from commit d5f570e7d7)
Merged-In: I2f74b2a4266ea86a80dab8b729bf57a78319b207
2019-12-18 19:06:09 +00:00
Amy
97ce9c553d Add a DVR Record data flow test in the Tuner HAL 1.0 VTS
Test: atest on cuttlefish
Bug: 135708935
Change-Id: I3923b7bcfae6ea07a46603bd9f97e743d36284e2
2019-12-17 16:06:50 -08:00
Amy
5ed13574aa Adding a DVR Record default implementation in Tuner HAL 1.0
Test: cuttlefish
Bug: 135709325
Change-Id: I415426d6ec048bdd2ae61a3c5142ad02f1d7f1e4
2019-12-17 16:06:25 -08:00
Henry Fang
d5f570e7d7 Tuner HAL minor corrections
Test: Manual
bug: 135708935
Change-Id: I2f74b2a4266ea86a80dab8b729bf57a78319b207
2019-12-17 16:06:17 -08:00
shubang
efb7ffa6ca Add @export to frontend scan enums
Test: make;
Change-Id: I9489ae28722e73de0aba7e83b115935546e8e357
2019-12-11 15:33:20 -08:00
Henry Fang
6eb4487082 Add TEMI filter, releasing AV handle and CI-CAM
Test: Manual
bug: 135708935
Change-Id: I21701185feb274dc1e8b3cff3db59b9d3f73edf1
Merged-In: I21701185feb274dc1e8b3cff3db59b9d3f73edf1
2019-12-03 22:48:16 +00:00
Henry Fang
89f12f58b0 Add TEMI filter, releasing AV handle and CI-CAM
Test: Manual
bug: 135708935
Change-Id: I21701185feb274dc1e8b3cff3db59b9d3f73edf1
2019-11-26 11:18:48 -08:00
Steven Moreland
856e1d3874 Merge "update-makefiles.sh: for partial Java pkgs" am: cbd3f444c7 am: 7eebf74e97
am: b2b3af540f

Change-Id: Ib6374f3dc3a00ebcb0fac50bfcd5eda479692565
2019-11-05 11:13:18 -08:00
Steven Moreland
077b73b7ab update-makefiles.sh: for partial Java pkgs
Packages which contain some non-supported Java types can still have
their Java-supported types used in Java.

Bug: 143566068
Test: mma
Change-Id: I2afc5cc8d0a1bd981108ee2b87d6033fd48bdb37
2019-11-04 12:50:41 -08:00
Amy
5d794f4ffa VTS refactoring for filter separation
Test: atest
Bug: 135708935
Change-Id: I22b6249a953b81793fdfbf17adbadeebde12277a
(cherry picked from commit 0f94ba87a0)
Merged-In: I22b6249a953b81793fdfbf17adbadeebde12277a
2019-10-26 00:30:00 +00:00
Amy
33963aa37b Refactor Tuner HAL Default Impl for Filter and Dvr separation
Test: manual
Bug: 135709325
Change-Id: I130f555315683fa02272f40d1e6209c5695c884a
(cherry picked from commit b4b680167c)
Merged-In: I130f555315683fa02272f40d1e6209c5695c884a
2019-10-26 00:29:45 +00:00
Henry Fang
865220991a Add Filter linkage and seperate interface
Test: Manual
bug: 135708935
Change-Id: I5782a183936ffca4f345d14c353ad34210f12df7
(cherry picked from commit e5125a89ab)
Merged-In: I5782a183936ffca4f345d14c353ad34210f12df7
2019-10-26 00:29:01 +00:00
Amy
0f94ba87a0 VTS refactoring for filter separation
Test: atest
Bug: 135708935
Change-Id: I22b6249a953b81793fdfbf17adbadeebde12277a
2019-10-25 21:32:21 +00:00
Amy
b4b680167c Refactor Tuner HAL Default Impl for Filter and Dvr separation
Test: manual
Bug: 135709325
Change-Id: I130f555315683fa02272f40d1e6209c5695c884a
2019-10-25 21:32:11 +00:00
Henry Fang
e5125a89ab Add Filter linkage and seperate interface
Test: Manual
bug: 135708935
Change-Id: I5782a183936ffca4f345d14c353ad34210f12df7
2019-10-25 21:32:03 +00:00
shubang
7ab999d0a3 Fix minor issues in dmux default impl
Test: mannual
Change-Id: If74df110cd9eda2dadb87a8d659d83233ad75d88
(cherry picked from commit 9a1e5aa93a)
Merged-In: If74df110cd9eda2dadb87a8d659d83233ad75d88
2019-10-17 18:24:09 +00:00
TreeHugger Robot
c8eae8a64e Merge "Fix minor issues in dmux default impl" 2019-10-16 17:38:15 +00:00
shubang
9a1e5aa93a Fix minor issues in dmux default impl
Test: mannual
Change-Id: If74df110cd9eda2dadb87a8d659d83233ad75d88
2019-10-15 22:22:26 -07:00
Nick Chalko
b25ffb297b Fix spelling error.
Test: n/a
Change-Id: Ia0be33f6295dcdc1606c3f0c619ff4b1a372ff22
2019-10-15 15:53:07 -07:00
Amy
80d8badd1c Adding PES filter functionality to assemble PES data
Test: manual
Bug: 135709325
Change-Id: I9bbbae88918004201e6d7d5389473b4fd3a0a969
Merged-In: I9bbbae88918004201e6d7d5389473b4fd3a0a969
(cherry picked from commit 1109e9fee2)
2019-10-12 00:09:17 +00:00
Amy
7e4ca874d0 Adding filter status tracking logic into Demux default impl
Test: manual
Bug: 135709325
Change-Id: I2d473c250dc4d87263d5e7004095d144da684223
Merged-In: I2d473c250dc4d87263d5e7004095d144da684223

(cherry picked from commit 7912502053)
2019-10-12 00:08:50 +00:00
Amy
1109e9fee2 Adding PES filter functionality to assemble PES data
Test: manual
Bug: 135709325
Change-Id: I9bbbae88918004201e6d7d5389473b4fd3a0a969
2019-10-10 19:02:54 -07:00
Amy
7912502053 Adding filter status tracking logic into Demux default impl
Test: manual
Bug: 135709325
Change-Id: I2d473c250dc4d87263d5e7004095d144da684223
2019-10-10 18:43:31 -07:00
TreeHugger Robot
5165caf6c6 Merge "Add a README for tuner HAL." 2019-10-09 02:10:15 +00:00
Nick Chalko
2d724a3251 Add a README for tuner HAL.
Test: viewed on gtiles.
Change-Id: Ib03bd9ffecd0c67a504a129db7b1cf16181f7b1f
2019-10-08 17:56:33 -07:00
Nick Chalko
e36b09b4c9 Fix some spelling errors
Test: m android.hardware.tv.tuner@1.0
Change-Id: I2f1551106a2d18efe0819bea62cd0f9a0679c636
2019-10-08 14:54:52 -07:00
Amy
058e343f8d Adding a Broadcast data flow test with a PES filter
Test: atest
Bug: 135708935
Change-Id: I64166ae5113a7c0bfd834a85c722a860c1d16694
(cherry picked from commit 4bad0f9840)
2019-10-08 13:45:03 -07:00
Amy
e258376b3c Adding the mocking frontend tuning functionality to take specific ts
file as source of a Demux.

Test: atest
Bug: 135709325
Change-Id: I69849db58d68a7496f929940a74a63e7a9e6c6be
(cherry picked from commit 5094ae172d)
2019-10-08 13:43:37 -07:00
Amy
1a26e69e98 Adding filter configuration and pes filter test based on PID test
Test: atest
Bug: 135708935
Change-Id: I61d6dab9124190b05a030f0ea36dcc15c00b7ac3
(cherry picked from commit 22cd1cbf8c)
2019-10-08 13:42:25 -07:00
Amy
c13371c650 Adding a TS filter functionality into the Demux default impl
Test: atest
Bug: 135709325
Change-Id: I149104fd4c7d1ce413036b147365a49973455e72
(cherry picked from commit 42a5b4b87f)
2019-10-08 13:41:51 -07:00
Henry Fang
292d7ecceb Tuner HAL : patch comments and ATSC3
bug: 135708935
Test: Manual
Change-Id: I2ccd19cba6e9a5fa6f9c61ca9a7ef13b7ab834e3
(cherry picked from commit 859ec12b8d)
2019-10-08 13:41:05 -07:00
Amy
4bad0f9840 Adding a Broadcast data flow test with a PES filter
Test: atest
Bug: 135708935
Change-Id: I64166ae5113a7c0bfd834a85c722a860c1d16694
2019-10-08 11:21:20 -07:00
Amy
5094ae172d Adding the mocking frontend tuning functionality to take specific ts
file as source of a Demux.

Test: atest
Bug: 135709325
Change-Id: I69849db58d68a7496f929940a74a63e7a9e6c6be
2019-10-08 11:21:02 -07:00
Amy
22cd1cbf8c Adding filter configuration and pes filter test based on PID test
Test: atest
Bug: 135708935
Change-Id: I61d6dab9124190b05a030f0ea36dcc15c00b7ac3
2019-10-08 11:20:50 -07:00
Amy
42a5b4b87f Adding a TS filter functionality into the Demux default impl
Test: atest
Bug: 135709325
Change-Id: I149104fd4c7d1ce413036b147365a49973455e72
2019-10-08 11:20:38 -07:00
Henry Fang
859ec12b8d Tuner HAL : patch comments and ATSC3
bug: 135708935
Test: Manual
Change-Id: I2ccd19cba6e9a5fa6f9c61ca9a7ef13b7ab834e3
2019-10-08 11:20:12 -07:00
Amy
df3746daeb Playback VTS modulization
Test: manual
Bug: 135708935
Change-Id: I07c03223703290196a20b0b3f689637063bac202
(cherry picked from commit fda9224f14)
2019-09-24 18:29:24 -07:00
Amy
b9d0c8b33f Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support default implementation
Test: manual
Bug: 135709325
Change-Id: I846c8d1f50ad636e9718cf792a29c8b076246c54
(cherry picked from commit 016b73119c)
2019-09-24 18:28:21 -07:00
Henry Fang
eca50336c3 Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support
bug: 135708935
Test: Manual
Change-Id: I667afbe8f4455ba1c70ae3113a2cd6819aa28156
(cherry picked from commit 0d5c8da338)
2019-09-24 18:26:19 -07:00
Amy
fda9224f14 Playback VTS modulization
Test: manual
Bug: 135708935
Change-Id: I07c03223703290196a20b0b3f689637063bac202
2019-09-24 14:58:40 -07:00
Amy
016b73119c Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support default implementation
Test: manual
Bug: 135709325
Change-Id: I846c8d1f50ad636e9718cf792a29c8b076246c54
2019-09-24 13:54:27 -07:00
Henry Fang
0d5c8da338 Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support
bug: 135708935
Test: Manual
Change-Id: I667afbe8f4455ba1c70ae3113a2cd6819aa28156
2019-09-24 13:54:27 -07:00
Dongwon Kang
d6887ca8cc Remove unnecessary include in service.cpp
Test: build.
Bug: 139201422
Change-Id: I13fcd1223eacc999c66c514b549c51a96e4efda6
2019-09-23 14:21:57 -07:00
Amy
8f08c5fb51 Tuner HAL Demux Playback interface VTS
Test: manual
Bug: 135708935
Change-Id: Ifb93bbd5920f7998d9716a55cba983f8a5ace425
2019-09-18 18:36:43 -07:00
Amy
e223baab13 Tuner HAL Demux Playback interface implementation
Test: manual
Bug: 135709325
Change-Id: I0b673159b667c5bde47e9ed285cfa1bdc6c668c6
2019-09-18 18:36:18 -07:00
Henry Fang
00c63bb59c Add record and playback to Tuner HAL
bug: 135708935
Test: Manual
Change-Id: Ibe8a51be31f455cc15b380748a0810e2706e5c1e
2019-09-18 18:35:52 -07:00
Amy
9db58dfa48 Tuner HAL Demux Playback interface VTS
Test: manual
Bug: 135708935
Change-Id: Ifb93bbd5920f7998d9716a55cba983f8a5ace425
2019-09-18 15:34:54 -07:00
Amy
a4885299c2 Tuner HAL Demux Playback interface implementation
Test: manual
Bug: 135709325
Change-Id: I0b673159b667c5bde47e9ed285cfa1bdc6c668c6
2019-09-18 15:19:20 -07:00
Henry Fang
2226b070fb Add record and playback to Tuner HAL
bug: 135708935
Test: Manual
Change-Id: Ibe8a51be31f455cc15b380748a0810e2706e5c1e
2019-09-18 15:19:08 -07:00
Steven Moreland
38c46d0b98 Merge "Remove libhwbinder/libhidltransport deps" am: 6b62c58a9a am: 8c22c3862f am: 6684ee8c36
am: 9a5ffa3196

Change-Id: I3a80895d10767fe68e90a907312a83ded976cbcc
2019-09-06 16:06:13 -07:00
Amy
98cf3408af Tuner HAL Demux Filter VTS
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 135708935
Change-Id: I2b6b7e904cb274e7ccd10e481b04dfd9394afe3e
Merged-In: I2b6b7e904cb274e7ccd10e481b04dfd9394afe3e
2019-09-06 22:40:40 +00:00
Amy
481066c7ce Tuner HAL Filter APIs default implementation
Bug: 135709325
Test: manual
Change-Id: If10acac560d3130105079121602be576eb0b225a
Merged-In: If10acac560d3130105079121602be576eb0b225a
2019-09-06 22:40:09 +00:00
Amy Zhang
aedfe936ef Merge changes I1f2c9bfe,I38a92abb
* changes:
  Tuner HAL VTS for Demux and Descrambler Interface.
  Tuner HAL default implementation for Demux and Descrambler Interface.
2019-09-06 21:35:56 +00:00
Treehugger Robot
b1f3e7d8ee Merge "Add filter function to Demux interface and Add program info to Descrambler" 2019-09-06 21:14:23 +00:00
Steven Moreland
6b62c58a9a Merge "Remove libhwbinder/libhidltransport deps" 2019-09-06 19:33:26 +00:00
Amy
decd6eb7ce Merge "Using named pipe as input/output of the CEC hal mock impl" am: 321f443d65 am: 56cc2ddb28 am: 568975f07c am: dfe6be6f3c
am: 10e00fd8bd

Change-Id: I6dc35dbdc932d462b332779111da770ba8cee082
2019-09-05 21:44:40 -07:00
Treehugger Robot
321f443d65 Merge "Using named pipe as input/output of the CEC hal mock impl" 2019-09-06 03:47:13 +00:00
Henry Fang
7d01fdb66e Add filter function to Demux interface and Add program info to Descrambler
bug: 135708935
Test: Manual
Change-Id: Iacaebdac6a8ce08ca47ae272be13d51fbd502959
Merged-In: Iacaebdac6a8ce08ca47ae272be13d51fbd502959
2019-09-06 02:55:39 +00:00
Amy Zhang
7048f252cf Merge "Add Demux and Descrambler interface to Tuner HAL Test: Manual bug: 135709729" 2019-09-06 01:42:09 +00:00
Steven Moreland
b3a4d3832e Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
2019-09-06 01:07:02 +00:00
Treehugger Robot
52119b7ee2 Merge "Adding OWNER for the TunerHAL implementation" 2019-09-05 23:31:22 +00:00
Treehugger Robot
9cee443046 Merge "Add an OWNER file to the Tuner HAL 1.0 VTS" 2019-09-05 22:03:51 +00:00
Amy
4a93c03793 Tuner HAL VTS for Demux and Descrambler Interface.
Bug: 135708935
Test: Manual
Change-Id: I1f2c9bfe6036dc6070dbf88d9728645f2568dcde
Merged-In: I1f2c9bfe6036dc6070dbf88d9728645f2568dcde
2019-09-05 21:55:24 +00:00
Amy
4424c6e20a Tuner HAL default implementation for Demux and Descrambler Interface.
Bug: 135709325
Test: Manual
Change-Id: I38a92abb761d2d39e8e6a495f2d93dee5f1c9d90
Merged-In: I38a92abb761d2d39e8e6a495f2d93dee5f1c9d90
2019-09-05 21:55:17 +00:00
Henry Fang
cf05ed7e03 Add Demux and Descrambler interface to Tuner HAL
Test: Manual
bug: 135709729

Change-Id: I78283acdd7c22a2d4a785fa050bedd5e7ccc593e
Merged-In: I78283acdd7c22a2d4a785fa050bedd5e7ccc593e
2019-09-05 21:54:32 +00:00
Amy
7bbbdd2499 Adding OWNER for the TunerHAL implementation
Test: manual
Change-Id: Ia716b7ddabe80203b19d80cf54efb7fb93df3e10
2019-09-05 11:01:25 -07:00
Amy
5c6e59b1b0 Add an OWNER file to the Tuner HAL 1.0 VTS
Test: manual
Change-Id: I2e5992a827dc430118cfbd68982c4ef08aa9b0e1
2019-09-05 10:56:25 -07:00
TreeHugger Robot
9f668424f2 Merge "Add an OWNER file to the Tuner HAL 1.0 VTS" 2019-09-05 17:39:04 +00:00
Amy Zhang
983289314d Merge changes from topic "tuner_filter"
* changes:
  Tuner HAL Demux Filter VTS
  Tuner HAL Filter APIs default implementation
  Add filter function to Demux interface and Add program info to Descrambler
2019-09-05 03:16:23 +00:00
Amy
2814d04173 Add an OWNER file to the Tuner HAL 1.0 VTS
Test: manual
Change-Id: I2e5992a827dc430118cfbd68982c4ef08aa9b0e1
2019-09-04 19:20:29 -07:00
Amy
052275a924 Tuner HAL Demux Filter VTS
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 135708935
Change-Id: I2b6b7e904cb274e7ccd10e481b04dfd9394afe3e
2019-09-04 18:31:27 -07:00
Amy
a609d5a0e2 Tuner HAL Filter APIs default implementation
Bug: 135709325
Test: manual
Change-Id: If10acac560d3130105079121602be576eb0b225a
2019-09-04 18:31:09 -07:00
Henry Fang
2dfa337903 Add filter function to Demux interface and Add program info to Descrambler
bug: 135708935
Test: Manual
Change-Id: Iacaebdac6a8ce08ca47ae272be13d51fbd502959
2019-09-04 18:30:46 -07:00
TreeHugger Robot
06b7cb24dd Merge "Fix spelling errors" 2019-08-28 17:13:31 +00:00
Amy Zhang
6eb4d5927d Merge "Tuner HAL VTS for Tuner and Frontend Interface."
am: 54a8146aeb

Change-Id: Ida44c1c443ae36993a8e5910eebba10d21ac4f93
2019-08-24 01:19:54 -07:00
Amy Zhang
5371ac06d2 Merge "Tuner HAL default implementation for ATV for Tuner and Frontend Interface."
am: 6f2162e3db

Change-Id: I709ed72dcdef5533a6ac2bcc7b7180a35ae5434b
2019-08-24 01:19:47 -07:00
Amy Zhang
282236555f Merge "Tuner HAL for ATV Initialize Tuner HAL review from Tuner and Frontend Interface."
am: b14c604e03

Change-Id: I9c17b765a2917ac30e8a140d12d5ba19fb9f6206
2019-08-24 01:19:41 -07:00
Amy Zhang
54a8146aeb Merge "Tuner HAL VTS for Tuner and Frontend Interface." 2019-08-23 21:36:34 +00:00
Amy Zhang
6f2162e3db Merge "Tuner HAL default implementation for ATV for Tuner and Frontend Interface." 2019-08-23 21:36:34 +00:00
Peter Kalauskas
0fe5a0e89e Merge "Convert LazyServiceRegistrar usage to singleton" 2019-08-23 19:25:23 +00:00
Nick Chalko
615647f437 Fix spelling errors
Change-Id: Ie8c8212d953ef74192e3b713975b813098a7485a
Test: m VtsHalTvTunerV1_0TargetTest
2019-08-23 10:33:52 -07:00
Amy
7fb75d8cf8 Tuner HAL default implementation for ATV for Tuner and Frontend Interface.
Bug: 135709325
Test: Manual
Change-Id: I5603e2c6dd71c46c9c5f3b0e25425c965e77ed0c
Merged-In: I5603e2c6dd71c46c9c5f3b0e25425c965e77ed0c
2019-08-23 00:47:35 +00:00
Amy
aa2891826c Tuner HAL VTS for Tuner and Frontend Interface.
Bug: 135708935
Test: Manual
Change-Id: I5be2206ffe606ccc5464635f9a26e2c281930a0b
Merged-In: I5be2206ffe606ccc5464635f9a26e2c281930a0b
2019-08-23 00:47:16 +00:00
Henry Fang
ec76614f65 Tuner HAL for ATV
Initialize Tuner HAL review from Tuner and Frontend Interface.

Bug: 135709729
Test: Manual
Change-Id: Ibfc18049ea471a1cfec6fb9f5b71f8a92cf89045
Merged-In: Ibfc18049ea471a1cfec6fb9f5b71f8a92cf89045
2019-08-23 00:46:49 +00:00
Amy Zhang
74b1b47674 Merge changes from topic "Tuner HAL demux and descrambler"
* changes:
  Tuner HAL VTS for Demux and Descrambler Interface.
  Tuner HAL default implementation for Demux and Descrambler Interface.
  Add Demux and Descrambler interface to Tuner HAL Test: Manual bug: 135709729
2019-08-22 21:06:37 +00:00
Peter Kalauskas
600809eaab Convert LazyServiceRegistrar usage to singleton
Test: lshal
Bug: 139376253
Change-Id: I8a407d84f1a5b51309cf4306cf1beab4ed0c7df4
2019-08-22 12:30:58 -07:00
Nick Chalko
6afc174076 Merge "Improve IFrontend docstrings" 2019-08-22 11:30:05 +00:00
Amy
c247c884fa Tuner HAL VTS for Demux and Descrambler Interface.
Bug: 135708935
Test: Manual
Change-Id: I1f2c9bfe6036dc6070dbf88d9728645f2568dcde
2019-08-21 19:16:41 -07:00
Amy
fd4243a951 Tuner HAL default implementation for Demux and Descrambler Interface.
Bug: 135709325
Test: Manual
Change-Id: I38a92abb761d2d39e8e6a495f2d93dee5f1c9d90
2019-08-21 19:15:47 -07:00
Henry Fang
f3eec03f42 Add Demux and Descrambler interface to Tuner HAL
Test: Manual
bug: 135709729

Change-Id: I78283acdd7c22a2d4a785fa050bedd5e7ccc593e
2019-08-21 18:13:51 -07:00
Amy
79e0167fea Adding OWNER for the TunerHAL implementation
Test: manual
Change-Id: Ia716b7ddabe80203b19d80cf54efb7fb93df3e10
2019-08-21 13:54:39 -07:00
Nick Chalko
7d6690e533 Improve IFrontend docstrings
Change-Id: I9c8395a43807d05ccc4d78da169f7fd1b8ab88ac
Test: m VtsHalTvTunerV1_0TargetTest
2019-08-16 15:31:08 -07:00
Amy Zhang
1de3dec97d Merge changes from topic "Tuner Hal Frontend interface"
* changes:
  Tuner HAL VTS for Tuner and Frontend Interface.
  Tuner HAL default implementation for ATV for Tuner and Frontend Interface.
2019-08-15 18:02:50 +00:00
Amy
01f5eacdcc Tuner HAL VTS for Tuner and Frontend Interface.
Bug: 135708935
Test: Manual
Change-Id: I5be2206ffe606ccc5464635f9a26e2c281930a0b
2019-08-14 15:44:03 -07:00
Amy
126ee92023 Tuner HAL default implementation for ATV for Tuner and Frontend Interface.
Bug: 135709325
Test: Manual
Change-Id: I5603e2c6dd71c46c9c5f3b0e25425c965e77ed0c
2019-08-14 15:39:21 -07:00
Henry Fang
bca165e63a Tuner HAL for ATV
Initialize Tuner HAL review from Tuner and Frontend Interface.

Bug: 135709729
Test: Manual
Change-Id: Ibfc18049ea471a1cfec6fb9f5b71f8a92cf89045
2019-08-14 13:53:39 -07:00
Amy
6490b2fc5f Using named pipe as input/output of the CEC hal mock impl
Test: see go/cec_1.0_cuttlefish "How to test HDMI framework on Cuttlefish"
Bug: 135684678
Change-Id: Ice53fe48780d10491a01ec2da764335753150521
2019-07-31 13:26:14 -07:00
Amy
4ff0b57753 Merge "Adding default HDMI CEC impl" am: 42d10ce6ee am: cad5ed3fa2 am: 01a5b3e188
am: 0fc712cba5

Change-Id: Ie62d70c418ee91bb2e20c15c27b60d00e25cad9e
2019-07-22 14:22:47 -07:00
Amy
cad5ed3fa2 Merge "Adding default HDMI CEC impl"
am: 42d10ce6ee

Change-Id: I40e20349695672ad34b72aff75a8611a938ac7bf
2019-07-22 13:54:53 -07:00
Amy
e4ddc0d522 Adding default HDMI CEC impl
Test: manual
Bug: 135684678
Change-Id: I10769731cdc28a3da1cd7c41f97d8215c86f0d60
2019-07-17 11:13:29 -07:00
Amy Zhang
97d15479e1 Merge "Add an xsd file for Short Audio Descriptor xml config file." 2019-07-10 00:38:21 +00:00
Amy
d365e2b5ff Add an xsd file for Short Audio Descriptor xml config file.
Please see platform/device/*/files/sadConfigSample.xml as a sample XML.

Test: xmllint --noout --schema hardware/interfaces/tv/cec/1.0/config/sadConfig.xsd  --xinclude device/harman/atom/files/sadConfig.xml
Bug: 80297701
Change-Id: Ic69aff4f480a206f86ef0c345b6d3f7eb87e8c1f
(cherry picked from commit 652af560cd420107b7eb5eac2307e3b53f4294a9)
2019-07-09 21:14:52 +00:00
Felix
37298a7616 Merge "Add interface info to .rc files"
am: 98d0f4d52c

Change-Id: Ie6cfbacd523c4b09f77bee3369ec8e88b3fa0419
2019-07-08 12:22:23 -07:00
Felix
551b8d15ce Add interface info to .rc files
Signed-off-by: Felix <google@ix5.org>
Change-Id: I6d70bbdb66c3dce280bf6908c3750316a6f6cf70
2019-06-25 20:00:07 +02:00
Steven Moreland
99712c08cc Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I53e5bf67a0d314e1b10c0ba0c7172a7af358ddcc
2019-04-18 18:13:05 -07:00
Steven Moreland
6d494b2346 Merge "Update hidl makefiles for bpfmt" am: ff0bd741ca
am: 96f40f7b02

Change-Id: Idbf030e4993067bdb8181321bca2de00c9b6f7ef
2019-04-18 14:34:45 -07:00
Steven Moreland
1ae4615d9f Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
2019-04-17 09:38:50 -07:00
Steven Moreland
87f43604b9 Merge "Update makefies: no 'types' internal" 2019-03-05 17:40:03 +00:00
Steven Moreland
7f4e21adda Merge "Update makefies: no 'types'" am: 4ee5ec1469 am: bab622f6a6
am: 7224bc9bcf

Change-Id: I434939e0770afa436c532a945542fce30a71ef7d
2019-03-04 16:05:59 -08:00
Steven Moreland
b91ac5c6a0 Update makefies: no 'types' internal
Bug: 123976090
Test: N/A
Change-Id: I84b659b163b63d39535b462a3df8a9c19f680976
2019-03-04 14:09:25 -08:00
Steven Moreland
a878aee9ab Update makefies: no 'types'
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -08:00
Henry Fang
2bb37160b2 Update CEC hal to 2.0
cec@2.0 spec was published with HDMI 2.0b in March 2016.
it added a few important message types, and
also require new mechanism to build and maintain device information.
Test: manual
Bug: 122853595

Change-Id: I00819829573dc260b043f5b14a15c29bc2a119b0
2019-01-22 17:45:47 -08:00
Henry Fang
a3d508a576 Patch cec@1.0 hal to add two Cec message types
Missing two CecMessageTypes that are in CEC Spec 1.4b,
but were not added in the original interface.
Test: manual
Bug: 122273961
Change-Id: Ifd3648544c8dcc85c23b4e2f88606a9347025f95
2019-01-09 17:35:25 -08:00
Keun Soo YIM
68ae05dd2d pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Keun Soo YIM
ff84c37bc1 pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-11-27 16:11:41 -08:00
Steven Moreland
4ee4582230 Update comments for doc comments.
Doc comments look like "/** ... */" and they
can only be in certain places.

Bug: 79865343
Test: m
Change-Id: Ic15c08ff7dc6e4f9827c1dbe7f7236c11a572ec1
2018-05-18 10:10:32 -07:00
Zhuoyao Zhang
f9c8a504b8 Merge "Convert tv input hal test to use VtsHalHidlTargetTestEnvBase" am: 184eb86ca0 am: 8bf3afb434
am: 8fcb7be38a

Change-Id: I9f985bad627428dcbd4aa74159f3467b91d5d107
2018-02-24 19:03:12 +00:00
Zhuoyao Zhang
5c58bc6f65 Convert tv input hal test to use VtsHalHidlTargetTestEnvBase
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalTvInputV1_0Target

Change-Id: I53e870bbae00930af6502acf0029c5b3ff4c7315
2018-02-22 22:11:39 -08:00
Kevin Rocard
8bdafc1b5c Revert "Audio V4: Split system and vendor Audio.h"
This reverts commit 49c56de516.

Reason for revert: Breaks the build of multiple devices

Change-Id: Iebd868467948b8afa5907462ccc0720cd9c4871e
2018-01-24 06:12:44 +00:00
Kevin Rocard
49c56de516 Audio V4: Split system and vendor Audio.h
audio.h and its dependencies (audio-effect.h, sound_trigger.h...)
used to be shared between system and vendor code.

This led to multiple problems:

1) Such sharing contradicts the Treble policy of
strict independence of framework and vendor code.

2) When audio.h was changed, every vendor needed to update
its code in the next release. This meant that audio*.h
headers were mostly changed in backward compatible manner.
Nevertheless, for P the HIDL interface and thus the audio.h
interface are changed in backward incompatible way.
(Some enum are becoming 64 bit long).

3) As the headers were common, some API used only by the framework
needed to be visible to the vendors (mostly enum values).

4) Treble policy is to support at least one previous HAL version

As a result the audio*.h headers are now duplicated,
one set for the framework, and one for the vendor.

Each set will evolve independently. After this split,
the framework-only APIs will be removed from the vendor headers
and vice versa.

The split is implements as such:

 + for system code

    - NOT moving the libaudio_system_headers
      Eg: system/audio.h and system/audio_effects/effect_equalizer.h
          are still in system/media/audio

    - the legacy audio HAL API that were in libhardware headers
          are now in libaudiohal_legacy_headers
      Eg: hardware/audio.h and hardware/audio_effect.h
          are now in frameworks/av/media/libaudiohal/legacy/

 + for vendor code

    - moving libaudio_system_headers and the legacy audio HAL API
          that were in libhardware_headers in
          android.hardware.audio.common.legacy@2.0
      Note that those headers are now versioned, so migrating to a @4.0
          HIDL HAL will mean changing the legacy dependency too.
      Eg: system/audio.h, system/audio-effect.h, hardware/audio.h
          are now in hardware/interfaces/audio/common/2.0/legacy

    - the legacy audio effect HAL API that was in libaudioeffects
          is now moved in android.hardware.audio.effect.legacy@2.0
      Eg: audio_effects/effect*.h are now in
          hardware/interfaces/audio/effect/2.0/legacy

    - the legacy sound trigger HAL API that were in libhardware_headers
          is now moved in android.hardware.soundtrigger.legacy@2.0
      Eg: hardware/sound_trigger.h is now in
          hardware/interfaces/audio/effect/2.0/legacy

libaudioutil being used by both system and vendor, had
to be renamed for system to libaudioutil_system.

Vendor libs that now depend on the audio.h of a specific
version and are not extensively referenced in non google code,
append @2.0 to their name.

Note that headers that are not expected to change in the 4.0 HAL are
left in all-versions folder to avoid duplication.
This is an implementation detail as the versioned libraries export
the all-versions headers.

Note that strict vendor-system separation is enforced by the
build-system. The system headers are not available for vendor
libs and vice-versa.

Note that this patch is split between numerous git repository (>10),
all the commits having the same Change-id for searchability.

Note that audio_policy.h is no longer exposed to vendors
as the legacy audio policy HAL API was never officially supported.
As a result the audiopolicy stub implementation has been removed.

Test: compile taimen-userdebug walleye-userdebug
              sailfish-userdebug marlin-userdebug
              gce_x86_phone-userdebug gce_x86_phone
              full-eng aosp_arm aosp_x86-eng
Test: check that the emulator booted and played audio
Test: full QA on sailfish-userdebug and taimen-userdebug
Bug: 38184704
Change-Id: I950f4e0a55613d72e32eba31bd563cb5bafe2d1a
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-01-22 22:00:56 -08:00
Treehugger Robot
adf8208c52 Merge "Remove subdirs" 2017-11-29 17:53:33 +00:00
Steven Moreland
7b9888217e Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 17:19:46 -08:00
Steven Moreland
fcca4e23b7 Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:22:43 -08:00
Chih-Hung Hsieh
1bf3cfc11d Merge "Use -Werror in hardware/interfaces" am: 02804915fb am: 8e736c21de
am: f53fe9317b

Change-Id: Ifc0a5be285be1a57d998db3c032e392b307cfa80
2017-11-28 19:31:03 +00:00
Chih-Hung Hsieh
3f2ea62d06 Use -Werror in hardware/interfaces
* Use hidl_defaults, which has -Wall -Werror.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ifbca0e176a8e031acc27256eb46d23b89cdf1a0e
2017-11-20 10:49:11 -08:00
Steven Moreland
8db261bc99 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 10:00:18 -08:00
Steven Moreland
a1169dd600 Update makefiles for hidl_interface.
Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
2017-11-10 09:06:55 -08:00
Wally Yau
c8145123db Merge "hdmi_cec: deal with the framework side went away." 2017-11-08 21:41:45 +00:00
Steven Moreland
d28c1bdf62 Merge "Automatic mk -> bp." am: e5fd969f19 am: 72c720a4e3
am: 26013bf6ac

Change-Id: Id936fb4806d122045c771c951220361efeef10c6
2017-11-07 21:24:49 +00:00
chenhg
108a72a20a hdmi_cec: deal with the framework side went away.
Register a death recipient to remove the callback if
the framework side died.

BUG: 67913697
Test: VTS
Change-Id: I51ce5c85c9ec5d1bc90cac72f314647e1075d657
2017-11-03 11:39:33 -07:00
Steven Moreland
90e3a50f03 Automatic mk -> bp.
Automatic mk -> bp conversion for all modules here
which can be converted and built automatically.

Test: Soong resolves all dependencies
Bug: 37512442
Change-Id: Ib789212cb88d55731397c600d132e7c672c0d8be
2017-11-03 16:30:28 +00:00
Steven Moreland
1d7374c5e1 Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1
am: 116161d94e

Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
2017-10-11 16:39:21 +00:00
Steven Moreland
c3e80fa01e Update for Soong java makefiles.
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Steven Moreland
9b019ac4fe Merge "Remove useless Android.mk files." am: 75d5cf515a am: f27cfa15d7 am: 33dc30ce49
am: 0653f3b212

Change-Id: I7c2da3cf30da7b4a1eda7e5369e9caa5ebab2462
2017-10-05 21:52:50 +00:00
Treehugger Robot
75d5cf515a Merge "Remove useless Android.mk files." 2017-10-05 21:40:27 +00:00
Steven Moreland
4b60470f1a Remove useless Android.mk files.
These have been c/p'd all over the place.

Test: m -j nothing
Bug: 33420795
Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
2017-10-04 15:52:40 -07:00