Home
last modified time | relevance | path

Searched refs:isForced (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
DRadioTunerTest.java409 boolean isForced; in testForcedAnalog()
411 isForced = mRadioTuner.isAnalogForced(); in testForcedAnalog()
412 assertFalse(isForced); in testForcedAnalog()
420 isForced = mRadioTuner.isAnalogForced(); in testForcedAnalog()
421 assertTrue(isForced); in testForcedAnalog()
424 isForced = mRadioTuner.isAnalogForced(); in testForcedAnalog()
425 assertFalse(isForced); in testForcedAnalog()
/frameworks/base/services/core/jni/BroadcastRadio/
DTuner.cpp408 bool isForced; in nativeIsAnalogForced() local
412 isForced = isForcedRet; in nativeIsAnalogForced()
417 return isForced; in nativeIsAnalogForced()
420 static void nativeSetAnalogForced(JNIEnv *env, jobject obj, jlong nativeContext, bool isForced) { in nativeSetAnalogForced() argument
421 ALOGV("%s(%d)", __func__, isForced); in nativeSetAnalogForced()
429 auto halResult = halTuner->setAnalogForced(isForced); in nativeSetAnalogForced()
/frameworks/base/core/java/android/hardware/radio/
DTunerAdapter.java303 public void setAnalogForced(boolean isForced) { in setAnalogForced() argument
305 setConfigFlag(RadioManager.CONFIG_FORCE_ANALOG, isForced); in setAnalogForced()
DRadioTuner.java338 public abstract void setAnalogForced(boolean isForced); in setAnalogForced() argument
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java97 private native void nativeSetAnalogForced(long nativeContext, boolean isForced); in nativeSetAnalogForced() argument
/frameworks/av/media/libmediaplayer2/nuplayer2/
DGenericSource2.cpp933 int32_t isAutoselect = 1, isDefault = 0, isForced = 0; in getTrackInfo() local
936 format->findInt32(AMEDIAFORMAT_KEY_IS_FORCED_SUBTITLE, &isForced); in getTrackInfo()
940 format->setInt32("forced", !!isForced); in getTrackInfo()
DNuPlayer2.cpp628 int32_t isAuto, isDefault, isForced; in writeTrackInfo() local
631 CHECK(format->findInt32("forced", &isForced)); in writeTrackInfo()
635 reply->writeInt32(isForced); in writeTrackInfo()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp967 int32_t isAutoselect = 1, isDefault = 0, isForced = 0; in getTrackInfo() local
970 meta->findInt32(kKeyTrackIsForced, &isForced); in getTrackInfo()
974 format->setInt32("forced", !!isForced); in getTrackInfo()
DNuPlayer.cpp537 int32_t isAuto, isDefault, isForced; in writeTrackInfo() local
540 CHECK(format->findInt32("forced", &isForced)); in writeTrackInfo()
544 reply->writeInt32(isForced); in writeTrackInfo()