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

1 2 3

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
AudioManagerTest.java 70 assertEquals(5, audioManager.getStreamVolume(AudioManager.STREAM_MUSIC));
77 assertEquals(8, audioManager.getStreamVolume(AudioManager.STREAM_MUSIC));
78 assertEquals(8, shadowAudioManager.getStreamVolume());
  /cts/tests/tests/media/src/android/media/cts/
AudioManagerTest.java 445 1, mAudioManager.getStreamVolume(AudioManager.STREAM_SYSTEM));
493 assertEquals(maxVolume, mAudioManager.getStreamVolume(streams[i]));
496 assertEquals(1, mAudioManager.getStreamVolume(streams[i]));
509 curvol = mAudioManager.getStreamVolume(streams[i]);
515 assertEquals(maxVolume, mAudioManager.getStreamVolume(streams[i]));
517 volumeDelta = getVolumeDelta(mAudioManager.getStreamVolume(streams[i]));
519 assertEquals(maxVolume - volumeDelta, mAudioManager.getStreamVolume(streams[i]));
523 volume = mAudioManager.getStreamVolume(streams[i]);
525 volumeDelta = getVolumeDelta(mAudioManager.getStreamVolume(streams[i]));
528 mAudioManager.getStreamVolume(streams[i]))
    [all...]
RingtoneTest.java 50 mOriginalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_RING);
VisualizerTest.java 309 int originalVolume = am.getStreamVolume(AudioManager.STREAM_MUSIC);
382 int originalVolume = am.getStreamVolume(AudioManager.STREAM_MUSIC);
LoudnessEnhancerTest.java 160 int originalVolume = am.getStreamVolume(AudioManager.STREAM_MUSIC);
RingtoneManagerTest.java 62 mOriginalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_RING);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAudioManager.java 24 public int getStreamVolume(int streamType) {
54 public int getStreamVolume() {
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
AudioRestrictionTest.java 85 assertEquals(1, mAudioManager.getStreamVolume(AudioManager.STREAM_RING));
97 return mAudioManager.getStreamVolume(AudioManager.STREAM_RING);
  /developers/build/prebuilts/gradle/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/
SoundAlarmListenerService.java 51 mOrigVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_ALARM);
77 mOrigVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_ALARM);
  /developers/samples/android/wearable/wear/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/
SoundAlarmListenerService.java 51 mOrigVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_ALARM);
77 mOrigVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_ALARM);
  /development/samples/browseable/FindMyPhone/Application/src/com.example.android.wearable.findphone/
SoundAlarmListenerService.java 51 mOrigVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_ALARM);
77 mOrigVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_ALARM);
  /cts/suite/audio_quality/client/src/com/android/cts/audiotest/
CtsAudioClientActivity.java 71 int original = mgr.getStreamVolume(AudioManager.STREAM_MUSIC);
  /packages/services/Telephony/src/com/android/services/telephony/
EmergencyTonePlayer.java 107 mSavedInCallVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
AudioFrequencyActivity.java 69 int currentLevel = am.getStreamVolume(AudioManager.STREAM_MUSIC);
AudioLoopbackActivity.java 172 int currentLevel = am.getStreamVolume(AudioManager.STREAM_MUSIC);
  /frameworks/base/services/core/java/com/android/server/hdmi/
VolumeControlAction.java 164 int currentVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC);
  /frameworks/base/services/tests/servicestests/src/com/android/server/notification/
BuzzBeepBlinkTest.java 71 when(mAudioManager.getStreamVolume(anyInt())).thenReturn(10);
375 when(mAudioManager.getStreamVolume(anyInt())).thenReturn(0);
389 when(mAudioManager.getStreamVolume(anyInt())).thenReturn(0);
533 when(mAudioManager.getStreamVolume(anyInt())).thenReturn(0);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
SettingsFacade.java 130 return mAudio.getStreamVolume(AudioManager.STREAM_RING);
145 return mAudio.getStreamVolume(AudioManager.STREAM_MUSIC);
  /external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
WebRtcAudioTrack.java 249 private int getStreamVolume() {
250 Logging.d(TAG, "getStreamVolume");
252 return audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL);
  /frameworks/base/core/java/android/preference/
SeekBarVolumizer.java 103 mOriginalStreamVolume = mAudioManager.getStreamVolume(mStreamType);
372 final int volume = mAudioManager.getStreamVolume(mStreamType);
424 int streamVolume = mAudioManager.getStreamVolume(streamType);
  /packages/services/Telecomm/src/com/android/server/telecom/
Ringer.java 120 if (audioManager.getStreamVolume(AudioManager.STREAM_RING) > 0) {
  /frameworks/base/media/java/android/media/
IAudioService.aidl 57 int getStreamVolume(int streamType);
Ringtone.java 328 if (mAudioManager.getStreamVolume(
413 if (mAudioManager.getStreamVolume(AudioAttributes.toLegacyStreamType(mAudioAttributes))
  /frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
ScoAudioTest.java 195 mOriginalVoiceVolume = mAudioManager.getStreamVolume(
602 mOriginalVoiceVolume = mAudioManager.getStreamVolume(
  /packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
AvrcpControllerService.java 664 int currIndex = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC);
    [all...]

Completed in 1281 milliseconds

1 2 3