Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpVolumeManager.java43 private static final int STREAM_MUSIC = AudioManager.STREAM_MUSIC; field in AvrcpVolumeManager
98 sDeviceMaxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in AvrcpVolumeManager()
138 int storeVolume = mAudioManager.getStreamVolume(STREAM_MUSIC); in storeVolumeForDevice()
178 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, deviceVolume, in setVolume()
273 sb.append(" Current System Volume: " + mAudioManager.getStreamVolume(STREAM_MUSIC) + "\n"); in dump()
DAvrcpTargetService.java123 if (streamType == AudioManager.STREAM_MUSIC) { in onReceive()
185 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/
DMediaOutputPreferenceController.java19 import static android.media.AudioManager.STREAM_MUSIC;
59 if (isStreamFromOutputDevice(STREAM_MUSIC, DEVICE_OUT_REMOTE_SUBMIX)) { in updateState()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java1008 int maxLocalVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in setAbsVolume()
1009 int curLocalVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in setAbsVolume()
1020 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, reqLocalVolume, in setAbsVolume()
1029 int maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in getAbsVolume()
1030 int currIndex = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in getAbsVolume()
/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/Settings/src/com/android/settings/notification/
DMediaVolumePreferenceController.java62 return AudioManager.STREAM_MUSIC; in getAudioStream()
DVolumeSeekBarPreference.java142 final Uri sampleUri = mStream == AudioManager.STREAM_MUSIC ? getMediaVolumeUri() : null; in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DMediaVolumePreferenceController.java57 return AudioManager.STREAM_MUSIC; in getAudioStream()
DVolumeSeekBarPreference.java147 final Uri sampleUri = mStream == AudioManager.STREAM_MUSIC ? getMediaVolumeUri() : null; in init()
/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/apps/Settings/tests/robotests/src/com/android/settings/notification/
DMediaVolumePreferenceControllerTest.java57 assertThat(mController.getAudioStream()).isEqualTo(AudioManager.STREAM_MUSIC); in getAudioStream_shouldReturnMusic()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDynamicRouting.java38 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.java158 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.java158 int result = mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in requestAudioFocus()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DSoundRecorder.java359 am.requestAudioFocus(null, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in stopAudioPlayback()
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1322 mAudioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, in silenceSoundsAndVibrations()