Complete shareFrontend API implementation in TunerResourceManagerService
Note that we need to consider share frontend situation in the following
processes:
1. Request Frontend: to compare with the highest priority among all the
share fe clients.
2. Reclaim resources: This only happens on the primary owner of a fe, we
need to reclaim all the resources under the share fe clients also.
3. Remove client: when remove the primary owner, it should be treated
the same way as reclaiming. When remove the share fe clients, we can
just remove it from the share owner list.
4. Release resource: this only happens on the primary owner, we need to
release the fe under the share fe clients also.
Test: atest com.android.server.tv.tunerresourcemanager
Bug: 163395799
Change-Id: I46b209cd9d7b28ac2d93f6ec297669484ff46cf6
Merged-In: I46b209cd9d7b28ac2d93f6ec297669484ff46cf6
3 files changed