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

Add API getClientPid in ITvInputManager.aidl

This API is for TunerResourceManager to get the callingPid of a TIS
client from TIF with the sessionId provided by TIS when TIS requests
resources from the TunerResourceManager.

This CL is also handling the creating and storing mechanism of the
sessionId.

The sessionId is provided by TIF when TIS created session through
TIF.
The sessionId to clientPid mapping is saved in a global map
in TIF service.
It is passed to the vendor TIS through new public API
onCreateSession(inputId, sessionId)/onCreateRecordingSession(inputId,
sessionId).

Test: Run with CTS on Cuttlefish
Bug: 147380882

Change-Id: I344a812add4a9637bf7eb226e5e4e3ead5b456a2
parent 83a1f6a9
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