Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java193 public void setLnbInfoList(int[] lnbIds) throws RemoteException { in setLnbInfoList() argument
195 if (lnbIds == null) { in setLnbInfoList()
199 setLnbInfoListInternal(lnbIds); in setLnbInfoList()
530 protected void setLnbInfoListInternal(int[] lnbIds) { in setLnbInfoListInternal() argument
532 for (int i = 0; i < lnbIds.length; i++) { in setLnbInfoListInternal()
533 Slog.d(TAG, "updateLnbInfo(lnbId=" + lnbIds[i] + ")"); in setLnbInfoListInternal()
543 for (int i = 0; i < lnbIds.length; i++) { in setLnbInfoListInternal()
544 if (getLnbResource(lnbIds[i]) != null) { in setLnbInfoListInternal()
546 Slog.d(TAG, "Lnb id=" + lnbIds[i] + "exists."); in setLnbInfoListInternal()
548 updatingLnbIds.remove(lnbIds[i]); in setLnbInfoListInternal()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerServiceTest.java615 int[] lnbIds = {1}; in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority() local
616 mTunerResourceManagerService.setLnbInfoListInternal(lnbIds); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
623 .isEqualTo(lnbIds[0]); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
625 .getInUseLnbIds()).isEqualTo(new HashSet<Integer>(Arrays.asList(lnbIds[0]))); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
631 .isEqualTo(lnbIds[0]); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
632 assertThat(mTunerResourceManagerService.getLnbResource(lnbIds[0]) in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
634 assertThat(mTunerResourceManagerService.getLnbResource(lnbIds[0]) in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority()
653 int[] lnbIds = {0}; in releaseLnbTest() local
654 mTunerResourceManagerService.setLnbInfoListInternal(lnbIds); in releaseLnbTest()
661 assertThat(lnbId).isEqualTo(lnbIds[0]); in releaseLnbTest()
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/
DTunerResourceManager.java222 public void setLnbInfoList(int[] lnbIds) { in setLnbInfoList() argument
224 mService.setLnbInfoList(lnbIds); in setLnbInfoList()
DITunerResourceManager.aidl115 void setLnbInfoList(in int[] lnbIds); in setLnbInfoList() argument
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp1203 hidl_vec<LnbId> lnbIds; in getLnbIds() local
1205 lnbIds = ids; in getLnbIds()
1208 if (res != Result::SUCCESS || lnbIds.size() == 0) { in getLnbIds()
1213 mLnbIds = lnbIds; in getLnbIds()