Home
last modified time | relevance | path

Searched refs:usbAudioRoutingMode (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DUsbAudioRoutingPreferenceControllerTest.java85 final int usbAudioRoutingMode = Settings.Secure.getInt(mContext.getContentResolver(), in onPreferenceChange_preferenceChecked_shouldEnableUsbAudioRouting() local
88 assertThat(usbAudioRoutingMode).isEqualTo( in onPreferenceChange_preferenceChecked_shouldEnableUsbAudioRouting()
96 final int usbAudioRoutingMode = Settings.Secure.getInt(mContext.getContentResolver(), in onPreferenceChange__preferenceUnchecked_shouldDisableUsbAudioRouting() local
99 assertThat(usbAudioRoutingMode).isEqualTo( in onPreferenceChange__preferenceUnchecked_shouldDisableUsbAudioRouting()
107 final int usbAudioRoutingMode = Settings.Secure.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_preferenceShouldBeEnabled() local
110 assertThat(usbAudioRoutingMode).isEqualTo( in onDeveloperOptionsSwitchDisabled_preferenceShouldBeEnabled()
/packages/apps/Settings/src/com/android/settings/development/
DUsbAudioRoutingPreferenceController.java59 final int usbAudioRoutingMode = Settings.Secure.getInt(mContext.getContentResolver(), in updateState() local
61 ((SwitchPreference) mPreference).setChecked(usbAudioRoutingMode != SETTING_VALUE_OFF); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DUsbAudioRoutingPreferenceController.java59 final int usbAudioRoutingMode = Settings.Secure.getInt(mContext.getContentResolver(), in updateState() local
61 ((SwitchPreference) mPreference).setChecked(usbAudioRoutingMode != SETTING_VALUE_OFF); in updateState()