Home
last modified time | relevance | path

Searched refs:setStreamVolume (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DBaseTvToAudioSystemAvbTest.java171 verify(mAudioManager).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(5), in adjustOnlyAvbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
180 verify(mAudioManager).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(8), in adjustOnlyAvbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
188 verify(mAudioManager, never()).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(8), in adjustOnlyAvbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
196 verify(mAudioManager, never()).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(8), in adjustOnlyAvbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
204 verify(mAudioManager, never()).setStreamVolume(eq(AudioManager.STREAM_MUSIC), anyInt(), in adjustOnlyAvbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
266 verify(mAudioManager).setStreamVolume(eq(AudioManager.STREAM_MUSIC), in adjustOnlyAvbEnabled_audioDeviceVolumeChanged_requestsAndUpdatesAudioStatus()
365 verify(mAudioManager).setStreamVolume( in avbEnabled_audioDeviceVolumeAdjusted_adjustSame_updatesAudioService()
418 verify(mAudioManager, never()).setStreamVolume( in avbEnabled_audioDeviceVolumeAdjusted_adjustSame_noChange_updatesAudioService()
DBaseAbsoluteVolumeBehaviorTest.java133 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, 1, EMPTY_FLAGS); in setUp()
509 verify(mAudioManager).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(5), in avbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
518 verify(mAudioManager).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(8), in avbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
526 verify(mAudioManager, never()).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(8), in avbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
535 verify(mAudioManager, never()).setStreamVolume(eq(AudioManager.STREAM_MUSIC), in avbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
548 verify(mAudioManager, never()).setStreamVolume(eq(AudioManager.STREAM_MUSIC), anyInt(), in avbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
565 verify(mAudioManager).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(8), in avbEnabled_receiveReportAudioStatus_notifiesVolumeOrMuteChanges()
DTvToAudioSystemEarcAvbTest.java58 verify(mAudioManager).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(5), in switchAudioOutputDeviceFromEarcToArc_volumeAdjusted_updatesAudioService()
DTvToAudioSystemArcAvbTest.java58 verify(mAudioManager).setStreamVolume(eq(AudioManager.STREAM_MUSIC), eq(5), in switchAudioOutputDeviceFromArcToEarc_volumeAdjusted_updatesAudioService()
DFakeAudioFramework.java94 public void setStreamVolume(int streamType, int index, in setStreamVolume() method in FakeAudioFramework.FakeAudioManagerWrapper
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioServiceTest.java155 mAudioService.setStreamVolume(AudioSystem.STREAM_NOTIFICATION, in testRingNotifAlias()
157 mAudioService.setStreamVolume(AudioSystem.STREAM_RING, ringMaxVol, 0, "bla"); in testRingNotifAlias()
164 mAudioService.setStreamVolume(AudioSystem.STREAM_RING, ringVol, 0, "bla"); in testRingNotifAlias()
165 mAudioService.setStreamVolume(AudioSystem.STREAM_NOTIFICATION, ringMaxVol, 0, "bla"); in testRingNotifAlias()
DAbsoluteVolumeBehaviorTest.java188 mAudioService.setStreamVolume(AudioManager.STREAM_MUSIC, in unregisterDispatcher_deviceBecomesVariableVolume_listenerNoLongerTriggered()
211 mAudioService.setStreamVolume(AudioManager.STREAM_MUSIC, in setDeviceVolumeBehavior_unregistersDispatcher()
235 mAudioService.setStreamVolume(AudioManager.STREAM_MUSIC, in setStreamVolume_noAbsVolFlag_dispatchesVolumeChanged()
261 mAudioService.setStreamVolume(AudioManager.STREAM_MUSIC, in setStreamVolume_absVolFlagSet_doesNotDispatchVolumeChanged()
381 mAudioService.setStreamVolume(AudioManager.STREAM_MUSIC, in switchAbsoluteVolumeBehaviorToAdjustOnly_onlyDispatchesVolumeChangeForNewListener()
DVolumeHelperTest.java255 mAudioService.setStreamVolume(streamType, streamVolume, /*flags=*/0, in prepareAudioServiceState()
290 mAudioService.setStreamVolume(STREAM_MUSIC, newIndex, /*flags=*/0, in setStreamVolume_callsASSetStreamVolumeIndex()
300 mAudioService.setStreamVolume(STREAM_RING, 0, /*flags=*/0, in setStreamRingVolume0_setsRingerModeVibrate()
431 mAudioService.setStreamVolume(STREAM_NOTIFICATION, newIndex, FLAG_BLUETOOTH_ABS_VOLUME, in flagAbsVolume_onBtDevice_changesVolume()
450 mAudioService.setStreamVolume(STREAM_NOTIFICATION, newIndex, FLAG_BLUETOOTH_ABS_VOLUME, in flagAbsVolume_onNonBtDevice_noVolumeChange()
465 mAudioService.setStreamVolume(STREAM_SYSTEM, in flagAllowRingerModes_onSystemStreams_changesMode()
479 mAudioService.setStreamVolume(STREAM_MUSIC, in flagAllowRingerModesAbsent_onNonSystemStreams_noModeChange()
/frameworks/base/services/core/java/com/android/server/hdmi/
DDefaultAudioManagerWrapper.java51 public void setStreamVolume(int streamType, int index, in setStreamVolume() method in DefaultAudioManagerWrapper
53 mAudioManager.setStreamVolume(streamType, index, flags); in setStreamVolume()
DAudioManagerWrapper.java45 void setStreamVolume(int streamType, int index, @AudioManager.PublicVolumeFlags int flags); in setStreamVolume() method
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaPresetReverbTest.java198 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0AuxiliarySoundModification()
252 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0AuxiliarySoundModification()
271 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1InsertSoundModification()
337 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1InsertSoundModification()
DMediaVisualizerTest.java233 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0PollingCapture()
295 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0PollingCapture()
312 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1ListenerCapture()
427 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1ListenerCapture()
446 am.setStreamVolume(AudioManager.STREAM_MUSIC, volMax, 0); in test2_2PollingCaptureVolumeScaling()
482 am.setStreamVolume(AudioManager.STREAM_MUSIC, (volMax * 2) / 3, 0); in test2_2PollingCaptureVolumeScaling()
DMediaEnvReverbTest.java353 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0AuxiliarySoundModification()
409 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0AuxiliarySoundModification()
428 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1InsertSoundModification()
496 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1InsertSoundModification()
/frameworks/base/media/java/android/media/tv/
DITvInputHardware.aidl40 void setStreamVolume(float volume); in setStreamVolume() method
/frameworks/av/services/audioflinger/datapath/
DVolumeInterface.h28 virtual void setStreamVolume(audio_stream_type_t stream, float value) = 0;
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java186 mAudioManager.setStreamVolume(AudioManager.STREAM_BLUETOOTH_SCO, in onPause()
569 mAudioManager.setStreamVolume(AudioManager.STREAM_BLUETOOTH_SCO, in onUtteranceCompleted()
580 mAudioManager.setStreamVolume(AudioManager.STREAM_BLUETOOTH_SCO, in onUtteranceCompleted()
605 mAudioManager.setStreamVolume(AudioManager.STREAM_BLUETOOTH_SCO,
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/tests/src/com/android/systemui/accessibility/accessibilitymenu/tests/
DAccessibilityMenuServiceTest.java318 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, min, in testAdjustVolume()
329 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, max, in testAdjustVolume()
339 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, in testAdjustVolume()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp183 status_t AudioPolicyService::AudioPolicyClient::setStreamVolume(audio_stream_type_t stream, in setStreamVolume() function in android::AudioPolicyService::AudioPolicyClient
187 return mAudioPolicyService->setStreamVolume(stream, volume, output, in setStreamVolume()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioVolumesTestRule.java125 mAudioManager.setStreamVolume(e.getKey(), e.getValue(), in tearDown()
/frameworks/base/services/core/java/com/android/server/media/
DVolumeCtrl.java153 audioService.setStreamVolume(stream, volIndex, flag, pack/*callingPackage*/); in run()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h56 status_t setStreamVolume(audio_stream_type_t /*stream*/, in setStreamVolume() function
/frameworks/av/media/audio/aconfig/
Daudio.aconfig98 "setStreamVolume is calling into the BT stack"
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioFlingerService.aidl100 void setStreamVolume(AudioStreamType stream, float value, int /* audio_io_handle_t */ output); in setStreamVolume() method
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp509 mClientInterface->setStreamVolume(stream, volumeAmpl, mIoHandle, delayMs); in setSwMute()
551 mClientInterface->setStreamVolume(stream, volumeAmpl, mIoHandle, delayMs); in setVolume()
572 mClientInterface->setStreamVolume(AUDIO_STREAM_VOICE_CALL, volumeAmpl, mIoHandle, delayMs); in setVolume()
581 mClientInterface->setStreamVolume(stream, volumeAmpl, mIoHandle, delayMs); in setVolume()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DVolumeDialogController.java44 void setStreamVolume(int stream, int userLevel); in setStreamVolume() method

123