Support lazy tuner server
*) Refine code to not use global instance. It makes us easier to debug reference count. *) The service will only be started if the tuner feature is declard by the vendor. So we don't need to check tuner feature and whether tuner HAL is presented anymore. *) The service will register its resources to TRM every time when it's started. The TRM will update its resource mapping accordingly. *) Use tuner.server.enable to change tuner server to be a normal service if the HAL is not a lazy HAL. Bug: 236002754 Test: atest android.media.tv.tuner.cts on both lazy and normal HALs Change-Id: I564490fd46154bb0a8bcf6b77e2b2d9478471434
Loading
Please register or sign in to comment