/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/ |
D | ClientProfile.java | 208 public void useLnb(int lnbHandle) { in useLnb() argument 209 mUsingLnbHandles.add(lnbHandle); in useLnb() 221 public void releaseLnb(int lnbHandle) { in releaseLnb() argument 222 mUsingLnbHandles.remove(lnbHandle); in releaseLnb()
|
D | TunerResourceManagerService.java | 316 public boolean requestLnb(@NonNull TunerLnbRequest request, @NonNull int[] lnbHandle) in requestLnb() argument 320 if (lnbHandle == null) { in requestLnb() 328 return requestLnbInternal(request, lnbHandle); in requestLnb() 428 public void releaseLnb(int lnbHandle, int clientId) throws RemoteException { in releaseLnb() argument 431 if (!validateResourceHandle(TunerResourceManager.TUNER_RESOURCE_TYPE_LNB, lnbHandle)) { in releaseLnb() 437 LnbResource lnb = getLnbResource(lnbHandle); in releaseLnb() 743 protected boolean requestLnbInternal(TunerLnbRequest request, int[] lnbHandle) { in requestLnbInternal() argument 748 lnbHandle[0] = TunerResourceManager.INVALID_RESOURCE_HANDLE; in requestLnbInternal() 773 lnbHandle[0] = grantingLnbHandle; in requestLnbInternal() 786 lnbHandle[0] = inUseLowestPriorityLnbHandle; in requestLnbInternal() [all …]
|
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/ |
D | TunerResourceManager.java | 439 public boolean requestLnb(@NonNull TunerLnbRequest request, @NonNull int[] lnbHandle) { in requestLnb() argument 442 result = mService.requestLnb(request, lnbHandle); in requestLnb() 548 public void releaseLnb(int lnbHandle, int clientId) { in releaseLnb() argument 550 mService.releaseLnb(lnbHandle, clientId); in releaseLnb()
|
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/aidl/android/media/tv/tunerresourcemanager/ |
D | ITunerResourceManager.aidl | 275 boolean requestLnb(in TunerLnbRequest request, out int[] lnbHandle); in requestLnb() argument 345 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/av/services/tuner/aidl/android/media/tv/tuner/ |
D | ITunerService.aidl | 70 ITunerLnb openLnb(in int lnbHandle); in openLnb() argument
|
/frameworks/base/media/jni/tuner/ |
D | TunerClient.h | 128 sp<LnbClient> openLnb(int lnbHandle);
|
D | TunerClient.cpp | 265 sp<LnbClient> TunerClient::openLnb(int lnbHandle) { in openLnb() argument 268 Status s = mTunerService->openLnb(lnbHandle, &tunerLnb); in openLnb() 276 int id = getResourceIdFromHandle(lnbHandle, LNB); in openLnb()
|
/frameworks/av/services/tuner/ |
D | TunerService.h | 112 Status openLnb(int lnbHandle, shared_ptr<ITunerLnb>* _aidl_return) override;
|
D | TunerService.cpp | 254 Status TunerService::openLnb(int lnbHandle, shared_ptr<ITunerLnb>* _aidl_return) { in openLnb() argument 262 int id = getResourceIdFromHandle(lnbHandle, LNB); in openLnb()
|
/frameworks/base/media/java/android/media/tv/tuner/ |
D | Tuner.java | 1338 int[] lnbHandle = new int[1]; in requestLnb() local 1341 boolean granted = mTunerResourceManager.requestLnb(request, lnbHandle); in requestLnb() 1343 mLnbHandle = lnbHandle[0]; in requestLnb()
|