Skip to content
Commit b80a3077 authored by Amy Zhang's avatar Amy Zhang
Browse files

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
parent 3cfbdd8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment