/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/ |
D | ClientProfile.java | 240 public void useLnb(int lnbHandle) { in useLnb() argument 241 mUsingLnbHandles.add(lnbHandle); in useLnb() 253 public void releaseLnb(int lnbHandle) { in releaseLnb() argument 254 mUsingLnbHandles.remove(lnbHandle); in releaseLnb()
|
D | TunerResourceManagerService.java | 413 public boolean requestLnb(@NonNull TunerLnbRequest request, @NonNull int[] lnbHandle) in requestLnb() argument 417 if (lnbHandle == null) { in requestLnb() 425 return requestLnbInternal(request, lnbHandle); in requestLnb() 529 public void releaseLnb(int lnbHandle, int clientId) throws RemoteException { in releaseLnb() argument 532 if (!validateResourceHandle(TunerResourceManager.TUNER_RESOURCE_TYPE_LNB, lnbHandle)) { in releaseLnb() 539 LnbResource lnb = getLnbResource(lnbHandle); in releaseLnb() 1051 for (Integer lnbHandle : currentOwnerProfile.getInUseLnbHandles()) { in transferLnbOwner() 1053 newOwnerProfile.useLnb(lnbHandle); in transferLnbOwner() 1056 LnbResource lnb = getLnbResource(lnbHandle); in transferLnbOwner() 1059 inUseLnbHandles.add(lnbHandle); in transferLnbOwner() [all …]
|
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/ |
D | TunerResourceManager.java | 629 public boolean requestLnb(@NonNull TunerLnbRequest request, @NonNull int[] lnbHandle) { in requestLnb() argument 632 result = mService.requestLnb(request, lnbHandle); in requestLnb() 738 public void releaseLnb(int lnbHandle, int clientId) { in releaseLnb() argument 740 mService.releaseLnb(lnbHandle, clientId); in releaseLnb()
|
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/aidl/android/media/tv/tunerresourcemanager/ |
D | ITunerResourceManager.aidl | 333 boolean requestLnb(in TunerLnbRequest request, out int[] lnbHandle); in requestLnb() argument 403 void releaseLnb(in int lnbHandle, int clientId); in releaseLnb() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/tv/tunerresourcemanager/ |
D | TunerResourceManagerServiceTest.java | 714 int[] lnbHandle = new int[1]; in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority() local 716 .requestLnbInternal(request, lnbHandle)).isTrue(); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority() 717 assertThat(lnbHandle[0]).isEqualTo(lnbHandles[0]); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority() 725 .requestLnbInternal(request, lnbHandle)).isTrue(); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority() 726 assertThat(lnbHandle[0]).isEqualTo(lnbHandles[0]); in requestLnbTest_NoLnbAvailable_RequestWithHigherPriority() 753 int[] lnbHandle = new int[1]; in releaseLnbTest() local 755 .requestLnbInternal(request, lnbHandle)).isTrue(); in releaseLnbTest() 756 assertThat(lnbHandle[0]).isEqualTo(lnbHandles[0]); in releaseLnbTest() 760 .getLnbResource(lnbHandle[0])); in releaseLnbTest() 762 .getLnbResource(lnbHandle[0]).isInUse()).isFalse(); in releaseLnbTest() [all …]
|
/frameworks/base/media/jni/tuner/ |
D | TunerClient.cpp | 140 sp<LnbClient> TunerClient::openLnb(int32_t lnbHandle) { in openLnb() argument 143 Status s = mTunerService->openLnb(lnbHandle, &tunerLnb); in openLnb()
|
D | TunerClient.h | 106 sp<LnbClient> openLnb(int32_t lnbHandle);
|
/frameworks/av/services/tuner/aidl/android/media/tv/tuner/ |
D | ITunerService.aidl | 64 ITunerLnb openLnb(in int lnbHandle); in openLnb() argument
|
/frameworks/av/services/tuner/ |
D | TunerService.cpp | 165 ::ndk::ScopedAStatus TunerService::openLnb(int lnbHandle, shared_ptr<ITunerLnb>* _aidl_return) { in openLnb() argument 173 int id = TunerHelper::getResourceIdFromHandle(lnbHandle, LNB); in openLnb()
|
/frameworks/av/services/tuner/hidl/ |
D | TunerHidlService.cpp | 257 ::ndk::ScopedAStatus TunerHidlService::openLnb(int lnbHandle, shared_ptr<ITunerLnb>* _aidl_return) { in openLnb() argument 266 int id = TunerHelper::getResourceIdFromHandle(lnbHandle, LNB); in openLnb()
|
/frameworks/base/media/java/android/media/tv/tuner/ |
D | Tuner.java | 2213 int[] lnbHandle = new int[1]; in requestLnb() local 2216 boolean granted = mTunerResourceManager.requestLnb(request, lnbHandle); in requestLnb() 2218 mLnbHandle = lnbHandle[0]; in requestLnb()
|