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.java406 boolean isForced; in testForcedAnalog()
408 isForced = mRadioTuner.isAnalogForced(); in testForcedAnalog()
409 assertFalse(isForced); in testForcedAnalog()
417 isForced = mRadioTuner.isAnalogForced(); in testForcedAnalog()
418 assertTrue(isForced); in testForcedAnalog()
421 isForced = mRadioTuner.isAnalogForced(); in testForcedAnalog()
422 assertFalse(isForced); in testForcedAnalog()
/frameworks/base/services/core/jni/BroadcastRadio/
DTuner.cpp409 bool isForced; in nativeIsAnalogForced() local
413 isForced = isForcedRet; in nativeIsAnalogForced()
418 return isForced; in nativeIsAnalogForced()
421 static void nativeSetAnalogForced(JNIEnv *env, jobject obj, jlong nativeContext, bool isForced) { in nativeSetAnalogForced() argument
422 ALOGV("%s(%d)", __func__, isForced); in nativeSetAnalogForced()
430 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.cpp870 int32_t isAutoselect = 1, isDefault = 0, isForced = 0; in getTrackInfo() local
873 format->findInt32(AMEDIAFORMAT_KEY_IS_FORCED_SUBTITLE, &isForced); in getTrackInfo()
877 format->setInt32("forced", !!isForced); in getTrackInfo()
DNuPlayer2.cpp636 int32_t isAuto, isDefault, isForced; in writeTrackInfo() local
639 CHECK(format->findInt32("forced", &isForced)); in writeTrackInfo()
643 reply->add_values()->set_int32_value(isForced); in writeTrackInfo()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp997 int32_t isAutoselect = 1, isDefault = 0, isForced = 0; in getTrackInfo() local
1000 meta->findInt32(kKeyTrackIsForced, &isForced); in getTrackInfo()
1004 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()