Home
last modified time | relevance | path

Searched refs:RINGER_MODE_VIBRATE (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DUtil.java36 case AudioManager.RINGER_MODE_VIBRATE: in ringerModeToString()
DVolumeDialogImpl.java22 import static android.media.AudioManager.RINGER_MODE_VIBRATE;
438 mController.setRingerMode(AudioManager.RINGER_MODE_VIBRATE, false); in initRow()
495 newRingerMode = AudioManager.RINGER_MODE_VIBRATE; in initRingerH()
499 } else if (mState.ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE) { in initRingerH()
634 case RINGER_MODE_VIBRATE: in provideTouchFeedbackH()
663 case RINGER_MODE_VIBRATE: in maybeShowToastH()
833 case AudioManager.RINGER_MODE_VIBRATE: in updateRingerH()
835 addAccessibilityDescription(mRingerIcon, RINGER_MODE_VIBRATE, in updateRingerH()
875 case RINGER_MODE_VIBRATE: in addAccessibilityDescription()
933 && state.ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE) { in onStateChangedH()
[all …]
DEvents.java238 case AudioManager.RINGER_MODE_VIBRATE: return "vibrate"; in ringerModeToString()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioManagerTest.java44 AudioManager.RINGER_MODE_SILENT, AudioManager.RINGER_MODE_VIBRATE};
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java699 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testNoDemoteSoundToVibrateIfVibrateGiven()
720 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testNoDemoteSoundToVibrateIfNonNotificationStream()
738 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testDemoteSoundToVibrate()
759 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testDemoteInsistentSoundToVibrate()
1018 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testQuietUpdateCancelsDemotedVibrate()
DZenModeHelperTest.java670 AudioManager.RINGER_MODE_VIBRATE, "test", AudioManager.RINGER_MODE_NORMAL, in testVibrateRingerSavedOnZenOff_startsZenOn()
672 assertEquals(AudioManager.RINGER_MODE_VIBRATE, Global.getInt(mContext.getContentResolver(), in testVibrateRingerSavedOnZenOff_startsZenOn()
676 when(mAudioManager.getRingerModeInternal()).thenReturn(AudioManager.RINGER_MODE_VIBRATE); in testVibrateRingerSavedOnZenOff_startsZenOn()
/frameworks/base/services/core/java/com/android/server/notification/
DZenLog.java190 case AudioManager.RINGER_MODE_VIBRATE: return "vibrate"; in ringerModeToString()
DZenModeHelper.java1178 case AudioManager.RINGER_MODE_VIBRATE: in onSetRingerModeInternal()
1209 final boolean isVibrate = ringerModeInternal == AudioManager.RINGER_MODE_VIBRATE; in onSetRingerModeExternal()
1218 ringerModeInternalOut = isVibrate ? AudioManager.RINGER_MODE_VIBRATE in onSetRingerModeExternal()
1224 case AudioManager.RINGER_MODE_VIBRATE: in onSetRingerModeExternal()
DNotificationManagerService.java5943 == AudioManager.RINGER_MODE_VIBRATE)
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java22 import static android.media.AudioManager.RINGER_MODE_VIBRATE;
1543 if ((ringerMode == AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) { in readPersistedSettings()
1842 if (ringerMode == AudioManager.RINGER_MODE_VIBRATE) { in adjustStreamVolume()
2079 newRingerMode = mHasVibrator ? AudioManager.RINGER_MODE_VIBRATE in getNewRingerMode()
3029 ringerMode = AudioManager.RINGER_MODE_VIBRATE; in silenceRingerModeInternal()
3064 if ((ringerMode == AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) { in setRingerMode()
3119 final boolean ringerModeMute = ringerMode == AudioManager.RINGER_MODE_VIBRATE in muteRingerModeStreams()
3121 final boolean shouldRingSco = ringerMode == AudioManager.RINGER_MODE_VIBRATE in muteRingerModeStreams()
3226 return getRingerModeExternal() == AudioManager.RINGER_MODE_VIBRATE; in shouldVibrate()
3870 ringerMode = RINGER_MODE_VIBRATE; in checkForRingerModeChange()
[all …]
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java262 } else if (mNotificationOrRing && mRingerMode == AudioManager.RINGER_MODE_VIBRATE) { in updateSeekBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeader.java228 if (mRingerMode == AudioManager.RINGER_MODE_VIBRATE) { in updateRingerStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java337 if (audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_VIBRATE) { in updateVolumeZen()
/frameworks/base/media/java/android/media/
DAudioManager.java619 public static final int RINGER_MODE_VIBRATE = 1; field in AudioManager
3931 (ringerMode == RINGER_MODE_VIBRATE); in isSilentMode()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java947 return ringerMode == AudioManager.RINGER_MODE_VIBRATE; in shouldVibrateForRingtone()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14146 field public static final int RINGER_MODE_VIBRATE = 1; // 0x1
/frameworks/base/non-updatable-api/
Dcurrent.txt23668 field public static final int RINGER_MODE_VIBRATE = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt23668 field public static final int RINGER_MODE_VIBRATE = 1; // 0x1