Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpVolumeManager.java45 private static final int STREAM_MUSIC = AudioManager.STREAM_MUSIC; field in AvrcpVolumeManager
100 sDeviceMaxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in AvrcpVolumeManager()
140 int storeVolume = mAudioManager.getLastAudibleStreamVolume(STREAM_MUSIC); in storeVolumeForDevice()
180 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, deviceVolume, in setVolume()
279 sb.append(" Current System Volume: " + mAudioManager.getStreamVolume(STREAM_MUSIC) + "\n"); in dump()
DAvrcpTargetService.java136 if (streamType == AudioManager.STREAM_MUSIC) { in onReceive()
210 sDeviceMaxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in start()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAudioManager.java22 import static android.media.AudioManager.STREAM_MUSIC;
92 case STREAM_MUSIC: in getDevicesForStream()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java90 setVolumeControlStream(AudioManager.STREAM_MUSIC); in onCreate()
268 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in showPostPrepareUI()
309 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in start()
/packages/apps/Music/kotlin/src/com/android/music/
DAudioPreview.kt84 setVolumeControlStream(AudioManager.STREAM_MUSIC) in onCreate()
241 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in showPostPrepareUI()
275 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in start()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java1099 int maxLocalVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in setAbsVolume()
1100 int curLocalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in setAbsVolume()
1111 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, reqLocalVolume, in setAbsVolume()
1120 int maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in getAbsVolume()
1121 int currIndex = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in getAbsVolume()
/packages/apps/Settings/src/com/android/settings/notification/
DMediaVolumePreferenceController.java62 return AudioManager.STREAM_MUSIC; in getAudioStream()
DVolumeSeekBarPreference.java148 final Uri sampleUri = mStream == AudioManager.STREAM_MUSIC ? getMediaVolumeUri() : null; in init()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DMediaVolumePreferenceControllerTest.java57 assertThat(mController.getAudioStream()).isEqualTo(AudioManager.STREAM_MUSIC); in getAudioStream_shouldReturnMusic()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DAudioOutputSwitchPreferenceControllerTest.java20 import static android.media.AudioSystem.STREAM_MUSIC;
247 STREAM_MUSIC, DEVICE_OUT_BLUETOOTH_SCO_HEADSET)).isTrue(); in isStreamFromOutputDevice_outputDeviceIsBtScoHeadset_shouldReturnTrue()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDynamicRouting.java40 AudioManager.STREAM_MUSIC,
/packages/apps/TV/src/com/android/tv/audio/
DAudioManagerHelper.java121 this, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in requestAudioFocus()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayer.java94 audioManager.setMode(AudioManager.STREAM_MUSIC); in setAudioManagerToNonSpeakerMode()
DNewVoicemailMediaPlayerView.java506 audioManager.setMode(AudioManager.STREAM_MUSIC);
/packages/apps/Car/Notification/src/com/android/car/notification/
DBeeper.java157 this.mBeepStream = AudioManager.STREAM_MUSIC; in BeepRecord()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DBeeperTest.java222 verify(mRingtone).setStreamType(AudioManager.STREAM_MUSIC); in assertPlayedViaRingtoneManager()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMovieActivity.java219 .requestAudioFocus(null, AudioManager.STREAM_MUSIC, in onStart()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioAttachmentView.java228 mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); in setupMediaPlayer()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java159 int result = mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in requestAudioFocus()
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1315 mAudioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, in silenceSoundsAndVibrations()