Home
last modified time | relevance | path

Searched refs:isConfigFlagSet (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DTunerAdapterTest.java570 when(mTunerMock.isConfigFlagSet(RadioManager.CONFIG_FORCE_ANALOG)).thenReturn(true); in isAnalogForced_forTunerAdapter()
581 when(mTunerMock.isConfigFlagSet(RadioManager.CONFIG_FORCE_ANALOG)) in isAnalogForced_whenNotSupported_fails()
638 when(mTunerMock.isConfigFlagSet(RadioManager.CONFIG_DAB_FM_SOFT_LINKING)) in isConfigFlagSet_forTunerAdapter()
642 mRadioTuner.isConfigFlagSet(RadioManager.CONFIG_DAB_FM_SOFT_LINKING); in isConfigFlagSet_forTunerAdapter()
653 when(mTunerMock.isConfigFlagSet(RadioManager.CONFIG_FORCE_ANALOG_FM)) in isConfigFlagSet_withForceAnalogWhenFmForceAnalogSupported()
655 when(mTunerMock.isConfigFlagSet(RadioManager.CONFIG_FORCE_ANALOG)).thenReturn(false); in isConfigFlagSet_withForceAnalogWhenFmForceAnalogSupported()
658 .that(mRadioTuner.isConfigFlagSet(RadioManager.CONFIG_FORCE_ANALOG)).isTrue(); in isConfigFlagSet_withForceAnalogWhenFmForceAnalogSupported()
668 when(mTunerMock.isConfigFlagSet(RadioManager.CONFIG_FORCE_ANALOG_FM)).thenReturn(true); in isConfigFlagSet_withForceAnalogWhenFmForceAnalogNotSupported()
669 when(mTunerMock.isConfigFlagSet(RadioManager.CONFIG_FORCE_ANALOG)).thenReturn(false); in isConfigFlagSet_withForceAnalogWhenFmForceAnalogNotSupported()
672 .that(mRadioTuner.isConfigFlagSet(RadioManager.CONFIG_FORCE_ANALOG)).isFalse(); in isConfigFlagSet_withForceAnalogWhenFmForceAnalogNotSupported()
[all …]
DDefaultRadioTunerTest.java158 DEFAULT_RADIO_TUNER.isConfigFlagSet(/* flag= */ 1); in isConfigFlagSet_forRadioTuner_throwsException()
/frameworks/base/core/java/android/hardware/radio/
DITuner.aidl79 boolean isConfigFlagSet(int flag); in isConfigFlagSet() method
DTunerAdapter.java348 return isConfigFlagSet(RadioManager.CONFIG_FORCE_ANALOG); in isAnalogForced()
373 public boolean isConfigFlagSet(@RadioManager.ConfigFlag int flag) { in isConfigFlagSet() method in TunerAdapter
375 return mTuner.isConfigFlagSet(convertForceAnalogConfigFlag(flag)); in isConfigFlagSet()
DRadioTuner.java469 public boolean isConfigFlagSet(@RadioManager.ConfigFlag int flag) { in isConfigFlagSet() method in RadioTuner
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DTunerSession.java364 isConfigFlagSet(flag); in isConfigFlagSupported()
372 public boolean isConfigFlagSet(int flag) { in isConfigFlagSet() method in TunerSession
378 return mService.isConfigFlagSet(flag); in isConfigFlagSet()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java326 isConfigFlagSet(flag); in isConfigFlagSupported()
334 public boolean isConfigFlagSet(int flag) { in isConfigFlagSet() method in TunerSession
342 mHwSession.isConfigFlagSet(flag, (int result, boolean value) -> { in isConfigFlagSet()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DTunerSessionHidlTest.java190 }).when(mHalTunerSessionMock).isConfigFlagSet(anyInt(), any()); in setup()
732 verify(mHalTunerSessionMock).isConfigFlagSet(eq(flag), any()); in isConfigFlagSupported_withUnsupportedFlag_returnsFalse()
743 verify(mHalTunerSessionMock).isConfigFlagSet(eq(flag), any()); in isConfigFlagSupported_withSupportedFlag_returnsTrue()
799 mTunerSessions[0].isConfigFlagSet(flag); in isConfigFlagSet_withUnsupportedFlag_throwsRuntimeException()
813 boolean isSet = mTunerSessions[0].isConfigFlagSet(flag); in isConfigFlagSet_withSupportedFlag()
823 doThrow(new RemoteException()).when(mHalTunerSessionMock).isConfigFlagSet(anyInt(), any()); in isConfigFlagSet_whenHalThrowsRemoteException_fails()
826 mTunerSessions[0].isConfigFlagSet(flag); in isConfigFlagSet_whenHalThrowsRemoteException_fails()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DTunerSessionTest.java1011 verify(mBroadcastRadioMock).isConfigFlagSet(flag); in isConfigFlagSupported_withUnsupportedFlag_returnsFalse()
1022 verify(mBroadcastRadioMock).isConfigFlagSet(flag); in isConfigFlagSupported_withSupportedFlag_returnsTrue()
1077 mTunerSessions[0].isConfigFlagSet(flag); in isConfigFlagSet_withUnsupportedFlag_throwsRuntimeException()
1091 boolean isSet = mTunerSessions[0].isConfigFlagSet(flag); in isConfigFlagSet_withSupportedFlag()
1101 doThrow(new RemoteException()).when(mBroadcastRadioMock).isConfigFlagSet(anyInt()); in isConfigFlagSet_whenHalThrowsRemoteException_fails()
1104 mTunerSessions[0].isConfigFlagSet(flag); in isConfigFlagSet_whenHalThrowsRemoteException_fails()
1394 }).when(mBroadcastRadioMock).isConfigFlagSet(anyInt()); in setupMockedHalTunerSession()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java312 public boolean isConfigFlagSet(int flag) { in isConfigFlagSet() method in Tuner
/frameworks/base/core/api/
Dsystem-current.txt6620 …Permission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public boolean isConfigFlagSet(int);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt21622 Landroid/hardware/radio/ITuner$Stub$Proxy;->isConfigFlagSet(I)Z
21666 Landroid/hardware/radio/ITuner;->isConfigFlagSet(I)Z