Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerServiceTest.java709 int[] lnbHandles = {1}; in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority() local
710 mTunerResourceManagerService.setLnbInfoListInternal(lnbHandles); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
717 assertThat(lnbHandle[0]).isEqualTo(lnbHandles[0]); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
719 .isEqualTo(new HashSet<Integer>(Arrays.asList(lnbHandles[0]))); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
726 assertThat(lnbHandle[0]).isEqualTo(lnbHandles[0]); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
727 assertThat(mTunerResourceManagerService.getLnbResource(lnbHandles[0]) in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
729 assertThat(mTunerResourceManagerService.getLnbResource(lnbHandles[0]) in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
748 int[] lnbHandles = {0}; in releaseLnbTest() local
749 mTunerResourceManagerService.setLnbInfoListInternal(lnbHandles); in releaseLnbTest()
756 assertThat(lnbHandle[0]).isEqualTo(lnbHandles[0]); in releaseLnbTest()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java196 public void setLnbInfoList(int[] lnbHandles) throws RemoteException { in setLnbInfoList() argument
198 if (lnbHandles == null) { in setLnbInfoList()
202 setLnbInfoListInternal(lnbHandles); in setLnbInfoList()
595 protected void setLnbInfoListInternal(int[] lnbHandles) { in setLnbInfoListInternal() argument
597 for (int i = 0; i < lnbHandles.length; i++) { in setLnbInfoListInternal()
598 Slog.d(TAG, "updateLnbInfo(lnbHanle=" + lnbHandles[i] + ")"); in setLnbInfoListInternal()
608 for (int i = 0; i < lnbHandles.length; i++) { in setLnbInfoListInternal()
609 if (getLnbResource(lnbHandles[i]) != null) { in setLnbInfoListInternal()
611 Slog.d(TAG, "Lnb handle=" + lnbHandles[i] + "exists."); in setLnbInfoListInternal()
613 updatingLnbHandles.remove(lnbHandles[i]); in setLnbInfoListInternal()
[all …]
/frameworks/base/media/jni/tuner/
DTunerClient.cpp452 vector<int> lnbHandles; in getLnbHandles() local
464 lnbHandles.push_back(getResourceHandleFromId((int)lnbIds[i], LNB)); in getLnbHandles()
469 return lnbHandles; in getLnbHandles()
/frameworks/av/services/tuner/
DTunerService.cpp368 vector<int> lnbHandles; in getLnbHandles() local
379 lnbHandles.push_back(getResourceHandleFromId((int)lnbIds[i], LNB)); in getLnbHandles()
384 return lnbHandles; in getLnbHandles()