Home
last modified time | relevance | path

Searched refs:ciCamHandle (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/tv/tunerresourcemanager/
DTunerResourceManager.java613 public boolean requestCiCam(TunerCiCamRequest request, int[] ciCamHandle) { in requestCiCam() argument
616 result = mService.requestCiCam(request, ciCamHandle); in requestCiCam()
737 public void releaseCiCam(int ciCamHandle, int clientId) { in releaseCiCam() argument
739 mService.releaseCiCam(ciCamHandle, clientId); in releaseCiCam()
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/aidl/android/media/tv/tunerresourcemanager/
DITunerResourceManager.aidl331 boolean requestCiCam(in TunerCiCamRequest request, out int[] ciCamHandle); in requestCiCam() argument
413 void releaseCiCam(in int ciCamHandle, int clientId); in releaseCiCam() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerServiceTest.java584 int[] ciCamHandle = new int[1]; in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority() local
587 .requestCiCamInternal(request, ciCamHandle)).isTrue(); in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority()
589 .requestCiCamInternal(request, ciCamHandle)).isTrue(); in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority()
590 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(ciCamHandle[0])) in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority()
600 .requestCiCamInternal(request, ciCamHandle)).isTrue(); in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority()
601 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(ciCamHandle[0])) in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority()
665 int[] ciCamHandle = new int[1]; in releaseCiCamTest() local
668 .requestCiCamInternal(request, ciCamHandle)).isTrue(); in releaseCiCamTest()
669 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(ciCamHandle[0])) in releaseCiCamTest()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java423 @NonNull int[] ciCamHandle) throws RemoteException { in requestCiCam() argument
425 if (ciCamHandle == null) { in requestCiCam()
433 return requestCiCamInternal(request, ciCamHandle); in requestCiCam()
548 public void releaseCiCam(int ciCamHandle, int clientId) throws RemoteException { in releaseCiCam() argument
551 TunerResourceManager.TUNER_RESOURCE_TYPE_FRONTEND_CICAM, ciCamHandle)) { in releaseCiCam()
559 if (ciCamId != getResourceIdFromHandle(ciCamHandle)) { in releaseCiCam()
1304 protected boolean requestCiCamInternal(TunerCiCamRequest request, int[] ciCamHandle) { in requestCiCamInternal() argument
1316 ciCamHandle[0] = TunerResourceManager.INVALID_RESOURCE_HANDLE; in requestCiCamInternal()
1324 ciCamHandle[0] = generateResourceHandle( in requestCiCamInternal()
1349 ciCamHandle[0] = generateResourceHandle( in requestCiCamInternal()
/frameworks/base/media/java/android/media/tv/tuner/
DTuner.java2699 int[] ciCamHandle = new int[1]; in requestFrontendCiCam() local
2703 boolean granted = mTunerResourceManager.requestCiCam(request, ciCamHandle); in requestFrontendCiCam()
2705 mFrontendCiCamHandle = ciCamHandle[0]; in requestFrontendCiCam()