/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() 217 AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in testAudioFocusStressListenerRequestAbandon() 231 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in testAudioFocusStressNoListenerRequestAbandon() 235 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/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioProductStrategyTest.java | 84 assertEquals(AudioSystem.STREAM_MUSIC, in testAudioAttributesFromStreamTypes() 134 assertEquals(AudioSystem.STREAM_MUSIC, in testAudioAttributesFromStreamTypes() 188 streamTypeFromUsage, AudioSystem.STREAM_MUSIC); in testAudioAttributesToStreamTypes() 209 assertEquals(streamTypeFromUsage, AudioSystem.STREAM_MUSIC); in testAudioAttributesToStreamTypes()
|
D | AudioVolumesTestBase.java | 45 AudioManager.STREAM_SYSTEM, AudioManager.STREAM_RING, AudioManager.STREAM_MUSIC,
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 343 AudioSystem.STREAM_MUSIC, // STREAM_MUSIC 349 AudioSystem.STREAM_MUSIC, // STREAM_TTS 350 AudioSystem.STREAM_MUSIC // STREAM_ACCESSIBILITY 353 AudioSystem.STREAM_MUSIC, // STREAM_VOICE_CALL 354 AudioSystem.STREAM_MUSIC, // STREAM_SYSTEM 355 AudioSystem.STREAM_MUSIC, // STREAM_RING 356 AudioSystem.STREAM_MUSIC, // STREAM_MUSIC 357 AudioSystem.STREAM_MUSIC, // STREAM_ALARM 358 AudioSystem.STREAM_MUSIC, // STREAM_NOTIFICATION 360 AudioSystem.STREAM_MUSIC, // STREAM_SYSTEM_ENFORCED [all …]
|
D | AudioDeviceInventory.java | 201 mDeviceBroker.postSetVolumeIndexOnDevice(AudioSystem.STREAM_MUSIC, in onSetA2dpSinkConnectionState() 300 mDeviceBroker.postSetVolumeIndexOnDevice(AudioSystem.STREAM_MUSIC, in onBluetoothA2dpActiveDeviceChange() 314 int musicDevice = mDeviceBroker.getDeviceForStream(AudioSystem.STREAM_MUSIC); in onBluetoothA2dpActiveDeviceChange() 779 musicDevice = mDeviceBroker.getDeviceForStream(AudioSystem.STREAM_MUSIC); in checkSendBecomingNoisyIntentInt() 789 if (!AudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC, 0 /*not looking in past*/) in checkSendBecomingNoisyIntentInt()
|
/frameworks/base/media/java/android/media/ |
D | AudioAttributes.java | 858 case AudioSystem.STREAM_MUSIC: in setInternalLegacyStreamType() 1160 case AudioSystem.STREAM_MUSIC: in usageForStreamType() 1220 AudioSystem.STREAM_MUSIC : AudioSystem.STREAM_TTS; in toVolumeStreamType() 1232 return AudioSystem.STREAM_MUSIC; in toVolumeStreamType() 1253 return AudioSystem.STREAM_MUSIC; in toVolumeStreamType() 1259 return AudioSystem.STREAM_MUSIC; in toVolumeStreamType()
|
D | AudioManager.java | 354 public static final int STREAM_MUSIC = AudioSystem.STREAM_MUSIC; field in AudioManager 1032 STREAM_MUSIC, 1079 case STREAM_MUSIC: in isPublicStreamType() 2078 return AudioSystem.isStreamActive(STREAM_MUSIC, 0); in isMusicActive() 2089 return AudioSystem.isStreamActiveRemotely(STREAM_MUSIC, 0); in isMusicActiveRemotely() 4202 case STREAM_MUSIC: in getDevicesForStream()
|
/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()
|
D | HdmiCecLocalDeviceAudioSystem.java | 839 int volume = mService.getAudioManager().getStreamVolume(AudioManager.STREAM_MUSIC); in reportAudioStatus() 840 boolean mute = mService.getAudioManager().isStreamMute(AudioManager.STREAM_MUSIC); in reportAudioStatus() 841 int maxVolume = mService.getAudioManager().getStreamMaxVolume(AudioManager.STREAM_MUSIC); in reportAudioStatus() 842 int minVolume = mService.getAudioManager().getStreamMinVolume(AudioManager.STREAM_MUSIC); in reportAudioStatus() 896 mService.getAudioManager().isStreamMute(AudioManager.STREAM_MUSIC); in setSystemAudioMode() 901 AudioManager.STREAM_MUSIC, in setSystemAudioMode()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerSetAudioStreamTypeStateUnitTest.java | 57 player.setAudioStreamType(AudioManager.STREAM_MUSIC); in invokeMethodUnderTest()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecLocalDeviceAudioSystemTest.java | 89 case STREAM_MUSIC: in setUp() 99 case STREAM_MUSIC: in setUp() 109 case STREAM_MUSIC: in setUp() 120 case STREAM_MUSIC: in setUp()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioProductStrategy.java | 122 return AudioSystem.STREAM_MUSIC; in getLegacyStreamTypeForStrategyWithAudioAttributes() 127 return AudioSystem.STREAM_MUSIC; in getLegacyStreamTypeForStrategyWithAudioAttributes()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 102 STREAMS.put(AudioSystem.STREAM_MUSIC, R.string.stream_music); in STREAMS.put() argument 430 if (stream == AudioManager.STREAM_MUSIC) { in checkRoutedToBluetoothW() 432 (mAudio.getDevicesForStream(AudioManager.STREAM_MUSIC) & in checkRoutedToBluetoothW() 471 changed |= checkRoutedToBluetoothW(showUI ? AudioManager.STREAM_MUSIC : stream); in onVolumeChangedW() 551 case AudioSystem.STREAM_MUSIC: 1108 changed |= checkRoutedToBluetoothW(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/cmds/media/src/com/android/commands/media/ |
D | VolumeCtrl.java | 70 int stream = AudioManager.STREAM_MUSIC; in run()
|
/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() 798 int sinkDevice = mAudioManager.getDevicesForStream(AudioManager.STREAM_MUSIC); in findAudioSinkFromAudioPolicy()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | AudioDeviceBrokerTest.java | 131 when(mMockAudioService.getDeviceForStream(AudioManager.STREAM_MUSIC)) in doTestConnectionDisconnectionReconnection()
|
/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/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardHostView.java | 370 AudioManager.STREAM_MUSIC /* stream */, 0 /* flags */); in interceptMediaKey()
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerTestActivity.java | 98 setVolumeControlStream(AudioManager.STREAM_MUSIC); in onCreate()
|