Home
last modified time | relevance | path

Searched refs:lnb (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DLnbResource.java52 LnbResource lnb = new LnbResource(this); in build() local
53 return lnb; in build()
DTunerResourceManagerService.java539 LnbResource lnb = getLnbResource(lnbHandle); in releaseLnb() local
540 if (lnb == null) { in releaseLnb()
543 if (lnb.getOwnerClientId() != clientId) { in releaseLnb()
547 releaseLnbInternal(lnb); in releaseLnb()
1056 LnbResource lnb = getLnbResource(lnbHandle); in transferLnbOwner() local
1057 lnb.setOwner(newOwnerId); in transferLnbOwner()
1098 for (LnbResource lnb : getLnbResources().values()) { in requestLnbInternal()
1099 if (!lnb.isInUse()) { in requestLnbInternal()
1101 grantingLnbHandle = lnb.getHandle(); in requestLnbInternal()
1106 int priority = updateAndGetOwnerClientPriority(lnb.getOwnerClientId()); in requestLnbInternal()
[all …]
/frameworks/av/services/tuner/
DTunerService.cpp172 shared_ptr<ILnb> lnb; in openLnb() local
174 auto status = mTuner->openLnbById(id, &lnb); in openLnb()
176 *_aidl_return = ::ndk::SharedRefBase::make<TunerLnb>(lnb, id); in openLnb()
191 shared_ptr<ILnb> lnb; in openLnbByName() local
192 auto status = mTuner->openLnbByName(lnbName, &id, &lnb); in openLnbByName()
194 *_aidl_return = ::ndk::SharedRefBase::make<TunerLnb>(lnb, id[0]); in openLnbByName()
DTunerFrontend.cpp103 ::ndk::ScopedAStatus TunerFrontend::setLnb(const shared_ptr<ITunerLnb>& lnb) { in setLnb() argument
110 if (lnb == nullptr) { in setLnb()
115 return mFrontend->setLnb(static_cast<TunerLnb*>(lnb.get())->getId()); in setLnb()
DTunerLnb.cpp33 TunerLnb::TunerLnb(shared_ptr<ILnb> lnb, int id) { in TunerLnb() argument
34 mLnb = lnb; in TunerLnb()
DTunerLnb.h43 TunerLnb(shared_ptr<ILnb> lnb, int id);
/frameworks/av/services/tuner/hidl/
DTunerHidlLnb.cpp37 TunerHidlLnb::TunerHidlLnb(sp<HidlILnb> lnb, int id) { in TunerHidlLnb() argument
38 mLnb = lnb; in TunerHidlLnb()
DTunerHidlService.cpp265 sp<HidlILnb> lnb; in openLnb() local
268 lnb = lnbSp; in openLnb()
275 *_aidl_return = ::ndk::SharedRefBase::make<TunerHidlLnb>(lnb, id); in openLnb()
289 sp<HidlILnb> lnb; in openLnbByName() local
292 lnb = lnbSp; in openLnbByName()
299 *_aidl_return = ::ndk::SharedRefBase::make<TunerHidlLnb>(lnb, lnbId); in openLnbByName()
DTunerHidlLnb.h49 TunerHidlLnb(sp<HidlILnb> lnb, int id);
DTunerHidlFrontend.cpp293 ::ndk::ScopedAStatus TunerHidlFrontend::setLnb(const shared_ptr<ITunerLnb>& lnb) { in setLnb() argument
300 if (lnb == nullptr) { in setLnb()
305 HidlResult status = mFrontend->setLnb(static_cast<TunerHidlLnb*>(lnb.get())->getId()); in setLnb()
/frameworks/av/services/tuner/aidl/android/media/tv/tuner/
DITunerFrontend.aidl70 void setLnb(in ITunerLnb lnb); in setLnb() argument
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp357 jobject lnb(env->NewLocalRef(mLnbObj)); in onEvent() local
358 if (!env->IsSameObject(lnb, nullptr)) { in onEvent()
360 lnb, in onEvent()
372 jobject lnb(env->NewLocalRef(mLnbObj)); in onDiseqcMessage() local
373 if (!env->IsSameObject(lnb, nullptr)) { in onDiseqcMessage()
378 lnb, in onDiseqcMessage()
3266 static sp<LnbClient> getLnbClient(JNIEnv *env, jobject lnb) { in getLnbClient() argument
3267 return (LnbClient *)env->GetLongField(lnb, gFields.lnbContext); in getLnbClient()
3459 static int android_media_tv_Tuner_set_lnb(JNIEnv *env, jobject thiz, jobject lnb) { in android_media_tv_Tuner_set_lnb() argument
3461 sp<LnbClient> lnbClient = getLnbClient(env, lnb); in android_media_tv_Tuner_set_lnb()
[all …]
/frameworks/base/media/java/android/media/tv/tuner/
DTuner.java992 private native int nativeSetLnb(Lnb lnb); in nativeSetLnb() argument
1343 private int setLnb(@NonNull Lnb lnb) { in setLnb() argument
1346 return nativeSetLnb(lnb); in setLnb()