Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationSettingsTest.java170 setRingerMode(AudioManager.RINGER_MODE_MAX); in shouldVibrateForRingerMode_beforeSystemReady_returnsFalseOnlyForRingtone()
199 setRingerMode(AudioManager.RINGER_MODE_SILENT); in shouldVibrateForRingerMode_withVibrateWhenRinging_ignoreSettingsForSilentMode()
202 setRingerMode(AudioManager.RINGER_MODE_MAX); in shouldVibrateForRingerMode_withVibrateWhenRinging_ignoreSettingsForSilentMode()
205 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in shouldVibrateForRingerMode_withVibrateWhenRinging_ignoreSettingsForSilentMode()
208 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in shouldVibrateForRingerMode_withVibrateWhenRinging_ignoreSettingsForSilentMode()
218 setRingerMode(AudioManager.RINGER_MODE_SILENT); in shouldVibrateForRingerMode_withApplyRampingRinger_ignoreSettingsForSilentMode()
221 setRingerMode(AudioManager.RINGER_MODE_MAX); in shouldVibrateForRingerMode_withApplyRampingRinger_ignoreSettingsForSilentMode()
224 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in shouldVibrateForRingerMode_withApplyRampingRinger_ignoreSettingsForSilentMode()
227 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in shouldVibrateForRingerMode_withApplyRampingRinger_ignoreSettingsForSilentMode()
237 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in shouldVibrateForRingerMode_withAllSettingsOff_onlyVibratesForVibrateMode()
[all …]
DVibratorManagerServiceTest.java487 setRingerMode(AudioManager.RINGER_MODE_NORMAL);
1077 private void setRingerMode(int ringerMode) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaVisualizerTest.java235 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0PollingCapture()
300 am.setRingerMode(ringerMode); in test2_0PollingCapture()
314 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1ListenerCapture()
432 am.setRingerMode(ringerMode); in test2_1ListenerCapture()
448 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_2PollingCaptureVolumeScaling()
517 am.setRingerMode(ringerMode); in test2_2PollingCaptureVolumeScaling()
DMediaPresetReverbTest.java202 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0AuxiliarySoundModification()
259 am.setRingerMode(ringerMode); in test2_0AuxiliarySoundModification()
275 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1InsertSoundModification()
344 am.setRingerMode(ringerMode); in test2_1InsertSoundModification()
DMediaEnvReverbTest.java357 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0AuxiliarySoundModification()
416 am.setRingerMode(ringerMode); in test2_0AuxiliarySoundModification()
432 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1InsertSoundModification()
503 am.setRingerMode(ringerMode); in test2_1InsertSoundModification()
DMediaAudioManagerTest.java113 mAudioManager.setRingerMode(ringtoneMode[i]); in testSetRingtoneMode()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java631 boolean setRingerMode) { in setManualZenMode() argument
638 + " setRingerMode=" + setRingerMode); in setManualZenMode()
655 setConfigLocked(newConfig, reason, null, setRingerMode); in setManualZenMode()
872 ComponentName triggeringComponent, boolean setRingerMode) { in setConfigLocked() argument
903 mHandler.postApplyConfig(config, reason, triggeringComponent, setRingerMode); in setConfigLocked()
914 ComponentName triggeringComponent, boolean setRingerMode) { in applyConfig() argument
917 evaluateZenMode(reason, setRingerMode); in applyConfig()
943 protected void evaluateZenMode(String reason, boolean setRingerMode) { in evaluateZenMode() argument
955 if (setRingerMode && (zen != zenBefore || (zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in evaluateZenMode()
1589 public final boolean setRingerMode; field in ZenModeHelper.H.ConfigMessageData
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java241 verify(mController, times(1)).setRingerMode( in testSelectVibrateFromDrawer()
255 verify(mController, times(1)).setRingerMode( in testSelectMuteFromDrawer()
269 verify(mController, times(1)).setRingerMode( in testSelectNormalFromDrawer()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java645 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);
647 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);
734 mAudioManager.setRingerMode(indexToRingerMode(index));
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java731 mController.setRingerMode(AudioManager.RINGER_MODE_VIBRATE, false); in initRow()
738 mController.setRingerMode( in initRow()
757 private void setRingerMode(int newRingerMode) { in setRingerMode() method in VolumeDialogImpl
762 mController.setRingerMode(newRingerMode, false); in setRingerMode()
1048 setRingerMode(newRingerMode); in initRingerH()
2016 mController.setRingerMode(AudioManager.RINGER_MODE_SILENT, false);
2023 mController.setRingerMode(AudioManager.RINGER_MODE_NORMAL, false);
2256 setRingerMode(mClickedRingerMode); in onClick()
DVolumeDialogControllerImpl.java344 public void setRingerMode(int value, boolean external) { in setRingerMode() method in VolumeDialogControllerImpl
681 mAudio.setRingerMode(mode); in onSetRingerModeW()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DVolumeDialogController.java45 void setRingerMode(int ringerModeNormal, boolean external); in setRingerMode() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java1893 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);
1895 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);
1988 mAudioManager.setRingerMode(indexToRingerMode(index));
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3164 setRingerMode(getNewRingerMode(stream, index, flags), in onSetStreamVolume()
4254 setRingerMode(ringerMode, caller, true /*external*/); in setRingerModeExternal()
4259 setRingerMode(ringerMode, caller, false /*external*/); in setRingerModeInternal()
4310 private void setRingerMode(int ringerMode, String caller, boolean external) { in setRingerMode() method in AudioService
5624 setRingerMode(ringerMode, TAG + ".checkForRingerModeChange", false /*external*/); in checkForRingerModeChange()
/frameworks/base/media/java/android/media/
DAudioManager.java1216 public void setRingerMode(int ringerMode) { in setRingerMode() method in AudioManager
/frameworks/base/core/api/
Dcurrent.txt20466 method public void setRingerMode(int);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14075 method public void setRingerMode(int);
/frameworks/base/services/
Dart-profile11387 HSPLcom/android/server/audio/AudioService;->setRingerMode(ILjava/lang/String;Z)V+]Landroid/media/Au…