Searched refs:newRingerMode (Results 1 – 5 of 5) sorted by relevance
107 val newRingerMode: Int in <lambda>() constant110 newRingerMode = previousNonSilentMode in <lambda>()113 newRingerMode = AudioManager.RINGER_MODE_SILENT in <lambda>()116 if (currentRingerMode != newRingerMode) { in <lambda>()117 audioManager.ringerModeInternal = newRingerMode in <lambda>()
87 fun setRingerMode(newRingerMode: RingerMode) { in setRingerMode()88 mutableRingerMode.value = newRingerMode in setRingerMode()
132 val newRingerMode = 99 in <lambda>() constant145 observerCaptor.value.onChanged(newRingerMode) in <lambda>()150 assertEquals(newRingerMode, result) in <lambda>()
943 private void setRingerMode(int newRingerMode) { in setRingerMode() argument944 Events.writeEvent(Events.EVENT_RINGER_TOGGLE, newRingerMode); in setRingerMode()947 provideTouchFeedbackH(newRingerMode); in setRingerMode()948 mController.setRingerMode(newRingerMode, false); in setRingerMode()949 maybeShowToastH(newRingerMode); in setRingerMode()1251 int newRingerMode; in initRingerH()1255 newRingerMode = AudioManager.RINGER_MODE_VIBRATE; in initRingerH()1257 newRingerMode = AudioManager.RINGER_MODE_SILENT; in initRingerH()1260 newRingerMode = AudioManager.RINGER_MODE_SILENT; in initRingerH()1262 newRingerMode = AudioManager.RINGER_MODE_NORMAL; in initRingerH()[all …]
3997 int newRingerMode; in getNewRingerMode() local3999 newRingerMode = mHasVibrator ? AudioManager.RINGER_MODE_VIBRATE in getNewRingerMode()4003 newRingerMode = AudioManager.RINGER_MODE_NORMAL; in getNewRingerMode()4005 return newRingerMode; in getNewRingerMode()