HomeSort by relevance Sort by last modified time
    Searched refs:STREAM_RING (Results 1 - 25 of 45) sorted by null

1 2

  /cts/tests/tests/media/src/android/media/cts/
RingtoneTest.java 50 mOriginalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_RING);
53 int maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_RING);
59 mAudioManager.setStreamVolume(AudioManager.STREAM_RING, maxVolume / 2,
96 mAudioManager.setStreamVolume(AudioManager.STREAM_RING, mOriginalVolume,
126 // make sure we play on STREAM_RING because we the volume on this stream is not 0
127 mRingtone.setStreamType(AudioManager.STREAM_RING);
128 assertEquals(AudioManager.STREAM_RING, mRingtone.getStreamType());
133 assertTrue(mRingtone.getStreamType() == AudioManager.STREAM_RING);
141 assertTrue(mRingtone.getStreamType() == AudioManager.STREAM_RING);
ToneGeneratorTest.java 26 ToneGenerator toneGen = new ToneGenerator(AudioManager.STREAM_RING,
AsyncPlayerTest.java 32 asyncPlayer.play(getContext(), PLAY_URI, true, AudioManager.STREAM_RING);
RingtoneManagerTest.java 62 mOriginalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_RING);
69 mAudioManager.adjustStreamVolume(AudioManager.STREAM_RING, AudioManager.ADJUST_RAISE,
85 mAudioManager.setStreamVolume(AudioManager.STREAM_RING, mOriginalVolume,
AudioManagerTest.java 471 AudioManager.STREAM_RING};
605 AudioManager.STREAM_RING,
630 int[] streams = { AudioManager.STREAM_RING };
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
AudioRestrictionTest.java 76 mAudioManager.setStreamVolume(AudioManager.STREAM_RING, 1, /* flag= */ 0);
85 assertEquals(1, mAudioManager.getStreamVolume(AudioManager.STREAM_RING));
97 return mAudioManager.getStreamVolume(AudioManager.STREAM_RING);
  /packages/apps/Camera2/src/com/android/camera/
SoundPlayer.java 93 "STREAM_SYSTEM_ENFORCED", null, AudioManager.STREAM_RING);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
SettingsFacade.java 125 return mAudio.getStreamMaxVolume(AudioManager.STREAM_RING);
130 return mAudio.getStreamVolume(AudioManager.STREAM_RING);
135 mAudio.setStreamVolume(AudioManager.STREAM_RING, volume, 0);
  /packages/services/Telecomm/src/com/android/server/telecom/
RingtoneFactory.java 73 ringtone.setStreamType(AudioManager.STREAM_RING);
Ringer.java 120 if (audioManager.getStreamVolume(AudioManager.STREAM_RING) > 0) {
CallAudioModeStateMachine.java 204 mAudioManager.requestAudioFocusForCall(AudioManager.STREAM_RING,
  /frameworks/base/media/java/android/media/
AudioAttributes.java 520 * {@link AudioManager#STREAM_SYSTEM}, {@link AudioManager#STREAM_RING},
546 case AudioSystem.STREAM_RING:
792 case AudioSystem.STREAM_RING:
    [all...]
AudioSystem.java 49 public static final int STREAM_RING = 2;
76 "STREAM_RING",
    [all...]
RingtoneManager.java 302 return AudioManager.STREAM_RING;
AudioManager.java 214 * reflected by a change of the volume of its alias, {@link #STREAM_RING} on some devices,
320 public static final int STREAM_RING = AudioSystem.STREAM_RING;
424 * {@link AudioManager#STREAM_RING}, or the volume is being adjusted
798 * {@link #STREAM_SYSTEM}, {@link #STREAM_RING}, {@link #STREAM_MUSIC} or
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
SoundSettings.java 151 initVolumePreference(KEY_RING_VOLUME, AudioManager.STREAM_RING,
284 && mAudioManager.getLastAudibleStreamVolume(AudioManager.STREAM_RING) == 0;
576 maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_RING);
598 (double) mAudioManager.getStreamVolume(AudioManager.STREAM_RING) / maxVolume);
  /development/samples/ApiDemos/src/com/example/android/apis/accessibility/
ClockBackService.java 385 int currentRingerVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_RING);
386 int maxRingerVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_RING);
  /frameworks/base/core/java/android/preference/
SeekBarVolumizer.java 110 if (mStreamType == AudioManager.STREAM_RING) {
122 return stream == AudioManager.STREAM_RING || stream == AudioManager.STREAM_NOTIFICATION;
  /frameworks/base/services/core/java/com/android/server/audio/
AudioService.java 266 7, // STREAM_RING
280 0, // STREAM_RING
301 AudioSystem.STREAM_RING, // STREAM_SYSTEM
302 AudioSystem.STREAM_RING, // STREAM_RING
305 AudioSystem.STREAM_RING, // STREAM_NOTIFICATION
307 AudioSystem.STREAM_RING, // STREAM_SYSTEM_ENFORCED
308 AudioSystem.STREAM_RING, // STREAM_DTMF
314 AudioSystem.STREAM_MUSIC, // STREAM_RING
325 AudioSystem.STREAM_RING, // STREAM_SYSTE
    [all...]
  /frameworks/support/media-compat/api21/android/support/v4/media/session/
MediaControllerCompatApi21.java 234 return AudioManager.STREAM_RING;
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DatabaseHelper.java 394 int newValue = (1 << AudioManager.STREAM_RING)
507 int newValue = (1 << AudioManager.STREAM_RING)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
VolumeDialogController.java 75 AudioSystem.STREAM_RING,
373 case AudioSystem.STREAM_RING:
395 return stream == AudioManager.STREAM_RING || stream == AudioManager.STREAM_NOTIFICATION;
    [all...]
VolumeDialog.java 239 addRow(AudioManager.STREAM_RING,
420 if (row.stream == AudioManager.STREAM_RING) {
735 final boolean isRingStream = row.stream == AudioManager.STREAM_RING;
    [all...]
  /frameworks/base/services/retaildemo/java/com/android/server/retaildemo/
RetailDemoModeService.java 97 AudioSystem.STREAM_RING,
  /packages/apps/Music/src/com/android/music/
MusicPicker.java 645 mMediaPlayer.setAudioStreamType(AudioManager.STREAM_RING);

Completed in 700 milliseconds

1 2