Commit Graph

4 Commits

Author SHA1 Message Date
Ray Chin
bcbb103ea0 Increase the size of threadpool to 16 in hal layer
Bug: 256771936
Test: atest VtsHalTvTunerTargetTest
Change-Id: I0d8f46b9b577337a7fbd42ab50bb1ee91af60210
2023-01-31 17:09:06 +08:00
Hongguang
4a8ac29204 Make the default tuner HAL to be a dynamic AIDL
Add lazy tuner service.
Refine code to allow Tuner reference count to be 0 when no one uses it.

Bug: 236002754
Test: atest VtsHalTvTunerTargetTest on both lazy and normal HALs
Test: atest android.media.tv.tuner.cts on both lazy and normal HALs
Change-Id: I0cc69fe8ffd79a66db00cb72d212c222130629b5
2022-08-23 15:37:21 -07:00
Hongguang Chen
ff2c6b0d85 Add init() to avoid crash when creating ref in constructor.
This reverts commit 50899fb269.

Bug: 195717690
Fix: 195717690
Test: atest VtsHalTvTunerTargetTest
Change-Id: Icae435f1166e6cf2e2f235979e3d1d37d182d517
2021-08-09 15:41:50 -07:00
Hongguang
4092f2f39c Add Tuner AIDL default implementation
Bug: 191825295
Test: make and run VtsHalTvTunerTargetTest
Change-Id: I781f67424ca1890f038160a4fda660507ab9e916
2021-07-23 13:53:56 -07:00