Searched refs:volumeGroupId (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/volume/ |
D | CarVolumeDialogImpl.java | 206 private static int getSeekbarValue(CarAudioManager carAudioManager, int volumeGroupId) { in getSeekbarValue() argument 207 return carAudioManager.getGroupVolume(volumeGroupId); in getSeekbarValue() 210 private static int getMaxSeekbarValue(CarAudioManager carAudioManager, int volumeGroupId) { in getMaxSeekbarValue() argument 211 return carAudioManager.getGroupMaxVolume(volumeGroupId); in getMaxSeekbarValue() 455 private CarVolumeItem createCarVolumeListItem(VolumeItem volumeItem, int volumeGroupId, in createCarVolumeListItem() argument 459 carVolumeItem.setMax(getMaxSeekbarValue(mCarAudioManager, volumeGroupId)); in createCarVolumeListItem() 462 new CarVolumeDialogImpl.VolumeSeekBarChangeListener(volumeGroupId, in createCarVolumeListItem() 464 carVolumeItem.setGroupId(volumeGroupId); in createCarVolumeListItem() 486 private CarVolumeItem addCarVolumeListItem(VolumeItem volumeItem, int volumeGroupId, in addCarVolumeListItem() argument 489 int seekbarProgressValue = getSeekbarValue(mCarAudioManager, volumeGroupId); in addCarVolumeListItem() [all …]
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioManagerTest.java | 57 int volumeGroupId = in testGetAndValidateProductStrategies() local 62 volumeGroupId, AudioVolumeGroup.DEFAULT_VOLUME_GROUP); in testGetAndValidateProductStrategies() 67 if (avg.getId() == volumeGroupId) { in testGetAndValidateProductStrategies() 261 int volumeGroupId = audioVolumeGroup.getId(); in testVolumeGroupCallback() local 264 vgCbReceiver.setExpectedVolumeGroup(volumeGroupId); in testVolumeGroupCallback() 286 vgCbReceiver.setExpectedVolumeGroup(volumeGroupId); in testVolumeGroupCallback() 314 vgCbReceiver.setExpectedVolumeGroup(volumeGroupId); in testVolumeGroupCallback()
|
D | AudioVolumeGroupChangeHandlerTest.java | 89 int volumeGroupId = audioVolumeGroup.getId(); in testCallbackReceived() local 108 validCb.setExpectedVolumeGroup(volumeGroupId); in testCallbackReceived() 143 int volumeGroupId = audioVolumeGroup.getId(); in testMultipleCallbackReceived() local 163 cb.setExpectedVolumeGroup(volumeGroupId); in testMultipleCallbackReceived()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioProductStrategy.java | 354 AudioAttributesGroup(int volumeGroupId, int streamType, in AudioAttributesGroup() argument 356 mVolumeGroupId = volumeGroupId; in AudioAttributesGroup() 425 int volumeGroupId = in.readInt(); 432 return new AudioAttributesGroup(volumeGroupId, streamType, aa);
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 198 int volumeGroupId = productStrategy.getVolumeGroupIdForLegacyStreamType(streamType); in getVolumeGroupIdForLegacyStreamType() local 199 if (volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in getVolumeGroupIdForLegacyStreamType() 200 return volumeGroupId; in getVolumeGroupIdForLegacyStreamType() 207 .filter(volumeGroupId -> volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) in getVolumeGroupIdForLegacyStreamType()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 2172 private AudioVolumeGroup getAudioVolumeGroupById(int volumeGroupId) { in getAudioVolumeGroupById() argument 2174 if (avg.getId() == volumeGroupId) { in getAudioVolumeGroupById() 2179 Log.e(TAG, ": invalid volume group id: " + volumeGroupId + " requested"); in getAudioVolumeGroupById() 2460 int volumeGroupId = getVolumeGroupIdForAttributesInt(attributes); in getVolumeGroupIdForAttributes() local 2461 if (volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in getVolumeGroupIdForAttributes() 2462 return volumeGroupId; in getVolumeGroupIdForAttributes() 2473 int volumeGroupId = productStrategy.getVolumeGroupIdForAudioAttributes(attributes); in getVolumeGroupIdForAttributesInt() local 2474 if (volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in getVolumeGroupIdForAttributesInt() 2475 return volumeGroupId; in getVolumeGroupIdForAttributesInt()
|