Searched refs:ciCamHandle (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/ |
D | TunerResourceManager.java | 406 public boolean requestCiCam(TunerCiCamRequest request, int[] ciCamHandle) { in requestCiCam() argument 409 result = mService.requestCiCam(request, ciCamHandle); in requestCiCam() 530 public void releaseCiCam(int ciCamHandle, int clientId) { in releaseCiCam() argument 532 mService.releaseCiCam(ciCamHandle, clientId); in releaseCiCam()
|
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/aidl/android/media/tv/tunerresourcemanager/ |
D | ITunerResourceManager.aidl | 251 boolean requestCiCam(in TunerCiCamRequest request, out int[] ciCamHandle); in requestCiCam() argument 333 void releaseCiCam(in int ciCamHandle, int clientId); in releaseCiCam() argument
|
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/ |
D | TunerResourceManagerService.java | 301 @NonNull int[] ciCamHandle) throws RemoteException { in requestCiCam() argument 303 if (ciCamHandle == null) { in requestCiCam() 311 return requestCiCamInternal(request, ciCamHandle); in requestCiCam() 400 public void releaseCiCam(int ciCamHandle, int clientId) throws RemoteException { in releaseCiCam() argument 403 TunerResourceManager.TUNER_RESOURCE_TYPE_FRONTEND_CICAM, ciCamHandle)) { in releaseCiCam() 411 if (ciCamId != getResourceIdFromHandle(ciCamHandle)) { in releaseCiCam() 844 protected boolean requestCiCamInternal(TunerCiCamRequest request, int[] ciCamHandle) { in requestCiCamInternal() argument 856 ciCamHandle[0] = TunerResourceManager.INVALID_RESOURCE_HANDLE; in requestCiCamInternal() 863 ciCamHandle[0] = generateResourceHandle( in requestCiCamInternal() 884 ciCamHandle[0] = generateResourceHandle( in requestCiCamInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/tv/tunerresourcemanager/ |
D | TunerResourceManagerServiceTest.java | 582 int[] ciCamHandle = new int[1]; in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority() local 585 .requestCiCamInternal(request, ciCamHandle)).isTrue(); in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority() 587 .requestCiCamInternal(request, ciCamHandle)).isTrue(); in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority() 588 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(ciCamHandle[0])) in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority() 598 .requestCiCamInternal(request, ciCamHandle)).isTrue(); in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority() 599 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(ciCamHandle[0])) in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority() 663 int[] ciCamHandle = new int[1]; in releaseCiCamTest() local 666 .requestCiCamInternal(request, ciCamHandle)).isTrue(); in releaseCiCamTest() 667 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(ciCamHandle[0])) in releaseCiCamTest()
|
/frameworks/base/media/java/android/media/tv/tuner/ |
D | Tuner.java | 1460 int[] ciCamHandle = new int[1]; in requestFrontendCiCam() local 1464 boolean granted = mTunerResourceManager.requestCiCam(request, ciCamHandle); in requestFrontendCiCam() 1466 mFrontendCiCamHandle = ciCamHandle[0]; in requestFrontendCiCam()
|