Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAudioManagerTest.java205 int ringerMode = audioManager.getRingerMode(); in getRingerMode_default()
213 assertThat(audioManager.getRingerMode()).isEqualTo(rm); in setRingerMode_shouldSetMode()
220 assertThat(audioManager.getRingerMode()).isEqualTo(AudioManager.RINGER_MODE_VIBRATE); in setRingerMode_shouldNotChangeOnInvalidValue()
222 assertThat(audioManager.getRingerMode()).isEqualTo(AudioManager.RINGER_MODE_VIBRATE); in setRingerMode_shouldNotChangeOnInvalidValue()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DSettingsFacade.java111 return mAudio.getRingerMode() == AudioManager.RINGER_MODE_SILENT; in checkRingerSilentMode()
137 public Integer getRingerMode() { in getRingerMode() method in SettingsFacade
138 return mAudio.getRingerMode(); in getRingerMode()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAudioManager.java117 protected int getRingerMode() { in getRingerMode() method in ShadowAudioManager