/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Util.java | 32 public static String ringerModeToString(int ringerMode) { in ringerModeToString() argument 33 switch (ringerMode) { in ringerModeToString() 41 return "RINGER_MODE_UNKNOWN_" + ringerMode; in ringerModeToString()
|
D | Events.java | 235 private static String ringerModeToString(int ringerMode) { in ringerModeToString() argument 236 switch (ringerMode) { in ringerModeToString()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 1537 int ringerMode = ringerModeFromSettings; in readPersistedSettings() local 1540 if (!isValidRingerMode(ringerMode)) { in readPersistedSettings() 1541 ringerMode = AudioManager.RINGER_MODE_NORMAL; in readPersistedSettings() 1543 if ((ringerMode == AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) { in readPersistedSettings() 1544 ringerMode = AudioManager.RINGER_MODE_SILENT; in readPersistedSettings() 1546 if (ringerMode != ringerModeFromSettings) { in readPersistedSettings() 1547 Settings.Global.putInt(cr, Settings.Global.MODE_RINGER, ringerMode); in readPersistedSettings() 1550 ringerMode = AudioManager.RINGER_MODE_NORMAL; in readPersistedSettings() 1553 mRingerMode = ringerMode; in readPersistedSettings() 1840 int ringerMode = getRingerModeInternal(); in adjustStreamVolume() local [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/media/java/android/media/ |
D | IAudioService.aidl | 115 void setRingerModeExternal(int ringerMode, String caller); in setRingerModeExternal() argument 117 void setRingerModeInternal(int ringerMode, String caller); in setRingerModeInternal() argument 123 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 | 947 public static boolean isValidRingerMode(int ringerMode) { in isValidRingerMode() argument 948 if (ringerMode < 0 || ringerMode > RINGER_MODE_MAX) { in isValidRingerMode() 953 return service.isValidRingerMode(ringerMode); in isValidRingerMode() 1136 public void setRingerMode(int ringerMode) { in setRingerMode() argument 1137 if (!isValidRingerMode(ringerMode)) { in setRingerMode() 1142 service.setRingerModeExternal(ringerMode, getContext().getOpPackageName()); in setRingerMode() 3928 int ringerMode = getRingerMode(); in isSilentMode() local 3930 (ringerMode == RINGER_MODE_SILENT) || in isSilentMode() 3931 (ringerMode == RINGER_MODE_VIBRATE); in isSilentMode() 4475 public void setRingerModeInternal(int ringerMode) { in setRingerModeInternal() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenLog.java | 187 private static String ringerModeToString(int ringerMode) { in ringerModeToString() argument 188 switch (ringerMode) { in ringerModeToString()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 673 private int ringerModeToIndex(int ringerMode) { 675 return ringerMode;
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 936 int ringerMode = audioManager.getRingerModeInternal(); in shouldVibrateForRingtone() local 940 return ringerMode != AudioManager.RINGER_MODE_SILENT; in shouldVibrateForRingtone() 945 return ringerMode != AudioManager.RINGER_MODE_SILENT; in shouldVibrateForRingtone() 947 return ringerMode == AudioManager.RINGER_MODE_VIBRATE; in shouldVibrateForRingtone()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 1331 private int ringerModeToIndex(int ringerMode) { 1333 return ringerMode;
|