/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
D | TunerAdapterTest.java | 597 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 …]
|
D | DefaultRadioTunerTest.java | 168 () -> DEFAULT_RADIO_TUNER.setConfigFlag(/* flag= */ 1, /* value= */ false)); in setConfigFlag_forRadioTuner_throwsException()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | TunerSessionHidlTest.java | 199 }).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/ |
D | ITuner.aidl | 80 void setConfigFlag(int flag, boolean value); in setConfigFlag() method
|
D | TunerAdapter.java | 357 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()
|
D | RadioTuner.java | 487 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/ |
D | TunerSessionTest.java | 1032 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/ |
D | TunerSession.java | 389 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/ |
D | TunerSession.java | 356 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/ |
D | Tuner.java | 323 public void setConfigFlag(int flag, boolean value) { in setConfigFlag() method in Tuner
|
/frameworks/base/core/api/ |
D | system-current.txt | 6625 …ission(android.Manifest.permission.ACCESS_BROADCAST_RADIO) public void setConfigFlag(int, boolean);
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 21627 Landroid/hardware/radio/ITuner$Stub$Proxy;->setConfigFlag(IZ)V 21670 Landroid/hardware/radio/ITuner;->setConfigFlag(IZ)V
|