Home
last modified time | relevance | path

Searched refs:Tuner (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/media/java/android/media/tv/tuner/filter/
DTimeFilter.java20 import android.media.tv.tuner.Tuner;
21 import android.media.tv.tuner.Tuner.Result;
70 if (res == Tuner.RESULT_SUCCESS) { in setCurrentTimestamp()
86 if (res == Tuner.RESULT_SUCCESS) { in clearTimestamp()
104 return Tuner.INVALID_TIMESTAMP; in getTimeStamp()
121 return Tuner.INVALID_TIMESTAMP; in getSourceTime()
135 if (res != Tuner.RESULT_SUCCESS) { in close()
DFilter.java27 import android.media.tv.tuner.Tuner;
28 import android.media.tv.tuner.Tuner.Result;
363 return Tuner.RESULT_INVALID_STATE; in configure()
379 return Tuner.RESULT_UNAVAILABLE; in configure()
440 return Tuner.RESULT_INVALID_STATE; in setMonitorEventMask()
444 return Tuner.RESULT_UNAVAILABLE; in setMonitorEventMask()
470 return Tuner.RESULT_INVALID_STATE; in setDataSource()
476 if (res == Tuner.RESULT_SUCCESS) { in setDataSource()
501 return Tuner.RESULT_INVALID_STATE; in start()
504 if (res == Tuner.RESULT_SUCCESS) { in start()
[all …]
DMmtpFilterConfiguration.java22 import android.media.tv.tuner.Tuner;
64 private int mMmtpPid = Tuner.INVALID_TS_PID;
DSharedFilter.java24 import android.media.tv.tuner.Tuner;
25 import android.media.tv.tuner.Tuner.Result;
/frameworks/base/media/java/android/media/tv/tuner/
DTunerVersionChecker.java74 return Tuner.getTunerVersion(); in getTunerVersion()
92 int currentVersion = Tuner.getTunerVersion(); in supportTunerVersion()
107 int currentVersion = Tuner.getTunerVersion(); in isHigherOrEqualVersionTo()
142 + TunerVersionChecker.getMajorVersion(Tuner.getTunerVersion()) + "." in checkHigherOrEqualVersionTo()
143 + TunerVersionChecker.getMinorVersion(Tuner.getTunerVersion()) in checkHigherOrEqualVersionTo()
154 + TunerVersionChecker.getMajorVersion(Tuner.getTunerVersion()) + "." in checkSupportVersion()
155 + TunerVersionChecker.getMinorVersion(Tuner.getTunerVersion()) in checkSupportVersion()
DTunerUtils.java139 @Tuner.Result int r, @Nullable String msg) { in throwExceptionForResult()
144 case Tuner.RESULT_SUCCESS: in throwExceptionForResult()
146 case Tuner.RESULT_INVALID_ARGUMENT: in throwExceptionForResult()
148 case Tuner.RESULT_INVALID_STATE: in throwExceptionForResult()
150 case Tuner.RESULT_NOT_INITIALIZED: in throwExceptionForResult()
152 case Tuner.RESULT_OUT_OF_MEMORY: in throwExceptionForResult()
154 case Tuner.RESULT_UNAVAILABLE: in throwExceptionForResult()
156 case Tuner.RESULT_UNKNOWN_ERROR: in throwExceptionForResult()
DDescrambler.java23 import android.media.tv.tuner.Tuner.Result;
132 return Tuner.RESULT_INVALID_ARGUMENT; in setKeyToken()
164 if (res != Tuner.RESULT_SUCCESS) { in close()
DLnb.java27 import android.media.tv.tuner.Tuner.Result;
156 Tuner mOwner;
175 void setCallbackAndOwner(Tuner tuner, Executor executor, @Nullable LnbCallback callback) { in setCallbackAndOwner()
218 /* package */ void setOwner(@NonNull Tuner newOwner) { in setOwner()
273 if (res != Tuner.RESULT_SUCCESS) { in closeInternal()
DTuner.java93 public class Tuner implements AutoCloseable { class
296 private Tuner mFeOwnerTuner = null;
352 public Tuner(@NonNull Context context, @Nullable String tvInputSessionId, in Tuner() method in Tuner
456 public void shareFrontendFromTuner(@NonNull Tuner tuner) { in shareFrontendFromTuner()
485 public int transferOwner(@NonNull Tuner newOwner) { in transferOwner()
522 private void replicateFrontendSettings(@Nullable Tuner src) { in replicateFrontendSettings()
551 private void setFrontendOwner(Tuner owner) { in setFrontendOwner()
563 private void replicateCiCamSettings(@Nullable Tuner src) { in replicateCiCamSettings()
589 private void replicateLnbSettings(@Nullable Tuner src) { in replicateLnbSettings()
627 private boolean isNewOwnerQualifiedForTransfer(@NonNull Tuner newOwner) { in isNewOwnerQualifiedForTransfer()
[all …]
/frameworks/base/media/tests/TunerTest/src/com/android/mediatunertest/
DTunerTest.java25 import android.media.tv.tuner.Tuner;
62 Tuner tuner = new Tuner(mContext, null, in testTunerConstructor()
69 Tuner tuner = new Tuner(mContext, null, in testOpenDescrambler()
/frameworks/base/media/java/android/media/tv/tuner/dvr/
DDvrRecorder.java22 import android.media.tv.tuner.Tuner;
23 import android.media.tv.tuner.Tuner.Result;
162 return Tuner.RESULT_UNAVAILABLE; in setRecordBufferStatusCheckIntervalHint()
186 if (result == Tuner.RESULT_SUCCESS) { in start()
209 if (result == Tuner.RESULT_SUCCESS) { in stop()
230 return Tuner.RESULT_INVALID_STATE; in flush()
240 if (res != Tuner.RESULT_SUCCESS) { in close()
DDvrPlayback.java23 import android.media.tv.tuner.Tuner;
24 import android.media.tv.tuner.Tuner.Result;
151 return Tuner.RESULT_UNAVAILABLE; in attachFilter()
167 return Tuner.RESULT_UNAVAILABLE; in detachFilter()
205 return Tuner.RESULT_UNAVAILABLE; in setPlaybackBufferStatusCheckIntervalHint()
265 if (res != Tuner.RESULT_SUCCESS) { in close()
/frameworks/base/services/core/jni/BroadcastRadio/
DBroadcastRadioService.cpp69 } Tuner; member
247 auto tuner = make_javaref(env, env->NewObject(gjni.Tuner.clazz, gjni.Tuner.cstor, in nativeOpenTuner()
254 auto tunerCb = Tuner::getNativeCallback(env, tuner); in nativeOpenTuner()
270 Tuner::assignHalInterfaces(env, tuner, module.radioModule, halTuner); in nativeOpenTuner()
303 gjni.Tuner.clazz = MakeGlobalRefOrDie(env, tunerClass); in register_android_server_broadcastradio_BroadcastRadioService()
304 gjni.Tuner.cstor = GetMethodIDOrDie(env, tunerClass, "<init>", in register_android_server_broadcastradio_BroadcastRadioService()
DTuner.cpp35 namespace Tuner { namespace
69 } Tuner; member
111 return getNativeContext(env->GetLongField(jTuner.get(), gjni.Tuner.nativeContext)); in getNativeContext()
200 env->GetObjectField(tuner.get(), gjni.Tuner.tunerCallback)); in getNativeCallback()
204 return static_cast<Region>(env->GetIntField(obj, gjni.Tuner.region)); in getRegion()
460 using namespace server::BroadcastRadio::Tuner; in register_android_server_broadcastradio_Tuner()
465 gjni.Tuner.nativeContext = GetFieldIDOrDie(env, tunerClass, "mNativeContext", "J"); in register_android_server_broadcastradio_Tuner()
466 gjni.Tuner.region = GetFieldIDOrDie(env, tunerClass, "mRegion", "I"); in register_android_server_broadcastradio_Tuner()
467 gjni.Tuner.tunerCallback = GetFieldIDOrDie(env, tunerClass, "mTunerCallback", in register_android_server_broadcastradio_Tuner()
DTuner.h36 namespace Tuner {
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTunerCallback.java46 private final Tuner mTuner;
52 TunerCallback(@NonNull Tuner tuner, @NonNull ITunerCallback clientCallback, int halRev) { in TunerCallback()
64 private native long nativeInit(@NonNull Tuner tuner, int halRev); in nativeInit()
DBroadcastRadioService.java50 private native Tuner nativeOpenTuner(long nativeContext, int moduleId, in nativeOpenTuner()
DTuner.java36 class Tuner extends ITuner.Stub { class
55 Tuner(@NonNull ITunerCallback clientCallback, int halRev, in Tuner() method in Tuner
/frameworks/av/services/tuner/
DAndroid.bp37 "Tuner*.cpp",
38 "hidl/Tuner*.cpp",
Dmediatuner.rc2 # as "true" by TRM (Tuner Resource Manager). TRM checks ro.tuner.lazyhal, if it
/frameworks/base/media/java/android/media/tv/tuner/frontend/
DIsdbsFrontendSettings.java27 import android.media.tv.tuner.Tuner;
209 private int mStreamId = Tuner.INVALID_STREAM_ID;
DIsdbs3FrontendSettings.java26 import android.media.tv.tuner.Tuner;
224 private int mStreamId = Tuner.INVALID_STREAM_ID;
DFrontendSettings.java25 import android.media.tv.tuner.Tuner;
278 private long mEndFrequency = Tuner.INVALID_FRONTEND_SETTING_FREQUENCY;
DDvbsFrontendSettings.java30 import android.media.tv.tuner.Tuner;
369 private int mInputStreamId = Tuner.INVALID_STREAM_ID;
/frameworks/base/media/jni/
DAndroid.bp210 // TunerService is a system service required for Tuner feature.

12