Searched refs:ringerMode (Results 1 – 8 of 8) sorted by relevance
85 int ringerMode = mAudioManager.getRingerMode(); in startVibrate() local86 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() local106 if (ringerMode != RINGER_MODE_NORMAL) { in startAlert()107 Log.i(this, "startAlert: skipping emergency tone due to ringer mode %d", ringerMode); in startAlert()
427 int ringerMode = mAudioManager.getRingerMode(); in run() local430 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()
795 int ringerMode = audioManager.getRingerMode(); in playTone() local796 if ((ringerMode == AudioManager.RINGER_MODE_SILENT) in playTone()797 || (ringerMode == AudioManager.RINGER_MODE_VIBRATE)) { in playTone()
114 final int ringerMode = mHelper.getRingerModeInternal(); in updateRingerMode() local115 if (mRingerMode == ringerMode) return; in updateRingerMode()116 mRingerMode = ringerMode; in updateRingerMode()
495 int ringerMode = audioManager.getRingerModeInternal(); in isVibratorEnabled() local498 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()
413 public void setRingerModeInternal(int ringerMode) {414 mRingerMode = ringerMode;
1270 int ringerMode = audioManager.getRingerMode(); in playTone() local1271 if ((ringerMode == AudioManager.RINGER_MODE_SILENT) in playTone()1272 || (ringerMode == AudioManager.RINGER_MODE_VIBRATE)) { in playTone()