Home
last modified time | relevance | path

Searched refs:getVolumeGroupCount (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/car-lib/src/android/car/media/
DICarAudio.aidl53 int getVolumeGroupCount(int zoneId); in getVolumeGroupCount() method
DCarAudioManager.java748 public int getVolumeGroupCount() { in getVolumeGroupCount() method in CarAudioManager
749 return getVolumeGroupCount(PRIMARY_AUDIO_ZONE); in getVolumeGroupCount()
761 public int getVolumeGroupCount(int zoneId) { in getVolumeGroupCount() method in CarAudioManager
763 return mService.getVolumeGroupCount(zoneId); in getVolumeGroupCount()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/
DCarAudioManagerUnitTest.java350 when(mServiceMock.getVolumeGroupCount(PRIMARY_AUDIO_ZONE)) in getVolumeGroupCount_withoutZoneId()
354 .that(mCarAudioManager.getVolumeGroupCount()).isEqualTo(TEST_VOLUME_GROUP_COUNT); in getVolumeGroupCount_withoutZoneId()
359 when(mServiceMock.getVolumeGroupCount(TEST_REAR_RIGHT_ZONE_ID)) in getVolumeGroupCount_withZoneId()
363 .that(mCarAudioManager.getVolumeGroupCount(TEST_REAR_RIGHT_ZONE_ID)) in getVolumeGroupCount_withZoneId()
369 doThrow(mRemoteException).when(mServiceMock).getVolumeGroupCount( in getVolumeGroupCount_withServiceRemoteException()
373 .that(mCarAudioManager.getVolumeGroupCount(TEST_REAR_RIGHT_ZONE_ID)).isEqualTo(0); in getVolumeGroupCount_withServiceRemoteException()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeCarAudioService.java97 public int getVolumeGroupCount(int zoneId) { in getVolumeGroupCount() method in FakeCarAudioService
/packages/services/Car/tests/CarHiddenApiTest/src/android/car/hiddenapitest/
DCarAudioManagerTest.java112 int primaryZoneCount = mCarAudioManager.getVolumeGroupCount(); in test_getVolumeGroupIdForUsage()
/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceControllerTest.java181 when(mCarAudioManager.getVolumeGroupCount(ZONE_ID)).thenReturn(1); in setUp()
524 when(mCarAudioManager.getVolumeGroupCount(ZONE_ID)).thenReturn(2); in onVolumeGroupEvent_groupConfigChange_updatesPreferences()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DCarAudioZoneVolumeFragment.java170 int volumeGroupCount = mCarAudioManager.getVolumeGroupCount(mZoneId); in initVolumeInfo()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZone.java144 return getCurrentCarAudioZoneConfig().getVolumeGroupCount(); in getCurrentVolumeGroupCount()
DCarAudioZoneConfig.java175 int getVolumeGroupCount() { in getVolumeGroupCount() method in CarAudioZoneConfig
DCarAudioService.java2638 public int getVolumeGroupCount(int zoneId) {
2679 for (int groupId = 0; groupId < getVolumeGroupCount(zoneId); groupId++) {
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceController.java146 int volumeGroupCount = carAudioManager.getVolumeGroupCount(zoneId); in generateVolumePreferences()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioServiceUnitTest.java1294 .that(service.getVolumeGroupCount(PRIMARY_AUDIO_ZONE)) in getVolumeGroupCount_onPrimaryZone_returnsAllGroups()
1304 .that(nonDynamicAudioService.getVolumeGroupCount(PRIMARY_AUDIO_ZONE)) in getVolumeGroupCount_onPrimaryZone_withNonDynamicRouting_returnsAllGroups()
1391 .that(service.getVolumeGroupCount(TEST_REAR_LEFT_ZONE_ID)) in getVolumeGroupCount_onSecondaryZone_returnsAllGroups()
3100 int groupCount = service.getVolumeGroupCount(PRIMARY_AUDIO_ZONE); in getVolumeGroupInfosForZone()
3163 int groupCount = service.getVolumeGroupCount(PRIMARY_AUDIO_ZONE); in getVolumeGroupInfosForZone_size()
3222 int groupCount = service.getVolumeGroupCount(PRIMARY_AUDIO_ZONE); in getVolumeGroupInfo_forGroupOverRange()
4543 .that(useCoreAudioCarAudioService.getVolumeGroupCount(PRIMARY_AUDIO_ZONE)) in getVolumeGroupAndContextCount()
4567 .that(useCoreAudioCarAudioService.getVolumeGroupCount(PRIMARY_AUDIO_ZONE)) in getVolumeGroupAndContextCount_withCoreVolumeAndRoutingFromConfigConflictRRO()
4593 .that(useCoreAudioCarAudioService.getVolumeGroupCount(PRIMARY_AUDIO_ZONE)) in getVolumeGroupAndContextCount_withCoreVolumeAndRoutingFromConfigNonConflictRRO()
4619 .that(useCoreAudioCarAudioService.getVolumeGroupCount(PRIMARY_AUDIO_ZONE)) in getVolumeGroupAndContextCount_withDisabledCoreVolumeAndRoutingFromConfigAndConflictRRO()
[all …]
DCarAudioZoneConfigUnitTest.java263 public void getVolumeGroupCount() { in getVolumeGroupCount() method in CarAudioZoneConfigUnitTest
268 .that(zoneConfig.getVolumeGroupCount()).isEqualTo(3); in getVolumeGroupCount()
DCarAudioZoneUnitTest.java966 when(zoneConfig.getVolumeGroupCount()).thenReturn(mCarVolumeGroups.size()); in build()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeDialogImpl.java221 int volumeGroupCount = mCarAudioManager.getVolumeGroupCount(mAudioZoneId);
/packages/services/Car/car-lib/api/
Dsystem-current.txt1602 …esPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupCount();
1603 …ermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupCount(int);
Dtest-current.txt1676 …esPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupCount();
1677 …ermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupCount(int);
Dsystem-lint-baseline.txt3300 UnflaggedApi: android.car.media.CarAudioManager#getVolumeGroupCount():
3301 …PI must be flagged with @FlaggedApi: method android.car.media.CarAudioManager.getVolumeGroupCount()
3302 UnflaggedApi: android.car.media.CarAudioManager#getVolumeGroupCount(int):
3303 …must be flagged with @FlaggedApi: method android.car.media.CarAudioManager.getVolumeGroupCount(int)
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt1602 …esPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupCount();
1603 …ermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupCount(int);