Home
last modified time | relevance | path

Searched refs:ringerMode (Results 1 – 8 of 8) sorted by relevance

/packages/services/Telephony/src/com/android/services/telephony/
DEmergencyTonePlayer.java87 int ringerMode = mAudioManager.getRingerMode(); in startVibrate() local
88 if (ringerMode == RINGER_MODE_SILENT) { in startVibrate()
89 Log.i(this, "startVibrate: skipping vibrate tone due to ringer mode %d", ringerMode); in startVibrate()
107 int ringerMode = mAudioManager.getRingerMode(); in startAlert() local
108 if (ringerMode != RINGER_MODE_NORMAL) { in startAlert()
109 Log.i(this, "startAlert: skipping emergency tone due to ringer mode %d", ringerMode); in startAlert()
/packages/services/Telephony/src/com/android/phone/
DCallNotifier.java426 int ringerMode = mAudioManager.getRingerMode(); in run() local
429 if ((ringerMode != AudioManager.RINGER_MODE_SILENT) && in run()
430 (ringerMode != AudioManager.RINGER_MODE_VIBRATE)) { in run()
440 if (ringerMode != AudioManager.RINGER_MODE_SILENT) { in run()
447 if ((ringerMode != AudioManager.RINGER_MODE_SILENT) && in run()
448 (ringerMode != AudioManager.RINGER_MODE_VIBRATE)) { in run()
DEmergencyDialer.java841 int ringerMode = audioManager.getRingerMode(); in playTone() local
842 if ((ringerMode == AudioManager.RINGER_MODE_SILENT) in playTone()
843 || (ringerMode == AudioManager.RINGER_MODE_VIBRATE)) { in playTone()
/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java489 int ringerMode = audioManager.getRingerModeInternal(); in isVibratorEnabled() local
492 shouldVibrate = ringerMode != AudioManager.RINGER_MODE_SILENT; in isVibratorEnabled()
494 shouldVibrate = ringerMode == AudioManager.RINGER_MODE_VIBRATE; in isVibratorEnabled()
503 ringerMode, mIsVibrating); in isVibratorEnabled()
508 ringerMode, mIsVibrating); in isVibratorEnabled()
/packages/apps/Settings/src/com/android/settings/notification/
DRingVolumePreferenceController.java114 final int ringerMode = mHelper.getRingerModeInternal(); in updateRingerMode() local
115 if (mRingerMode == ringerMode) return; in updateRingerMode()
116 mRingerMode = ringerMode; in updateRingerMode()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DRingVolumePreferenceController.java114 final int ringerMode = mHelper.getRingerModeInternal(); in updateRingerMode() local
115 if (mRingerMode == ringerMode) return; in updateRingerMode()
116 mRingerMode = ringerMode; in updateRingerMode()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java398 public void setRingerModeInternal(int ringerMode) {
399 mRingerMode = ringerMode;
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadFragment.java1270 int ringerMode = audioManager.getRingerMode(); in playTone() local
1271 if ((ringerMode == AudioManager.RINGER_MODE_SILENT) in playTone()
1272 || (ringerMode == AudioManager.RINGER_MODE_VIBRATE)) { in playTone()