Searched refs:getVolumeGroupIdForUsage (Results 1 – 9 of 9) sorted by relevance
/packages/services/Car/tests/SampleCustomInputService/tests/src/com/android/car/custominput/sample/unittest/ |
D | CustomInputEventListenerTest.java | 224 when(mCarAudioManager.getVolumeGroupIdForUsage(PRIMARY_AUDIO_ZONE, usage)).thenReturn( in doTestIncreaseVolumeAndAssert() 258 when(mCarAudioManager.getVolumeGroupIdForUsage(PRIMARY_AUDIO_ZONE, usage)).thenReturn( in doTestIncreaseMaxVolumeAndAssert() 288 when(mCarAudioManager.getVolumeGroupIdForUsage(PRIMARY_AUDIO_ZONE, usage)).thenReturn( in doTestDecreaseVolumeAndAssert() 322 when(mCarAudioManager.getVolumeGroupIdForUsage(PRIMARY_AUDIO_ZONE, usage)).thenReturn( in doTestDecreaseMinVolumeAndAssert()
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | CarAudioManager.java | 465 public int getVolumeGroupIdForUsage(@AudioAttributes.AttributeUsage int usage) { in getVolumeGroupIdForUsage() method in CarAudioManager 466 return getVolumeGroupIdForUsage(PRIMARY_AUDIO_ZONE, usage); in getVolumeGroupIdForUsage() 479 public int getVolumeGroupIdForUsage(int zoneId, @AudioAttributes.AttributeUsage int usage) { in getVolumeGroupIdForUsage() method in CarAudioManager 481 return mService.getVolumeGroupIdForUsage(zoneId, usage); in getVolumeGroupIdForUsage()
|
D | ICarAudio.aidl | 43 int getVolumeGroupIdForUsage(int zoneId, int usage); in getVolumeGroupIdForUsage() method
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/ |
D | CarAudioManagerTest.java | 118 int groupId = mCarAudioManager.getVolumeGroupIdForUsage(AudioAttributes.USAGE_MEDIA); in test_getVolumeGroupIdForUsage() 119 assertThat(mCarAudioManager.getVolumeGroupIdForUsage(CarAudioManager.PRIMARY_AUDIO_ZONE, in test_getVolumeGroupIdForUsage()
|
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/ |
D | CustomInputEventListener.java | 184 int volumeGroupId = mCarAudioManager.getVolumeGroupIdForUsage(zoneId, usage); in increaseVolume() 210 int volumeGroupId = mCarAudioManager.getVolumeGroupIdForUsage(zoneId, usage); in decreaseVolume()
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/media/ |
D | CarAudioManagerPermissionTest.java | 170 () -> mCarAudioManager.getVolumeGroupIdForUsage(USAGE_MEDIA)); in getVolumeGroupIdForUsagePermission() 177 () -> mCarAudioManager.getVolumeGroupIdForUsage(PRIMARY_AUDIO_ZONE, USAGE_MEDIA)); in getVolumeGroupIdForUsageWithZonePermission()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarAudioService.java | 86 public int getVolumeGroupIdForUsage(int zoneId, int usage) { in getVolumeGroupIdForUsage() method in FakeCarAudioService
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioService.java | 834 int groupId = getVolumeGroupIdForUsage(CarAudioManager.PRIMARY_AUDIO_ZONE, usage); in createAudioPatchLocked() 879 public int getVolumeGroupIdForUsage(int zoneId, @AttributeUsage int usage) { in getVolumeGroupIdForUsage() method in CarAudioService 1290 final int groupId = getVolumeGroupIdForUsage(zoneId, usage); in getAudioPort()
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 1005 …sion(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupIdForUsage(int); 1006 …android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupIdForUsage(int, int);
|