/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 | MediaVisualizerTest.java | 236 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0PollingCapture() 237 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0PollingCapture() 238 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0PollingCapture() 253 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_0PollingCapture() 299 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0PollingCapture() 315 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1ListenerCapture() 316 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1ListenerCapture() 317 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1ListenerCapture() 332 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_1ListenerCapture() 431 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1ListenerCapture() [all …]
|
D | MediaPresetReverbTest.java | 203 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification() 204 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0AuxiliarySoundModification() 205 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0AuxiliarySoundModification() 221 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification() 258 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0AuxiliarySoundModification() 276 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification() 277 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1InsertSoundModification() 278 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1InsertSoundModification() 292 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification() 343 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1InsertSoundModification()
|
D | MediaAudioManagerTest.java | 146 AudioManager.STREAM_MUSIC, in verifyAudioFocusLoss() 151 result = mAudioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, in verifyAudioFocusLoss() 219 AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in testAudioFocusStressListenerRequestAbandon() 233 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in testAudioFocusStressNoListenerRequestAbandon() 237 mAudioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, in testAudioFocusStressNoListenerRequestAbandon()
|
D | MediaEnvReverbTest.java | 358 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification() 359 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0AuxiliarySoundModification() 360 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0AuxiliarySoundModification() 376 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification() 415 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0AuxiliarySoundModification() 433 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification() 434 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1InsertSoundModification() 435 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1InsertSoundModification() 449 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification() 502 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1InsertSoundModification()
|
/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/java/android/media/ |
D | AudioAttributes.java | 549 case AudioSystem.STREAM_MUSIC: in setInternalLegacyStreamType() 794 case AudioSystem.STREAM_MUSIC: in usageForLegacyStreamType() 859 return AudioSystem.STREAM_MUSIC; in toVolumeStreamType() 879 AudioManager.USE_DEFAULT_STREAM_TYPE : AudioSystem.STREAM_MUSIC; in toVolumeStreamType() 885 return AudioSystem.STREAM_MUSIC; in toVolumeStreamType()
|
D | AudioSystem.java | 51 public static final int STREAM_MUSIC = 3; field in AudioSystem 809 (1 << STREAM_MUSIC) |
|
D | AudioManager.java | 322 public static final int STREAM_MUSIC = AudioSystem.STREAM_MUSIC; field in AudioManager 1724 return AudioSystem.isStreamActive(STREAM_MUSIC, 0); in isMusicActive() 1734 return AudioSystem.isStreamActiveRemotely(STREAM_MUSIC, 0); in isMusicActiveRemotely() 3231 case STREAM_MUSIC: in getDevicesForStream()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 303 AudioSystem.STREAM_MUSIC, // STREAM_MUSIC 309 AudioSystem.STREAM_MUSIC // STREAM_TTS 312 AudioSystem.STREAM_MUSIC, // STREAM_VOICE_CALL 313 AudioSystem.STREAM_MUSIC, // STREAM_SYSTEM 314 AudioSystem.STREAM_MUSIC, // STREAM_RING 315 AudioSystem.STREAM_MUSIC, // STREAM_MUSIC 316 AudioSystem.STREAM_MUSIC, // STREAM_ALARM 317 AudioSystem.STREAM_MUSIC, // STREAM_NOTIFICATION 318 AudioSystem.STREAM_MUSIC, // STREAM_BLUETOOTH_SCO 319 AudioSystem.STREAM_MUSIC, // STREAM_SYSTEM_ENFORCED [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | VolumeControlAction.java | 164 int currentVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume() 166 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerSetAudioStreamTypeStateUnitTest.java | 57 player.setAudioStreamType(AudioManager.STREAM_MUSIC); in invokeMethodUnderTest()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | SampleMediaRouteProvider.java | 171 .setPlaybackStream(AudioManager.STREAM_MUSIC) in publishRoutes() 184 .setPlaybackStream(AudioManager.STREAM_MUSIC) in publishRoutes() 197 .setPlaybackStream(AudioManager.STREAM_MUSIC) in publishRoutes() 212 .setPlaybackStream(AudioManager.STREAM_MUSIC) in publishRoutes() 340 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in setVolumeInternal()
|
/frameworks/support/media-compat/api21/android/support/v4/media/session/ |
D | MediaControllerCompatApi21.java | 224 return AudioManager.STREAM_MUSIC; in toLegacyStreamType() 243 return AudioManager.STREAM_MUSIC; in toLegacyStreamType()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogController.java | 73 AudioSystem.STREAM_MUSIC, 271 if (stream == AudioManager.STREAM_MUSIC) { in checkRoutedToBluetoothW() 273 (mAudio.getDevicesForStream(AudioManager.STREAM_MUSIC) & in checkRoutedToBluetoothW() 293 changed |= checkRoutedToBluetoothW(showUI ? AudioManager.STREAM_MUSIC : stream); in onVolumeChangedW() 372 case AudioSystem.STREAM_MUSIC: 861 changed |= checkRoutedToBluetoothW(AudioManager.STREAM_MUSIC);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | Playback.java | 172 mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); in play() 245 int result = mAudioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC, in tryToGetAudioFocus()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | RemoteControlClientCompat.java | 76 public int playbackStream = AudioManager.STREAM_MUSIC;
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 114 mSoundPool = new SoundPool(numStreams, AudioSystem.STREAM_MUSIC, 0); in initSoundPool() 418 setVolumeControlStream(AudioManager.STREAM_MUSIC); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 506 mCurrentMaxIndex = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in updateVolume() 507 mCurrentIndex = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in updateVolume() 515 if (streamType != AudioManager.STREAM_MUSIC) { in handleVolumeChange() 527 if (streamType != AudioManager.STREAM_MUSIC) { in handleVolumeChange() 783 int sinkDevice = mAudioManager.getDevicesForStream(AudioManager.STREAM_MUSIC); in findAudioSinkFromAudioPolicy()
|
/frameworks/support/media-compat/jellybean-mr2/android/support/v4/media/ |
D | TransportMediatorJellybeanMR2.java | 145 AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in takeAudioFocus()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EnvReverbTest.java | 82 R.raw.mp3_sample, AudioManager.STREAM_MUSIC, 0); in onCreate() 86 AudioManager.STREAM_MUSIC, 0); in onCreate()
|
/frameworks/base/docs/html/training/managing-audio/ |
D | volume-playback.jd | 53 android.media.AudioManager#STREAM_MUSIC} stream.</p> 79 setVolumeControlStream(AudioManager.STREAM_MUSIC);
|
D | audio-focus.jd | 66 AudioManager.STREAM_MUSIC, 97 AudioManager.STREAM_MUSIC,
|
/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 321 am.requestAudioFocus(null, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in openVideo() 350 mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); in openVideo()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardHostView.java | 359 AudioManager.STREAM_MUSIC /* stream */, 0 /* flags */); in interceptMediaKey()
|