Manager CiCam resources in Tuner Resource Manager
Add a new resource type CiCamResource to be managed by the TRM
At one moment, there each client could only have one ciCam connected
to either demux or frontend.
Before reconnecting to different ciCam, the client needs to disconnect
first.
Higher priority client could get the ciCam from lower priority one
and cause all resources loss on the previous owner.
Test: atest com.android.server.tv.tunerresourcemanager
Bug: b/172310004
Bug: b/158818696
Change-Id: I2803d0edf1f7282b0a496d7eb79181be42b8eec1
10 files changed