/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioTrackTest.java | 142 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 …]
|
D | MediaPresetReverbTest.java | 201 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()
|
D | MediaEnvReverbTest.java | 356 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()
|
D | MediaVisualizerTest.java | 203 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()
|
D | MediaVirtualizerTest.java | 200 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()
|
D | MediaBassBoostTest.java | 199 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()
|
D | MediaEqualizerTest.java | 267 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/ |
D | TonesAutoTest.java | 40 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/ |
D | MediaPlayerSetAudioStreamTypeStateUnitTest.java | 57 player.setAudioStreamType(AudioManager.STREAM_MUSIC); in invokeMethodUnderTest()
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
D | EngineParameters.java | 109 private int mAudioStreamType = AudioManager.STREAM_MUSIC;
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 42 public static final int STREAM_MUSIC = 3; field in AudioSystem
|
D | AudioManager.java | 155 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()
|
D | AudioService.java | 198 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 …]
|
D | AudioTrack.java | 199 private int mStreamType = AudioManager.STREAM_MUSIC; 356 if( (streamType != AudioManager.STREAM_ALARM) && (streamType != AudioManager.STREAM_MUSIC) in audioParamCheck()
|
/frameworks/base/core/java/android/view/ |
D | VolumePanel.java | 142 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/ |
D | android_media_AudioTrack.cpp | 55 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/ |
D | SoundPoolTest.java | 114 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/ |
D | KeyguardViewBase.java | 216 AudioManager.STREAM_MUSIC, in interceptMediaKey()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | DatabaseHelper.java | 813 | (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/ |
D | HTML5Audio.java | 276 int result = audioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC, in play()
|
/frameworks/base/docs/html/guide/topics/media/ |
D | mediaplayer.jd | 131 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/ |
D | VideoView.java | 223 mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); in openVideo()
|
D | MediaController.java | 136 mWindow.setVolumeControlStream(AudioManager.STREAM_MUSIC); in initFloatingWindow()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeech.java | 200 public static final int DEFAULT_STREAM = AudioManager.STREAM_MUSIC;
|
/frameworks/base/core/java/android/server/ |
D | BluetoothA2dpService.java | 95 if (streamType == AudioManager.STREAM_MUSIC) {
|