Home
last modified time | relevance | path

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

/packages/services/Telephony/src/com/android/services/telephony/
DEmergencyTonePlayer.java85 int ringerMode = mAudioManager.getRingerMode(); in startVibrate() local
86 if (ringerMode == RINGER_MODE_SILENT) { in startVibrate()
87 Log.i(this, "startVibrate: skipping vibrate tone due to ringer mode %d", ringerMode); in startVibrate()
105 int ringerMode = mAudioManager.getRingerMode(); in startAlert() local
106 if (ringerMode != RINGER_MODE_NORMAL) { in startAlert()
107 Log.i(this, "startAlert: skipping emergency tone due to ringer mode %d", ringerMode); in startAlert()
/packages/services/Telephony/src/com/android/phone/
DCallNotifier.java428 int ringerMode = mAudioManager.getRingerMode(); in run() local
431 if ((ringerMode != AudioManager.RINGER_MODE_SILENT) && in run()
432 (ringerMode != AudioManager.RINGER_MODE_VIBRATE)) { in run()
442 if (ringerMode != AudioManager.RINGER_MODE_SILENT) { in run()
449 if ((ringerMode != AudioManager.RINGER_MODE_SILENT) && in run()
450 (ringerMode != AudioManager.RINGER_MODE_VIBRATE)) { in run()
DEmergencyDialer.java801 int ringerMode = audioManager.getRingerMode(); in playTone() local
802 if ((ringerMode == AudioManager.RINGER_MODE_SILENT) in playTone()
803 || (ringerMode == AudioManager.RINGER_MODE_VIBRATE)) { in playTone()
/packages/apps/Settings/src/com/android/settings/notification/
DRingVolumePreferenceController.java119 final int ringerMode = mHelper.getRingerModeInternal(); in updateRingerMode() local
120 if (mRingerMode == ringerMode) return; in updateRingerMode()
121 mRingerMode = ringerMode; in updateRingerMode()
/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java475 int ringerMode = audioManager.getRingerModeInternal(); in isVibratorEnabled() local
478 shouldVibrate = ringerMode != AudioManager.RINGER_MODE_SILENT; in isVibratorEnabled()
480 shouldVibrate = ringerMode == AudioManager.RINGER_MODE_VIBRATE; in isVibratorEnabled()
489 ringerMode, mIsVibrating); in isVibratorEnabled()
494 ringerMode, mIsVibrating); in isVibratorEnabled()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java458 public void setRingerModeInternal(int ringerMode) {
459 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()