/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Util.java | 71 public static String ringerModeToString(int ringerMode) { in ringerModeToString() argument 72 switch (ringerMode) { in ringerModeToString() 76 default: return "RINGER_MODE_UNKNOWN_" + ringerMode; in ringerModeToString()
|
D | Events.java | 197 private static String ringerModeToString(int ringerMode) { in ringerModeToString() argument 198 switch (ringerMode) { in ringerModeToString()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 1228 int ringerMode = ringerModeFromSettings; in readPersistedSettings() local 1231 if (!isValidRingerMode(ringerMode)) { in readPersistedSettings() 1232 ringerMode = AudioManager.RINGER_MODE_NORMAL; in readPersistedSettings() 1234 if ((ringerMode == AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) { in readPersistedSettings() 1235 ringerMode = AudioManager.RINGER_MODE_SILENT; in readPersistedSettings() 1237 if (ringerMode != ringerModeFromSettings) { in readPersistedSettings() 1238 Settings.Global.putInt(cr, Settings.Global.MODE_RINGER, ringerMode); in readPersistedSettings() 1241 ringerMode = AudioManager.RINGER_MODE_NORMAL; in readPersistedSettings() 1244 mRingerMode = ringerMode; in readPersistedSettings() 1470 int ringerMode = getRingerModeInternal(); in adjustStreamVolume() local [all …]
|
/frameworks/base/media/java/android/media/ |
D | IAudioService.aidl | 78 void setRingerModeExternal(int ringerMode, String caller); in setRingerModeExternal() argument 80 void setRingerModeInternal(int ringerMode, String caller); in setRingerModeInternal() argument 86 boolean isValidRingerMode(int ringerMode); in isValidRingerMode() argument
|
D | AudioManagerInternal.java | 43 public abstract void setRingerModeInternal(int ringerMode, String caller); in setRingerModeInternal() argument
|
D | AudioManager.java | 885 public static boolean isValidRingerMode(int ringerMode) { in isValidRingerMode() argument 886 if (ringerMode < 0 || ringerMode > RINGER_MODE_MAX) { in isValidRingerMode() 891 return service.isValidRingerMode(ringerMode); in isValidRingerMode() 992 public void setRingerMode(int ringerMode) { in setRingerMode() argument 993 if (!isValidRingerMode(ringerMode)) { in setRingerMode() 998 service.setRingerModeExternal(ringerMode, getContext().getOpPackageName()); in setRingerMode() 3324 int ringerMode = getRingerMode(); in isSilentMode() local 3326 (ringerMode == RINGER_MODE_SILENT) || in isSilentMode() 3327 (ringerMode == RINGER_MODE_VIBRATE); in isSilentMode() 3809 public void setRingerModeInternal(int ringerMode) { in setRingerModeInternal() argument [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaVisualizerTest.java | 234 int ringerMode = am.getRingerMode(); in test2_0PollingCapture() local 300 am.setRingerMode(ringerMode); in test2_0PollingCapture() 313 int ringerMode = am.getRingerMode(); in test2_1ListenerCapture() local 432 am.setRingerMode(ringerMode); in test2_1ListenerCapture() 447 int ringerMode = am.getRingerMode(); in test2_2PollingCaptureVolumeScaling() local 517 am.setRingerMode(ringerMode); in test2_2PollingCaptureVolumeScaling()
|
D | MediaPresetReverbTest.java | 201 int ringerMode = am.getRingerMode(); in test2_0AuxiliarySoundModification() local 259 am.setRingerMode(ringerMode); in test2_0AuxiliarySoundModification() 274 int ringerMode = am.getRingerMode(); in test2_1InsertSoundModification() local 344 am.setRingerMode(ringerMode); in test2_1InsertSoundModification()
|
D | MediaEnvReverbTest.java | 356 int ringerMode = am.getRingerMode(); in test2_0AuxiliarySoundModification() local 416 am.setRingerMode(ringerMode); in test2_0AuxiliarySoundModification() 431 int ringerMode = am.getRingerMode(); in test2_1InsertSoundModification() local 503 am.setRingerMode(ringerMode); in test2_1InsertSoundModification()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenLog.java | 167 private static String ringerModeToString(int ringerMode) { in ringerModeToString() argument 168 switch (ringerMode) { in ringerModeToString()
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 559 int ringerMode = audioManager.getRingerModeInternal(); in shouldVibrateForRingtone() local 563 return ringerMode != AudioManager.RINGER_MODE_SILENT; in shouldVibrateForRingtone() 565 return ringerMode == AudioManager.RINGER_MODE_VIBRATE; in shouldVibrateForRingtone()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 1063 private int ringerModeToIndex(int ringerMode) { 1065 return ringerMode;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 1050 private int ringerModeToIndex(int ringerMode) { 1052 return ringerMode;
|