HomeSort by relevance Sort by last modified time
    Searched defs:ringerMode (Results 1 - 25 of 28) sorted by null

1 2

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBarPolicy.java 193 final int ringerMode = audioManager.getRingerMode();
194 final boolean visible = ringerMode == AudioManager.RINGER_MODE_SILENT ||
195 ringerMode == AudioManager.RINGER_MODE_VIBRATE;
199 if (ringerMode == AudioManager.RINGER_MODE_VIBRATE) {
  /cts/tests/tests/media/src/android/media/cts/
AudioManagerTest.java 427 int ringerMode = mAudioManager.getRingerMode();
429 assertEquals(ringerMode, mAudioManager.getRingerMode());
432 assertEquals(ringerMode, mAudioManager.getRingerMode());
  /development/samples/ApiDemos/src/com/example/android/apis/accessibility/
ClockBackService.java 278 int ringerMode = intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE,
280 configureForRingerMode(ringerMode);
335 int ringerMode = mAudioManager.getRingerMode();
336 configureForRingerMode(ringerMode);
429 * @param ringerMode The device ringer mode.
431 private void configureForRingerMode(int ringerMode) {
432 if (ringerMode == AudioManager.RINGER_MODE_SILENT) {
443 } else if (ringerMode == AudioManager.RINGER_MODE_VIBRATE) {
453 } else if (ringerMode == AudioManager.RINGER_MODE_NORMAL) {
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaPresetReverbTest.java 201 int ringerMode = am.getRingerMode();
259 am.setRingerMode(ringerMode);
274 int ringerMode = am.getRingerMode();
344 am.setRingerMode(ringerMode);
MediaEnvReverbTest.java 356 int ringerMode = am.getRingerMode();
416 am.setRingerMode(ringerMode);
431 int ringerMode = am.getRingerMode();
503 am.setRingerMode(ringerMode);
MediaVisualizerTest.java 234 int ringerMode = am.getRingerMode();
300 am.setRingerMode(ringerMode);
313 int ringerMode = am.getRingerMode();
432 am.setRingerMode(ringerMode);
447 int ringerMode = am.getRingerMode();
517 am.setRingerMode(ringerMode);
  /packages/services/Telephony/src/com/android/phone/
Ringer.java 206 int ringerMode = audioManager.getRingerMode();
208 return ringerMode != AudioManager.RINGER_MODE_SILENT;
210 return ringerMode == AudioManager.RINGER_MODE_VIBRATE;
EmergencyDialer.java 580 int ringerMode = audioManager.getRingerMode();
581 if ((ringerMode == AudioManager.RINGER_MODE_SILENT)
582 || (ringerMode == AudioManager.RINGER_MODE_VIBRATE)) {
CallNotifier.java     [all...]
PhoneGlobals.java     [all...]
  /frameworks/base/media/java/android/media/
AudioManager.java 708 public static boolean isValidRingerMode(int ringerMode) {
709 if (ringerMode < 0 || ringerMode > RINGER_MODE_MAX) {
799 * @param ringerMode The ringer mode, one of {@link #RINGER_MODE_NORMAL},
803 public void setRingerMode(int ringerMode) {
804 if (!isValidRingerMode(ringerMode)) {
809 service.setRingerMode(ringerMode);
    [all...]
AudioService.java 684 int ringerMode = ringerModeFromSettings;
687 if (!AudioManager.isValidRingerMode(ringerMode)) {
688 ringerMode = AudioManager.RINGER_MODE_NORMAL;
690 if ((ringerMode == AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) {
691 ringerMode = AudioManager.RINGER_MODE_SILENT;
693 if (ringerMode != ringerModeFromSettings) {
694 Settings.Global.putInt(cr, Settings.Global.MODE_RINGER, ringerMode);
697 ringerMode = AudioManager.RINGER_MODE_NORMAL;
700 mRingerMode = ringerMode;
737 broadcastRingerMode(ringerMode);
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/dialpad/
DialpadFragment.java     [all...]
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 

Completed in 741 milliseconds

1 2