Home
last modified time | relevance | path

Searched refs:getResourceIdFromHandle (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/tuner/
DTunerService.cpp109 int id = TunerHelper::getResourceIdFromHandle(in_demuxHandle, DEMUX); in openDemux()
124 int id = TunerHelper::getResourceIdFromHandle(in_demuxHandle, DEMUX); in getDemuxInfo()
174 int id = TunerHelper::getResourceIdFromHandle(frontendHandle, FRONTEND); in openFrontend()
186 int id = TunerHelper::getResourceIdFromHandle(lnbHandle, LNB); in openLnb()
DTunerHelper.h65 static int getResourceIdFromHandle(int resourceHandle, int type);
DTunerHelper.cpp104 int TunerHelper::getResourceIdFromHandle(int resourceHandle, int /*type*/) { in getResourceIdFromHandle() function in aidl::android::media::tv::tuner::TunerHelper
/frameworks/base/services/tests/servicestests/src/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerServiceTest.java534 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(casSessionHandle[0])) in requestCasTest_NoCasAvailable_RequestWithHigherPriority()
545 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(casSessionHandle[0])) in requestCasTest_NoCasAvailable_RequestWithHigherPriority()
590 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(ciCamHandle[0])) in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority()
601 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(ciCamHandle[0])) in requestCiCamTest_NoCiCamAvailable_RequestWithHigherPriority()
632 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(casSessionHandle[0])) in releaseCasTest()
669 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(ciCamHandle[0])) in releaseCiCamTest()
858 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(demuxHandle1[0])) in requestDemuxTest()
959 assertThat(mTunerResourceManagerService.getResourceIdFromHandle(desHandle[0])).isEqualTo(0); in requestDescramblerTest()
/frameworks/av/services/tuner/hidl/
DTunerHidlService.cpp202 int id = TunerHelper::getResourceIdFromHandle(frontendHandle, FRONTEND); in openFrontend()
227 int id = TunerHelper::getResourceIdFromHandle(lnbHandle, LNB); in openLnb()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java559 if (ciCamId != getResourceIdFromHandle(ciCamHandle)) { in releaseCiCam()
1026 int frontendId = getResourceIdFromHandle(fr.getHandle()); in requestFrontendInternal()
2346 protected int getResourceIdFromHandle(int resourceHandle) { in getResourceIdFromHandle() method in TunerResourceManagerService