Home
last modified time | relevance | path

Searched refs:newRingerMode (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DMuteQuickAffordanceConfig.kt107 val newRingerMode: Int in <lambda>() constant
110 newRingerMode = previousNonSilentMode in <lambda>()
113 newRingerMode = AudioManager.RINGER_MODE_SILENT in <lambda>()
116 if (currentRingerMode != newRingerMode) { in <lambda>()
117 audioManager.ringerModeInternal = newRingerMode in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/data/repository/
DFakeAudioRepository.kt87 fun setRingerMode(newRingerMode: RingerMode) { in setRingerMode()
88 mutableRingerMode.value = newRingerMode in setRingerMode()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/
DMuteQuickAffordanceCoreStartableTest.kt132 val newRingerMode = 99 in <lambda>() constant
145 observerCaptor.value.onChanged(newRingerMode) in <lambda>()
150 assertEquals(newRingerMode, result) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java943 private void setRingerMode(int newRingerMode) { in setRingerMode() argument
944 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 …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3997 int newRingerMode; in getNewRingerMode() local
3999 newRingerMode = mHasVibrator ? AudioManager.RINGER_MODE_VIBRATE in getNewRingerMode()
4003 newRingerMode = AudioManager.RINGER_MODE_NORMAL; in getNewRingerMode()
4005 return newRingerMode; in getNewRingerMode()