Home
last modified time | relevance | path

Searched refs:getVolumeGroupIdForUsage (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/SampleCustomInputService/tests/src/com/android/car/custominput/sample/unittest/
DCustomInputEventListenerTest.java224 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/
DCarAudioManager.java465 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()
DICarAudio.aidl43 int getVolumeGroupIdForUsage(int zoneId, int usage); in getVolumeGroupIdForUsage() method
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/
DCarAudioManagerTest.java118 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/
DCustomInputEventListener.java184 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/
DCarAudioManagerPermissionTest.java170 () -> 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/
DFakeCarAudioService.java86 public int getVolumeGroupIdForUsage(int zoneId, int usage) { in getVolumeGroupIdForUsage() method in FakeCarAudioService
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java834 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/
Dsystem-current.txt1005 …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);