Home
last modified time | relevance | path

Searched refs:isForced (Results 1 – 7 of 7) 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.java305 public void setAnalogForced(boolean isForced) { in setAnalogForced() argument
307 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/libmediaplayerservice/nuplayer/
DGenericSource.cpp999 int32_t isAutoselect = 1, isDefault = 0, isForced = 0; in getTrackInfo() local
1002 meta->findInt32(kKeyTrackIsForced, &isForced); in getTrackInfo()
1006 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()