Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/notification/
DRingerModeAffectedVolumePreferenceController.java122 final int ringerMode = mHelper.getRingerModeInternal(); in updateRingerMode() local
123 if (mRingerMode == ringerMode) { in updateRingerMode()
126 mRingerMode = ringerMode; in updateRingerMode()
137 int ringerMode = getEffectiveRingerMode(); in selectPreferenceIconState() local
138 if (ringerMode == AudioManager.RINGER_MODE_NORMAL) { in selectPreferenceIconState()
141 if (ringerMode == AudioManager.RINGER_MODE_VIBRATE) { in selectPreferenceIconState()
160 int ringerMode = getEffectiveRingerMode(); in updateContentDescription() local
161 if (ringerMode == AudioManager.RINGER_MODE_VIBRATE) { in updateContentDescription()
164 } else if (ringerMode == AudioManager.RINGER_MODE_SILENT) { in updateContentDescription()
DNotificationVolumePreferenceController.java140 int ringerMode = getEffectiveRingerMode(); in updateContentDescription() local
141 if (ringerMode == AudioManager.RINGER_MODE_VIBRATE) { in updateContentDescription()
146 } else if (ringerMode == AudioManager.RINGER_MODE_SILENT) { in updateContentDescription()
/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.java356 int ringerMode = mAudioManager.getRingerMode(); in run() local
359 if ((ringerMode != AudioManager.RINGER_MODE_SILENT) && in run()
360 (ringerMode != AudioManager.RINGER_MODE_VIBRATE)) { in run()
370 if (ringerMode != AudioManager.RINGER_MODE_SILENT) { in run()
377 if ((ringerMode != AudioManager.RINGER_MODE_SILENT) && in run()
378 (ringerMode != AudioManager.RINGER_MODE_VIBRATE)) { in run()
DEmergencyDialer.java804 int ringerMode = audioManager.getRingerMode(); in playTone() local
805 if ((ringerMode == AudioManager.RINGER_MODE_SILENT) in playTone()
806 || (ringerMode == AudioManager.RINGER_MODE_VIBRATE)) { in playTone()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGeneric.java147 int ringerMode = intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE, -1); in onReceive() local
149 if (ringerMode < 0 || ringerMode == mStoredRingerMode) return; in onReceive()
151 mStoredRingerMode = ringerMode; in onReceive()
/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()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java542 public void setRingerModeInternal(int ringerMode) {
543 mRingerMode = ringerMode;