/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioPolicyVolumeCallbackTest.java | 117 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/ |
D | CustomInputEventListenerTest.java | 240 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/ |
D | VolumeSettingsPreferenceController.java | 189 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/ |
D | CarAudioManager.java | 199 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()
|
D | ICarAudio.aidl | 30 void setGroupVolume(int zoneId, int groupId, int index, int flags); in setGroupVolume() method
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioPolicyVolumeCallback.java | 84 mCarAudioService.setGroupVolume(zoneId, groupId, minValue, flags); in onVolumeAdjustment() 89 mCarAudioService.setGroupVolume(zoneId, groupId, maxValue, flags); in onVolumeAdjustment()
|
D | CarAudioService.java | 410 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/ |
D | CarAudioManagerTest.java | 93 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/ |
D | CustomInputEventListener.java | 205 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/ |
D | CarAudioManagerPermissionTest.java | 65 () -> 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/ |
D | FakeCarAudioService.java | 39 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/ |
D | VolumeSettingsPreferenceControllerTest.java | 163 verify(mCarAudioManager).setGroupVolume(GROUP_ID, TEST_NEW_VOLUME, 0); in testOnPreferenceChange_audioManagerSet()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | CarAudioZoneVolumeFragment.java | 180 mCarAudioManager.setGroupVolume(mZoneId, groupId, volume, AudioManager.FLAG_SHOW_UI); in adjustVolumeByOne()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/ |
D | CarVolumeDialogImpl.java | 647 mCarAudioManager.setGroupVolume(mVolumeGroupId, progress, 0); in onProgressChanged()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarShellCommand.java | 654 mCarAudioService.setGroupVolume(zoneId, groupId, index, FLAG_SHOW_UI); in runSetGroupVolume()
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 1012 …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,…
|