Searched refs:ringerMode (Results 1 – 2 of 2) sorted by relevance
44 private int ringerMode = AudioManager.RINGER_MODE_NORMAL; field in ShadowAudioManager118 return ringerMode; in getRingerMode()122 protected void setRingerMode(int ringerMode) { in setRingerMode() argument123 if (!AudioManager.isValidRingerMode(ringerMode)) { in setRingerMode()126 this.ringerMode = ringerMode; in setRingerMode()129 public static boolean isValidRingerMode(int ringerMode) { in isValidRingerMode() argument130 …if (ringerMode < 0 || ringerMode > (int)ReflectionHelpers.getStaticField(AudioManager.class, "RING… in isValidRingerMode()
205 int ringerMode = audioManager.getRingerMode(); in getRingerMode_default() local206 assertThat(ringerMode).isEqualTo(AudioManager.RINGER_MODE_NORMAL); in getRingerMode_default()