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
Loading
Please register or sign in to comment