Home
last modified time | relevance | path

Searched refs:casSessionHandle (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/tv/tunerresourcemanager/
DTunerResourceManager.java581 @NonNull int[] casSessionHandle) { in requestCasSession() argument
584 result = mService.requestCasSession(request, casSessionHandle); in requestCasSession()
718 public void releaseCasSession(int casSessionHandle, int clientId) { in releaseCasSession() argument
720 mService.releaseCasSession(casSessionHandle, clientId); in releaseCasSession()
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/aidl/android/media/tv/tunerresourcemanager/
DITunerResourceManager.aidl306 boolean requestCasSession(in CasSessionRequest request, out int[] casSessionHandle); in requestCasSession() argument
400 void releaseCasSession(in int casSessionHandle, int clientId); in releaseCasSession() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerServiceTest.java528 int[] casSessionHandle = new int[1]; in requestCasTest_NoCasAvailable_RequestWithHigherPriority() local
531 .requestCasSessionInternal(request, casSessionHandle)).isTrue(); in requestCasTest_NoCasAvailable_RequestWithHigherPriority()
533 .requestCasSessionInternal(request, casSessionHandle)).isTrue(); in requestCasTest_NoCasAvailable_RequestWithHigherPriority()
534 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(casSessionHandle[0])) in requestCasTest_NoCasAvailable_RequestWithHigherPriority()
544 .requestCasSessionInternal(request, casSessionHandle)).isTrue(); in requestCasTest_NoCasAvailable_RequestWithHigherPriority()
545 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(casSessionHandle[0])) in requestCasTest_NoCasAvailable_RequestWithHigherPriority()
628 int[] casSessionHandle = new int[1]; in releaseCasTest() local
631 .requestCasSessionInternal(request, casSessionHandle)).isTrue(); in releaseCasTest()
632 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(casSessionHandle[0])) in releaseCasTest()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java407 @NonNull int[] casSessionHandle) throws RemoteException { in requestCasSession() argument
409 if (casSessionHandle == null) { in requestCasSession()
417 return requestCasSessionInternal(request, casSessionHandle); in requestCasSession()
524 public void releaseCasSession(int casSessionHandle, int clientId) throws RemoteException { in releaseCasSession() argument
527 TunerResourceManager.TUNER_RESOURCE_TYPE_CAS_SESSION, casSessionHandle)) { in releaseCasSession()
1251 protected boolean requestCasSessionInternal(CasSessionRequest request, int[] casSessionHandle) { in requestCasSessionInternal() argument
1263 casSessionHandle[0] = TunerResourceManager.INVALID_RESOURCE_HANDLE; in requestCasSessionInternal()
1271 casSessionHandle[0] = generateResourceHandle( in requestCasSessionInternal()
1295 casSessionHandle[0] = generateResourceHandle( in requestCasSessionInternal()