Home
last modified time | relevance | path

Searched refs:setGroupVolume (Results 1 – 25 of 29) sorted by relevance

12

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/
DCarAudioManagerTest.java138 mCarAudioManager.setGroupVolume(groudId, volume, TEST_FLAGS); in test_setGroupVolume()
139 mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, groudId, volume, TEST_FLAGS); in test_setGroupVolume()
218 mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, minVolume, TEST_FLAGS); in setGroupVolume_whileMuted_unMutesVolumeGroup()
225 mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, volume, TEST_FLAGS); in setGroupVolume_whileMuted_unMutesVolumeGroup()
239 mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, minVolume, TEST_FLAGS); in setGroupVolumeToZero_doesNotMuteVolumeGroup()
245 mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, volume, TEST_FLAGS); in setGroupVolumeToZero_doesNotMuteVolumeGroup()
277 mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, testVolume, TEST_FLAGS); in getGroupVolume_whileUnMuted_returnLastSetValue()
287 mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, volume, TEST_FLAGS); in getGroupVolume_whileUnMuted_returnLastSetValue()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioPolicyVolumeCallbackTest.java181 setGroupVolume(TEST_VOLUME); in onVolumeAdjustment_withAdjustRaise_increasesGroupVolume()
191 setGroupVolume(TEST_VOLUME); in onVolumeAdjustment_withAdjustLower_decreasesGroupVolume()
201 setGroupVolume(TEST_MIN_VOLUME); in onVolumeAdjustment_withAdjustLower_atMinVolume_setsGroupVolumeToMin()
211 setGroupVolume(TEST_MAX_VOLUME); in onVolumeAdjustment_withAdjustRaise_atMaxVolume_setsGroupVolumeToMax()
221 setGroupVolume(TEST_MAX_VOLUME); in onVolumeAdjustment_withAdjustRaise_whileMuted_setsGroupVolumeToMin()
279 setGroupVolume(TEST_MAX_VOLUME); in onVolumeAdjustment_withAdjustLower_whileMuted_setsGroupVolumeToMin()
294 setGroupVolume(TEST_VOLUME); in onVolumeAdjustment_withAdjustSame_doesNothing()
471 private void setGroupVolume(int groupVolume) { in setGroupVolume() method in CarAudioPolicyVolumeCallbackTest
DCarAudioServiceUnitTest.java1559 () -> service.setGroupVolume(PRIMARY_AUDIO_ZONE, TEST_PRIMARY_ZONE_GROUP_0, in setGroupVolume_withoutPermission_fails()
1571 nonDynamicAudioService.setGroupVolume( in setGroupVolume_withDynamicRoutingDisabled()
1587 service.setGroupVolume(PRIMARY_AUDIO_ZONE, TEST_PRIMARY_ZONE_GROUP_0, in setGroupVolume_verifyNoCallbacks()
1600 service.setGroupVolume(PRIMARY_AUDIO_ZONE, TEST_PRIMARY_ZONE_GROUP_0, in setGroupVolume_afterSetVolumeGroupMute()
1618 nonVolumeGroupMutingAudioService.setGroupVolume( in setGroupVolume_withVolumeGroupMutingDisabled_doesnotThrowException()
5396 useCoreAudioCarAudioService.setGroupVolume(PRIMARY_AUDIO_ZONE, in onAudioVolumeGroupChanged_noDispatchCallbackEvent_whenAlreadySynced()
6033 service.setGroupVolume(PRIMARY_AUDIO_ZONE, TEST_PRIMARY_ZONE_GROUP_0, in setVolumeGroupMute_withUnMuteAfterPlaybackConfigChangedWhenMute()
6792 service.setGroupVolume(zoneId, groupId, volumeIndex, TEST_FLAGS); in setVolumeForGroup()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java655 mServiceBinder.setGroupVolume(groupId, volume, mAttributionSource); in testVolumeCache()
690 mServiceBinder.setGroupVolume(groupId_1, volume_groupId_1, mAttributionSource); in testActiveGroupChange()
692 mServiceBinder.setGroupVolume(groupId_2, volume_groupId_2, mAttributionSource); in testActiveGroupChange()
770 mService.setGroupVolume(groupId, --volume); in testVolumeChangeWhileMuted()
772 verify(mNativeInterface, times(1)).setGroupVolume(eq(groupId), eq(volume)); in testVolumeChangeWhileMuted()
776 mService.setGroupVolume(groupId, --volume); in testVolumeChangeWhileMuted()
778 verify(mNativeInterface, times(1)).setGroupVolume(eq(groupId), eq(volume)); in testVolumeChangeWhileMuted()
784 mService.setGroupVolume(groupId, ++volume); in testVolumeChangeWhileMuted()
786 verify(mNativeInterface, times(1)).setGroupVolume(eq(groupId), eq(volume)); in testVolumeChangeWhileMuted()
788 mService.setGroupVolume(groupId, ++volume); in testVolumeChangeWhileMuted()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DBaseVolumeSlider.java135 setGroupVolume(groupId, value); in onNotifyChange()
152 private void setGroupVolume(int volumeGroupId, int newVolume) { in setGroupVolume() method in BaseVolumeSlider
159 carAudioManager.setGroupVolume(zoneId, volumeGroupId, newVolume, in setGroupVolume()
/packages/services/Car/tests/SampleCustomInputService/tests/src/com/android/car/custominput/sample/unittest/
DCustomInputEventListenerTest.java234 verify(mCarAudioManager).setGroupVolume(SOME_MEDIA_GROUP_ID, currentVolume + 1, in doTestIncreaseVolumeAndAssert()
267 verify(mCarAudioManager, never()).setGroupVolume(anyInt(), anyInt(), anyInt()); in doTestIncreaseMaxVolumeAndAssert()
298 verify(mCarAudioManager).setGroupVolume(SOME_MEDIA_GROUP_ID, currentVolume - 1, in doTestDecreaseVolumeAndAssert()
331 verify(mCarAudioManager, never()).setGroupVolume(anyInt(), anyInt(), anyInt()); in doTestDecreaseMinVolumeAndAssert()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceController.java230 setGroupVolume(prefGroup, newVolume); in createVolumeSeekBarPreference()
260 private void setGroupVolume(int volumeGroupId, int newVolume) { in setGroupVolume() method in VolumeSettingsPreferenceController
263 .setGroupVolume(getMyAudioZoneId(), volumeGroupId, newVolume, /* flags= */ 0); in setGroupVolume()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DVolumeButton.java37 carAudioManager.setGroupVolume(groupId, carAudioManager.getGroupVolume(groupId), in VolumeButton()
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/
DCustomInputEventListener.java241 mCarAudioManager.setGroupVolume(volumeGroupId, volume, AudioManager.FLAG_SHOW_UI); in increaseVolume()
267 mCarAudioManager.setGroupVolume(volumeGroupId, volume, AudioManager.FLAG_SHOW_UI); in decreaseVolume()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothVolumeControl.aidl56 void setGroupVolume(int group_id, int volume, in AttributionSource attributionSource); in setGroupVolume() method
/packages/services/Car/car-lib/src/android/car/media/
DICarAudio.aidl41 void setGroupVolume(int zoneId, int groupId, int index, int flags); in setGroupVolume() method
DCarAudioManager.java474 public void setGroupVolume(int groupId, int index, int flags) { in setGroupVolume() method in CarAudioManager
475 setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, index, flags); in setGroupVolume()
491 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() method in CarAudioManager
493 mService.setGroupVolume(zoneId, groupId, index, flags); in setGroupVolume()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DVolumeSliderTestCase.java101 verify(mCarAudioManager).setGroupVolume( in verifyVolumeChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlService.java609 setGroupVolume(groupId, volume); in setDeviceVolume()
617 public void setGroupVolume(int groupId, int volume) { in setGroupVolume() method in VolumeControlService
624 mVolumeControlNativeInterface.setGroupVolume(groupId, volume); in setGroupVolume()
1584 public void setGroupVolume(int groupId, int volume, AttributionSource source) { in setGroupVolume() method in VolumeControlService.BluetoothVolumeControlBinder
1592 service.setGroupVolume(groupId, volume); in setGroupVolume()
DVolumeControlNativeInterface.java108 public void setGroupVolume(int groupId, int volume) { in setGroupVolume() method in VolumeControlNativeInterface
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeCarAudioService.java55 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() method in FakeCarAudioService
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/
DCarAudioManagerUnitTest.java203 mCarAudioManager.setGroupVolume(TEST_VOLUME_GROUP_ID, TEST_VOLUME_GROUP_INDEX, TEST_FLAGS); in setGroupVolume_withoutZoneId()
205 verify(mServiceMock).setGroupVolume(PRIMARY_AUDIO_ZONE, TEST_VOLUME_GROUP_ID, in setGroupVolume_withoutZoneId()
211 mCarAudioManager.setGroupVolume(TEST_REAR_RIGHT_ZONE_ID, TEST_VOLUME_GROUP_ID, in setGroupVolume_withZoneId()
214 verify(mServiceMock).setGroupVolume(TEST_REAR_RIGHT_ZONE_ID, TEST_VOLUME_GROUP_ID, in setGroupVolume_withZoneId()
220 doThrow(mRemoteException).when(mServiceMock).setGroupVolume(TEST_REAR_RIGHT_ZONE_ID, in setGroupVolume_withServiceRemoteException()
223 mCarAudioManager.setGroupVolume(TEST_REAR_RIGHT_ZONE_ID, TEST_VOLUME_GROUP_ID, in setGroupVolume_withServiceRemoteException()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DCarAudioZoneVolumeFragment.java237 mCarAudioManager.setGroupVolume(mZoneId, groupId, volume, /* flags= */ 0); in adjustVolumeByOne()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceControllerTest.java335 verify(mCarAudioManager).setGroupVolume(ZONE_ID, TEST_PRIMARY_ZONE_GROUP_0, TEST_NEW_VOLUME, in testOnPreferenceChange_audioManagerSet()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java2482 verify(mVolumeControlService, times(1)).setGroupVolume(groupId, volume); in testVolumeCache()
2546 verify(mVolumeControlService, times(0)).setGroupVolume(groupId, newVolume); in testSetVolumeForBroadcastSinks()
2553 verify(mVolumeControlService, times(1)).setGroupVolume(groupId, newVolume); in testSetVolumeForBroadcastSinks()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeDialogImpl.java851 mCarAudioManager.setGroupVolume(mVolumeZoneId, mVolumeGroupId, progress, 0); in onProgressChanged()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java947 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() method in CarAudioService
2023 setGroupVolume(zoneId, groupId, volumeValue, flags);
2407 setGroupVolume(PRIMARY_AUDIO_ZONE, groupId,
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java4220 groupId -> volumeControlService.setGroupVolume(groupId, volume)); in setVolume()
4222 volumeControlService.setGroupVolume(currentlyActiveGroupId, volume); in setVolume()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java1031 mCarAudioService.setGroupVolume(zoneId, groupId, index, FLAG_SHOW_UI); in runSetGroupVolume()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt258 method TIRAMISU_0 void setGroupVolume(int groupId, int index, int flags);
259 method TIRAMISU_0 void setGroupVolume(int zoneId, int groupId, int index, int flags);

12