Home
last modified time | relevance | path

Searched refs:STREAM_MUSIC (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioTrackTest.java142 AudioManager.STREAM_MUSIC, AudioTrack.MODE_STREAM, in testConstructorMono16MusicStream()
155 AudioManager.STREAM_MUSIC, AudioTrack.MODE_STREAM, in testConstructorStereo16MusicStream()
168 AudioManager.STREAM_MUSIC, AudioTrack.MODE_STATIC, in testConstructorMono16MusicStatic()
181 AudioManager.STREAM_MUSIC, AudioTrack.MODE_STATIC, in testConstructorStereo16MusicStatic()
198 AudioManager.STREAM_MUSIC, AudioTrack.MODE_STREAM, in testConstructorMono8MusicStream()
210 AudioManager.STREAM_MUSIC, AudioTrack.MODE_STREAM, in testConstructorStereo8MusicStream()
222 AudioManager.STREAM_MUSIC, AudioTrack.MODE_STATIC, in testConstructorMono8MusicStatic()
234 AudioManager.STREAM_MUSIC, AudioTrack.MODE_STATIC, in testConstructorStereo8MusicStatic()
255 AudioManager.STREAM_MUSIC, AudioManager.STREAM_NOTIFICATION, in testConstructorStreamType()
309 final int TEST_STREAM_TYPE = AudioManager.STREAM_MUSIC; in testPlaybackHeadPositionAfterInit()
[all …]
DMediaPresetReverbTest.java201 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification()
202 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0AuxiliarySoundModification()
203 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0AuxiliarySoundModification()
219 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification()
256 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0AuxiliarySoundModification()
271 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification()
272 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1InsertSoundModification()
273 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1InsertSoundModification()
287 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification()
338 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1InsertSoundModification()
DMediaEnvReverbTest.java356 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification()
357 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0AuxiliarySoundModification()
358 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0AuxiliarySoundModification()
374 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification()
413 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0AuxiliarySoundModification()
428 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification()
429 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1InsertSoundModification()
430 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1InsertSoundModification()
444 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification()
497 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1InsertSoundModification()
DMediaVisualizerTest.java203 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0PollingCapture()
204 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0PollingCapture()
205 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0PollingCapture()
220 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_0PollingCapture()
266 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0PollingCapture()
279 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1ListenerCapture()
280 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1ListenerCapture()
281 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1ListenerCapture()
296 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_1ListenerCapture()
395 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1ListenerCapture()
DMediaVirtualizerTest.java200 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0SoundModification()
201 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0SoundModification()
219 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_0SoundModification()
266 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0SoundModification()
DMediaBassBoostTest.java199 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0SoundModification()
200 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0SoundModification()
218 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_0SoundModification()
261 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0SoundModification()
DMediaEqualizerTest.java267 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0SoundModification()
268 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0SoundModification()
284 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_0SoundModification()
323 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0SoundModification()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DTonesAutoTest.java40 toneGen = new ToneGenerator(AudioManager.STREAM_MUSIC, 100); in tonesDtmfTest()
64 toneGen = new ToneGenerator(AudioManager.STREAM_MUSIC, 100); in tonesSupervisoryTest()
101 toneGen = new ToneGenerator(AudioManager.STREAM_MUSIC, 100); in tonesProprietaryTest()
126 toneGen1 = new ToneGenerator(AudioManager.STREAM_MUSIC, 100); in tonesSimultaneousTest()
127 toneGen2 = new ToneGenerator(AudioManager.STREAM_MUSIC, 50); in tonesSimultaneousTest()
156 toneGen = new ToneGenerator(AudioManager.STREAM_MUSIC, 100); in tonesStressTest()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerSetAudioStreamTypeStateUnitTest.java57 player.setAudioStreamType(AudioManager.STREAM_MUSIC); in invokeMethodUnderTest()
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
DEngineParameters.java109 private int mAudioStreamType = AudioManager.STREAM_MUSIC;
/frameworks/base/media/java/android/media/
DAudioSystem.java42 public static final int STREAM_MUSIC = 3; field in AudioSystem
DAudioManager.java155 public static final int STREAM_MUSIC = AudioSystem.STREAM_MUSIC; field in AudioManager
1258 return AudioSystem.isStreamActive(STREAM_MUSIC, 0); in isMusicActive()
2039 case STREAM_MUSIC: in getDevicesForStream()
DAudioService.java198 AudioSystem.STREAM_MUSIC, // STREAM_MUSIC
204 AudioSystem.STREAM_MUSIC // STREAM_TTS
458 mRingerModeAffectedStreams &= ~(1 << AudioSystem.STREAM_MUSIC); in readPersistedSettings()
460 mRingerModeAffectedStreams |= (1 << AudioSystem.STREAM_MUSIC); in readPersistedSettings()
467 …((1 << AudioSystem.STREAM_MUSIC)|(1 << AudioSystem.STREAM_RING)|(1 << AudioSystem.STREAM_SYSTEM))); in readPersistedSettings()
1717 } else if (AudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC, 0)) { in getActiveStreamType()
1719 return AudioSystem.STREAM_MUSIC; in getActiveStreamType()
1744 } else if (AudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC, 0) || in getActiveStreamType()
1748 return AudioSystem.STREAM_MUSIC; in getActiveStreamType()
2280 ringerModeAffectedStreams &= ~(1 << AudioSystem.STREAM_MUSIC); in onChange()
[all …]
DAudioTrack.java199 private int mStreamType = AudioManager.STREAM_MUSIC;
356 if( (streamType != AudioManager.STREAM_ALARM) && (streamType != AudioManager.STREAM_MUSIC) in audioParamCheck()
/frameworks/base/core/java/android/view/
DVolumePanel.java142 MediaStream(AudioManager.STREAM_MUSIC,
464 case AudioManager.STREAM_MUSIC: { in onShowVolumeChanged()
466 if ((mAudioManager.getDevicesForStream(AudioManager.STREAM_MUSIC) & in onShowVolumeChanged()
605 StreamControl sc = mStreamControls.get(AudioManager.STREAM_MUSIC); in setMusicIcon()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp55 int STREAM_MUSIC; //... stream type constants member
206 } else if (streamType == javaAudioTrackFields.STREAM_MUSIC) { in android_media_AudioTrack_native_setup()
773 } else if (javaStreamType == javaAudioTrackFields.STREAM_MUSIC) { in android_media_AudioTrack_get_output_sample_rate()
1002 JAVA_CONST_STREAM_MUSIC_NAME, &(javaAudioTrackFields.STREAM_MUSIC)) in register_android_media_AudioTrack()
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
DSoundPoolTest.java114 mSoundPool = new SoundPool(numStreams, AudioSystem.STREAM_MUSIC, 0); in initSoundPool()
406 setVolumeControlStream(AudioManager.STREAM_MUSIC); in onCreate()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardViewBase.java216 AudioManager.STREAM_MUSIC, in interceptMediaKey()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java813 | (1 << AudioManager.STREAM_MUSIC); in onUpgrade()
875 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in onUpgrade()
1174 AudioManager.DEFAULT_STREAM_VOLUME[AudioManager.STREAM_MUSIC]); in loadVolumeLevels()
1210 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in loadVolumeLevels()
1216 ((1 << AudioManager.STREAM_MUSIC) | in loadVolumeLevels()
/frameworks/base/core/java/android/webkit/
DHTML5Audio.java276 int result = audioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC, in play()
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd131 mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
140 mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
498 int result = audioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC,
605 mAudioManager.requestAudioFocus(mContext, AudioManager.STREAM_MUSIC,
743 mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
/frameworks/base/core/java/android/widget/
DVideoView.java223 mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); in openVideo()
DMediaController.java136 mWindow.setVolumeControlStream(AudioManager.STREAM_MUSIC); in initFloatingWindow()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeech.java200 public static final int DEFAULT_STREAM = AudioManager.STREAM_MUSIC;
/frameworks/base/core/java/android/server/
DBluetoothA2dpService.java95 if (streamType == AudioManager.STREAM_MUSIC) {

12