Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioPolicyVolumeCallbackTest.java117 setGroupVolume(TEST_VOLUME); in onVolumeAdjustment_withAdjustRaise_increasesGroupVolume()
121 verify(mMockCarAudioService).setGroupVolume(PRIMARY_AUDIO_ZONE, in onVolumeAdjustment_withAdjustRaise_increasesGroupVolume()
127 setGroupVolume(TEST_VOLUME); in onVolumeAdjustment_withAdjustLower_decreasesGroupVolume()
131 verify(mMockCarAudioService).setGroupVolume(PRIMARY_AUDIO_ZONE, in onVolumeAdjustment_withAdjustLower_decreasesGroupVolume()
137 setGroupVolume(TEST_MIN_VOLUME); in onVolumeAdjustment_withAdjustLower_atMinVolume_setsGroupVolumeToMin()
141 verify(mMockCarAudioService).setGroupVolume(PRIMARY_AUDIO_ZONE, in onVolumeAdjustment_withAdjustLower_atMinVolume_setsGroupVolumeToMin()
147 setGroupVolume(TEST_MAX_VOLUME); in onVolumeAdjustment_withAdjustRaise_atMaxVolume_setsGroupVolumeToMax()
151 verify(mMockCarAudioService).setGroupVolume(PRIMARY_AUDIO_ZONE, in onVolumeAdjustment_withAdjustRaise_atMaxVolume_setsGroupVolumeToMax()
157 setGroupVolume(TEST_VOLUME); in onVolumeAdjustment_withAdjustSame_doesNothing()
162 .setGroupVolume(anyInt(), anyInt(), anyInt(), anyInt()); in onVolumeAdjustment_withAdjustSame_doesNothing()
[all …]
/packages/services/Car/tests/SampleCustomInputService/tests/src/com/android/car/custominput/sample/unittest/
DCustomInputEventListenerTest.java240 verify(mCarAudioManager).setGroupVolume(SOME_MEDIA_GROUP_ID, currentVolume + 1, in doTestIncreaseVolumeAndAssert()
273 verify(mCarAudioManager, never()).setGroupVolume(anyInt(), anyInt(), anyInt()); in doTestIncreaseMaxVolumeAndAssert()
304 verify(mCarAudioManager).setGroupVolume(SOME_MEDIA_GROUP_ID, currentVolume - 1, in doTestDecreaseVolumeAndAssert()
337 verify(mCarAudioManager, never()).setGroupVolume(anyInt(), anyInt(), anyInt()); in doTestDecreaseMinVolumeAndAssert()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceController.java189 setGroupVolume(prefGroup, newVolume); in createVolumeSeekBarPreference()
196 private void setGroupVolume(int volumeGroupId, int newVolume) { in setGroupVolume() method in VolumeSettingsPreferenceController
198 mCarAudioManager.setGroupVolume(volumeGroupId, newVolume, /* flags= */ 0); in setGroupVolume()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java199 public void setGroupVolume(int groupId, int index, int flags) { in setGroupVolume() method in CarAudioManager
200 setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, index, flags); in setGroupVolume()
216 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() method in CarAudioManager
218 mService.setGroupVolume(zoneId, groupId, index, flags); in setGroupVolume()
DICarAudio.aidl30 void setGroupVolume(int zoneId, int groupId, int index, int flags); in setGroupVolume() method
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioPolicyVolumeCallback.java84 mCarAudioService.setGroupVolume(zoneId, groupId, minValue, flags); in onVolumeAdjustment()
89 mCarAudioService.setGroupVolume(zoneId, groupId, maxValue, flags); in onVolumeAdjustment()
DCarAudioService.java410 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() method in CarAudioService
835 setGroupVolume(CarAudioManager.PRIMARY_AUDIO_ZONE, groupId, in createAudioPatchLocked()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/
DCarAudioManagerTest.java93 mCarAudioManager.setGroupVolume(groudId, volume, 0); in test_setGroupVolume()
94 mCarAudioManager.setGroupVolume(CarAudioManager.PRIMARY_AUDIO_ZONE, groudId, volume, 0); in test_setGroupVolume()
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/
DCustomInputEventListener.java205 mCarAudioManager.setGroupVolume(volumeGroupId, volume, AudioManager.FLAG_SHOW_UI); in increaseVolume()
231 mCarAudioManager.setGroupVolume(volumeGroupId, volume, AudioManager.FLAG_SHOW_UI); in decreaseVolume()
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/media/
DCarAudioManagerPermissionTest.java65 () -> mCarAudioManager.setGroupVolume(GROUP_ID, 0, 0)); in setGroupVolumePermission()
72 () -> mCarAudioManager.setGroupVolume(PRIMARY_AUDIO_ZONE, GROUP_ID, 0, 0)); in setGroupVolumeWithZonePermission()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarAudioService.java39 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() method in FakeCarAudioService
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceControllerTest.java163 verify(mCarAudioManager).setGroupVolume(GROUP_ID, TEST_NEW_VOLUME, 0); in testOnPreferenceChange_audioManagerSet()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DCarAudioZoneVolumeFragment.java180 mCarAudioManager.setGroupVolume(mZoneId, groupId, volume, AudioManager.FLAG_SHOW_UI); in adjustVolumeByOne()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeDialogImpl.java647 mCarAudioManager.setGroupVolume(mVolumeGroupId, progress, 0); in onProgressChanged()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java654 mCarAudioService.setGroupVolume(zoneId, groupId, index, FLAG_SHOW_UI); in runSetGroupVolume()
/packages/services/Car/car-lib/api/
Dsystem-current.txt1012 …ion(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public void setGroupVolume(int, int, int);
1013 …ion(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public void setGroupVolume(int, int, int,…