Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaPresetReverbTest.java196 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0AuxiliarySoundModification()
253 am.setRingerMode(ringerMode); in test2_0AuxiliarySoundModification()
269 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1InsertSoundModification()
338 am.setRingerMode(ringerMode); in test2_1InsertSoundModification()
DMediaVisualizerTest.java231 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0PollingCapture()
296 am.setRingerMode(ringerMode); in test2_0PollingCapture()
310 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1ListenerCapture()
428 am.setRingerMode(ringerMode); in test2_1ListenerCapture()
444 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_2PollingCaptureVolumeScaling()
513 am.setRingerMode(ringerMode); in test2_2PollingCaptureVolumeScaling()
DMediaEnvReverbTest.java351 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0AuxiliarySoundModification()
410 am.setRingerMode(ringerMode); in test2_0AuxiliarySoundModification()
426 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_1InsertSoundModification()
497 am.setRingerMode(ringerMode); in test2_1InsertSoundModification()
DMediaAudioManagerTest.java113 mAudioManager.setRingerMode(ringtoneMode[i]); in testSetRingtoneMode()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/data/repository/
DFakeAudioRepository.kt87 fun setRingerMode(newRingerMode: RingerMode) { in setRingerMode() method in com.android.systemui.volume.data.repository.FakeAudioRepository
103 override suspend fun setRingerMode(audioStream: AudioStream, mode: RingerMode) { in setRingerMode() method in com.android.systemui.volume.data.repository.FakeAudioRepository
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationSettingsTest.java176 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in createSystemReadyVibrationSettings()
425 setRingerMode(AudioManager.RINGER_MODE_SILENT); in shouldIgnoreVibration_withRingerModeSilent_ignoresRingtoneAndNotification()
438 setRingerMode(AudioManager.RINGER_MODE_SILENT); in shouldIgnoreVibration_withRingerModeSilentAndBypassFlag_allowsAllVibrations()
448 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in shouldIgnoreVibration_withRingerModeVibrate_allowsAllVibrations()
457 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in shouldIgnoreVibration_withRingerModeNormal_allowsAllVibrations()
572 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in shouldIgnoreVibration_withRingSettingsOff_ignoresRingtoneVibrations()
591 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in shouldIgnoreVibration_updateTriggeredAfterInternalRingerModeChanged()
999 private void setRingerMode(int ringerMode) { in setRingerMode() method in VibrationSettingsTest
DVibratorManagerServiceTest.java242 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in setUp()
719 setRingerMode(AudioManager.RINGER_MODE_SILENT); in vibrate_withRingtone_usesRingerModeSettings()
724 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in vibrate_withRingtone_usesRingerModeSettings()
729 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in vibrate_withRingtone_usesRingerModeSettings()
1137 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in vibrate_withOngoingLowerImportanceExternalVibration_cancelsOngoingVibration()
1883 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in onExternalVibration_withOngoingExternalVibration_mutesPreviousVibration()
2041 setRingerMode(AudioManager.RINGER_MODE_SILENT); in onExternalVibration_withRingtone_usesRingerModeSettings()
2047 setRingerMode(AudioManager.RINGER_MODE_NORMAL); in onExternalVibration_withRingtone_usesRingerModeSettings()
2052 setRingerMode(AudioManager.RINGER_MODE_VIBRATE); in onExternalVibration_withRingtone_usesRingerModeSettings()
2625 private void setRingerMode(int ringerMode) { in setRingerMode() method in VibratorManagerServiceTest
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/
DAudioVolumeInteractorTest.kt175 audioRepository.setRingerMode(RingerMode(AudioManager.RINGER_MODE_VIBRATE)) in ringerModeVibrateAndMuted_getNotificationStream_volumeIsMin()
193 audioRepository.setRingerMode(RingerMode(AudioManager.RINGER_MODE_VIBRATE)) in ringerModeVibrate_getRingerStream_volumeIsMin()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DAudioRepository.kt88 suspend fun setRingerMode(audioStream: AudioStream, mode: RingerMode) in <lambda>() method
215 override suspend fun setRingerMode(audioStream: AudioStream, mode: RingerMode) { in setRingerMode() method in com.android.settingslib.volume.data.repository.AudioRepositoryImpl
/frameworks/base/services/core/java/com/android/server/audio/
DAudioManagerShellCommand.java65 return setRingerMode(); in onCommand()
157 private int setRingerMode() { in setRingerMode() method in AudioManagerShellCommand
DAudioService.java4052 setRingerMode(getNewRingerMode(stream, index, flags), in onSetStreamVolume()
5636 setRingerMode(ringerMode, caller, true /*external*/); in setRingerModeExternal()
5641 setRingerMode(ringerMode, caller, false /*external*/); in setRingerModeInternal()
5686 private void setRingerMode(int ringerMode, String caller, boolean external) { in setRingerMode() method in AudioService
7007 setRingerMode(ringerMode, TAG + ".checkForRingerModeChange", false /*external*/); in checkForRingerModeChange()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/domain/interactor/
DAudioVolumeInteractor.kt71 audioRepository.setRingerMode(audioStream, RingerMode(mode)) in <lambda>()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java647 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);
649 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);
736 mAudioManager.setRingerMode(indexToRingerMode(index));
/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/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java429 verify(mVolumeDialogController, times(1)).setRingerMode( in testSelectVibrateFromDrawer()
445 verify(mVolumeDialogController, times(1)).setRingerMode( in testSelectMuteFromDrawer()
461 verify(mVolumeDialogController, times(1)).setRingerMode( in testSelectNormalFromDrawer()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1523 String reason, @Nullable String caller, boolean setRingerMode, int callingUid) { in setManualZenMode() argument
1530 + " setRingerMode=" + setRingerMode); in setManualZenMode()
1572 setConfigLocked(newConfig, origin, reason, null, setRingerMode, callingUid); in setManualZenMode()
1882 String reason, ComponentName triggeringComponent, boolean setRingerMode, in setConfigLocked() argument
1913 updateConfigAndZenModeLocked(config, origin, reason, setRingerMode, callingUid); in setConfigLocked()
1930 String reason, boolean setRingerMode, int callingUid) { in updateConfigAndZenModeLocked() argument
1960 evaluateZenModeLocked(origin, reason, setRingerMode); in updateConfigAndZenModeLocked()
1996 boolean setRingerMode) { in evaluateZenModeLocked() argument
2007 boolean shouldApplyToRinger = setRingerMode && (zen != zenBefore || ( in evaluateZenModeLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java900 mController.setRingerMode(AudioManager.RINGER_MODE_VIBRATE, false); in initRow()
907 mController.setRingerMode( in initRow()
943 private void setRingerMode(int newRingerMode) { in setRingerMode() method in VolumeDialogImpl
948 mController.setRingerMode(newRingerMode, false); in setRingerMode()
1268 setRingerMode(newRingerMode); in initRingerH()
2392 mController.setRingerMode(AudioManager.RINGER_MODE_SILENT, false);
2399 mController.setRingerMode(AudioManager.RINGER_MODE_NORMAL, false);
2747 setRingerMode(mClickedRingerMode);
DVolumeDialogControllerImpl.java367 public void setRingerMode(int value, boolean external) { in setRingerMode() method in VolumeDialogControllerImpl
716 mAudio.setRingerMode(mode); in onSetRingerModeW()
/frameworks/layoutlib/bridge/src/android/media/
DAudioManager.java87 public void setRingerMode(int ringerMode) { } in setRingerMode() method in AudioManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java2050 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);
2052 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);
2145 mAudioManager.setRingerMode(indexToRingerMode(index));
/frameworks/base/media/java/android/media/
DAudioManager.java1388 public void setRingerMode(int ringerMode) { in setRingerMode() method in AudioManager
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/services/
Dart-wear-profile8331 PLcom/android/server/audio/AudioService;->setRingerMode(ILjava/lang/String;Z)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14075 method public void setRingerMode(int);
/frameworks/base/core/api/
Dcurrent.txt21429 method public void setRingerMode(int);