/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | AvrcpVolumeManager.java | 43 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()
|
D | AvrcpTargetService.java | 123 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/ |
D | ShadowAudioManager.java | 22 import static android.media.AudioManager.STREAM_MUSIC; 92 case STREAM_MUSIC: in getDevicesForStream()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/ |
D | MediaOutputPreferenceController.java | 19 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/ |
D | AvrcpControllerStateMachine.java | 1008 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/ |
D | AudioPreview.java | 90 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/ |
D | MediaVolumePreferenceController.java | 62 return AudioManager.STREAM_MUSIC; in getAudioStream()
|
D | VolumeSeekBarPreference.java | 142 final Uri sampleUri = mStream == AudioManager.STREAM_MUSIC ? getMediaVolumeUri() : null; in init()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | MediaVolumePreferenceController.java | 57 return AudioManager.STREAM_MUSIC; in getAudioStream()
|
D | VolumeSeekBarPreference.java | 147 final Uri sampleUri = mStream == AudioManager.STREAM_MUSIC ? getMediaVolumeUri() : null; in init()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | AudioOutputSwitchPreferenceControllerTest.java | 20 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/ |
D | MediaVolumePreferenceControllerTest.java | 57 assertThat(mController.getAudioStream()).isEqualTo(AudioManager.STREAM_MUSIC); in getAudioStream_shouldReturnMusic()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioDynamicRouting.java | 38 AudioManager.STREAM_MUSIC,
|
/packages/apps/TV/src/com/android/tv/audio/ |
D | AudioManagerHelper.java | 121 this, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in requestAudioFocus()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
D | NewVoicemailMediaPlayer.java | 94 audioManager.setMode(AudioManager.STREAM_MUSIC); in setAudioManagerToNonSpeakerMode()
|
D | NewVoicemailMediaPlayerView.java | 506 audioManager.setMode(AudioManager.STREAM_MUSIC);
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | Beeper.java | 158 this.mBeepStream = AudioManager.STREAM_MUSIC; in BeepRecord()
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | BeeperTest.java | 222 verify(mRingtone).setStreamType(AudioManager.STREAM_MUSIC); in assertPlayedViaRingtoneManager()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | MovieActivity.java | 219 .requestAudioFocus(null, AudioManager.STREAM_MUSIC, in onStart()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AudioAttachmentView.java | 228 mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); in setupMediaPlayer()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | Player.java | 158 int result = mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in requestAudioFocus()
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | SoundRecorder.java | 359 am.requestAudioFocus(null, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in stopAudioPlayback()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | VideoModule.java | 1322 mAudioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, in silenceSoundsAndVibrations()
|