Home
last modified time | relevance | path

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

/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DTunerAdapterTest.java597 verify(mTunerMock).setConfigFlag(RadioManager.CONFIG_FORCE_ANALOG, analogForced); in setAnalogForced_forTunerAdapter()
604 .when(mTunerMock).setConfigFlag(eq(RadioManager.CONFIG_FORCE_ANALOG), anyBoolean()); in setAnalogForced_whenNotSupported_fails()
701 mRadioTuner.setConfigFlag(RadioManager.CONFIG_DAB_FM_LINKING, dabFmLinking); in setConfigFlag_forTunerAdapter()
703 verify(mTunerMock).setConfigFlag(RadioManager.CONFIG_DAB_FM_LINKING, dabFmLinking); in setConfigFlag_forTunerAdapter()
708 doThrow(new RemoteException()).when(mTunerMock).setConfigFlag(anyInt(), anyBoolean()); in setConfigFlag_whenServiceDied_fails()
711 () -> mRadioTuner.setConfigFlag(RadioManager.CONFIG_DAB_DAB_LINKING, in setConfigFlag_whenServiceDied_fails()
723 mRadioTuner.setConfigFlag(RadioManager.CONFIG_FORCE_ANALOG, /* value= */ false); in setConfigFlag_withForceAnalogWhenFmForceAnalogSupported()
725 verify(mTunerMock, never()).setConfigFlag(eq(RadioManager.CONFIG_FORCE_ANALOG), in setConfigFlag_withForceAnalogWhenFmForceAnalogSupported()
727 verify(mTunerMock).setConfigFlag(RadioManager.CONFIG_FORCE_ANALOG_FM, false); in setConfigFlag_withForceAnalogWhenFmForceAnalogSupported()
737 mRadioTuner.setConfigFlag(RadioManager.CONFIG_FORCE_ANALOG, /* value= */ false); in setConfigFlag_withForceAnalogWhenFmForceAnalogNotSupported()
[all …]
DDefaultRadioTunerTest.java168 () -> DEFAULT_RADIO_TUNER.setConfigFlag(/* flag= */ 1, /* value= */ false)); in setConfigFlag_forRadioTuner_throwsException()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DTunerSessionHidlTest.java199 }).when(mHalTunerSessionMock).setConfigFlag(anyInt(), anyBoolean()); in setup()
753 mTunerSessions[0].setConfigFlag(flag, /* value= */ true); in setConfigFlag_withUnsupportedFlag_throwsRuntimeException()
765 mTunerSessions[0].setConfigFlag(flag, /* value= */ true); in setConfigFlag_withFlagSetToTrue()
767 verify(mHalTunerSessionMock).setConfigFlag(flag, /* value= */ true); in setConfigFlag_withFlagSetToTrue()
775 mTunerSessions[0].setConfigFlag(flag, /* value= */ false); in setConfigFlag_withFlagSetToFalse()
777 verify(mHalTunerSessionMock).setConfigFlag(flag, /* value= */ false); in setConfigFlag_withFlagSetToFalse()
786 mTunerSessions[0].setConfigFlag(flag, /* value= */ true); in setConfigFlag_forNonCurrentUser_doesNotSetConfigFlag()
788 verify(mHalTunerSessionMock, never()).setConfigFlag(flag, /* value= */ true); in setConfigFlag_forNonCurrentUser_doesNotSetConfigFlag()
811 mTunerSessions[0].setConfigFlag(flag, /* value= */ expectedConfigFlagValue); in isConfigFlagSet_withSupportedFlag()
/frameworks/base/core/java/android/hardware/radio/
DITuner.aidl80 void setConfigFlag(int flag, boolean value); in setConfigFlag() method
DTunerAdapter.java357 setConfigFlag(RadioManager.CONFIG_FORCE_ANALOG, isForced); in setAnalogForced()
382 public void setConfigFlag(@RadioManager.ConfigFlag int flag, boolean value) { in setConfigFlag() method in TunerAdapter
384 mTuner.setConfigFlag(convertForceAnalogConfigFlag(flag), value); in setConfigFlag()
DRadioTuner.java487 public void setConfigFlag(@RadioManager.ConfigFlag int flag, boolean value) { in setConfigFlag() method in RadioTuner
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DTunerSessionTest.java1032 mTunerSessions[0].setConfigFlag(flag, /* value= */ true); in setConfigFlag_withUnsupportedFlag_throwsRuntimeException()
1044 mTunerSessions[0].setConfigFlag(flag, /* value= */ true); in setConfigFlag_withFlagSetToTrue()
1046 verify(mBroadcastRadioMock).setConfigFlag(flag, /* value= */ true); in setConfigFlag_withFlagSetToTrue()
1054 mTunerSessions[0].setConfigFlag(flag, /* value= */ false); in setConfigFlag_withFlagSetToFalse()
1056 verify(mBroadcastRadioMock).setConfigFlag(flag, /* value= */ false); in setConfigFlag_withFlagSetToFalse()
1065 mTunerSessions[0].setConfigFlag(flag, /* value= */ true); in setConfigFlag_forNonCurrentUser_doesNotSetConfigFlag()
1067 verify(mBroadcastRadioMock, never()).setConfigFlag(flag, /* value= */ true); in setConfigFlag_forNonCurrentUser_doesNotSetConfigFlag()
1089 mTunerSessions[0].setConfigFlag(flag, /* value= */ expectedConfigFlagValue); in isConfigFlagSet_withSupportedFlag()
1403 }).when(mBroadcastRadioMock).setConfigFlag(anyInt(), anyBoolean()); in setupMockedHalTunerSession()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DTunerSession.java389 public void setConfigFlag(int flag, boolean value) throws RemoteException { in setConfigFlag() method in TunerSession
399 mService.setConfigFlag(flag, value); in setConfigFlag()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java356 public void setConfigFlag(int flag, boolean value) throws RemoteException { in setConfigFlag() method in TunerSession
364 int halResult = mHwSession.setConfigFlag(flag, value); in setConfigFlag()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java323 public void setConfigFlag(int flag, boolean value) { in setConfigFlag() method in Tuner
/frameworks/base/core/api/
Dsystem-current.txt6625 …ission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void setConfigFlag(int, boolean);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt21627 Landroid/hardware/radio/ITuner$Stub$Proxy;->setConfigFlag(IZ)V
21670 Landroid/hardware/radio/ITuner;->setConfigFlag(IZ)V