/external/robolectric/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());
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAudioManager.java | 24 public int getStreamVolume(int streamType) { 54 public int getStreamVolume() {
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioManagerTest.java | 335 assertEquals(maxVolume, mAudioManager.getStreamVolume(streams[i])); 338 assertEquals(1, mAudioManager.getStreamVolume(streams[i])); 351 curvol = mAudioManager.getStreamVolume(streams[i]); 357 assertEquals(maxVolume, mAudioManager.getStreamVolume(streams[i])); 360 assertEquals(maxVolume - 1, mAudioManager.getStreamVolume(streams[i])); 366 assertEquals(k - 1, mAudioManager.getStreamVolume(streams[i])); 374 assertEquals(1 + k, mAudioManager.getStreamVolume(streams[i])); 381 assertEquals(maxVolume, mAudioManager.getStreamVolume(streams[i])); 404 assertEquals(maxMusicVolume, mAudioManager.getStreamVolume(STREAM_MUSIC)); 411 assertEquals(2 + k, mAudioManager.getStreamVolume(STREAM_MUSIC)) [all...] |
RingtoneTest.java | 46 mOriginalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_RING);
|
RingtoneManagerTest.java | 58 mOriginalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_RING);
|
MediaPlayerTest.java | 409 int oldvolume = am.getStreamVolume(AudioManager.STREAM_MUSIC); [all...] |
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
CtsAudioClientActivity.java | 71 int original = mgr.getStreamVolume(AudioManager.STREAM_MUSIC);
|
/external/srec/audio/AudioIn/UNIX/src/ |
audioinwrapper.cpp | 164 AudioSystem::getStreamVolume(stream_type, &v, 0);
|
/frameworks/base/media/java/android/media/ |
Ringtone.java | 217 if (mAudioManager.getStreamVolume(mStreamType) != 0) { 281 if (mAudioManager.getStreamVolume(mStreamType) != 0) {
|
IAudioService.aidl | 68 int getStreamVolume(int streamType);
|
AudioManager.java | 720 * @see #getStreamVolume(int) 744 public int getStreamVolume(int streamType) { 750 return service.getStreamVolume(streamType); 753 Log.e(TAG, "Dead object in getStreamVolume", e); 823 * @see #getStreamVolume(int) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
TimerRingService.java | 165 if (audioManager.getStreamVolume(AudioManager.STREAM_ALARM) != 0) {
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmKlaxon.java | 132 if (audioManager.getStreamVolume(AudioManager.STREAM_ALARM) != 0) {
|
/frameworks/base/core/java/android/preference/ |
VolumePreference.java | 250 int volume = mAudioManager.getStreamVolume(mStreamType); 275 mOriginalStreamVolume = mAudioManager.getStreamVolume(mStreamType);
|
/frameworks/base/core/java/android/view/ |
VolumePanel.java | 383 private int getStreamVolume(int streamType) { 389 return mAudioManager.getStreamVolume(streamType); 468 sc.seekbarView.setProgress(getStreamVolume(sc.streamType)); 636 int index = getStreamVolume(streamType); [all...] |
/frameworks/av/include/media/ |
AudioSystem.h | 58 static status_t getStreamVolume(audio_stream_type_t stream, float* volume,
|
/packages/services/Telephony/src/com/android/phone/ |
Ringer.java | 173 if (audioManager.getStreamVolume(AudioManager.STREAM_RING) == 0) {
|
CallNotifier.java | [all...] |
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
ScoAudioTest.java | 195 mOriginalVoiceVolume = mAudioManager.getStreamVolume( 593 mOriginalVoiceVolume = mAudioManager.getStreamVolume(
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
ClockBackService.java | 385 int currentRingerVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_RING);
|
/packages/apps/Settings/src/com/android/settings/ |
RingerVolumePreference.java | 136 final int volume = mAudioManager.getStreamVolume(streamType);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
SystemMediaRouteProvider.java | 130 mLastReportedVolume = mAudioManager.getStreamVolume(PLAYBACK_STREAM); 165 int volume = mAudioManager.getStreamVolume(PLAYBACK_STREAM); [all...] |
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerActivity.java | 351 mBluetoothVoiceVolume = mAudioManager.getStreamVolume( 594 int ringVolume = mAudioManager.getStreamVolume( [all...] |
/frameworks/av/media/libmedia/ |
AudioSystem.cpp | 151 status_t AudioSystem::getStreamVolume(audio_stream_type_t stream, float* volume,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
CallManager.java | 385 if (audioManager.getStreamVolume(AudioManager.STREAM_RING) > 0) { [all...] |