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.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.java427 int ringerMode = mAudioManager.getRingerMode(); in run() local
430 if ((ringerMode != AudioManager.RINGER_MODE_SILENT) && in run()
431 (ringerMode != AudioManager.RINGER_MODE_VIBRATE)) { in run()
441 if (ringerMode != AudioManager.RINGER_MODE_SILENT) { in run()
448 if ((ringerMode != AudioManager.RINGER_MODE_SILENT) && in run()
449 (ringerMode != AudioManager.RINGER_MODE_VIBRATE)) { in run()
DEmergencyDialer.java795 int ringerMode = audioManager.getRingerMode(); in playTone() local
796 if ((ringerMode == AudioManager.RINGER_MODE_SILENT) in playTone()
797 || (ringerMode == AudioManager.RINGER_MODE_VIBRATE)) { in playTone()
/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/src/com/android/server/telecom/
DRinger.java495 int ringerMode = audioManager.getRingerModeInternal(); in isVibratorEnabled() local
498 shouldVibrate = ringerMode != AudioManager.RINGER_MODE_SILENT; in isVibratorEnabled()
500 shouldVibrate = ringerMode == AudioManager.RINGER_MODE_VIBRATE; in isVibratorEnabled()
509 ringerMode, mIsVibrating); in isVibratorEnabled()
514 ringerMode, mIsVibrating); in isVibratorEnabled()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java413 public void setRingerModeInternal(int ringerMode) {
414 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()