Home
last modified time | relevance | path

Searched refs:volumeGroupId (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java179 int volumeGroupId = getVolumeGroupIdForAudioAttributesInt(attributes); in getVolumeGroupIdForAudioAttributes() local
180 if (volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in getVolumeGroupIdForAudioAttributes()
181 return volumeGroupId; in getVolumeGroupIdForAudioAttributes()
341 int volumeGroupId = productStrategy.getVolumeGroupIdForAudioAttributes(attributes); in getVolumeGroupIdForAudioAttributesInt() local
342 if (volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in getVolumeGroupIdForAudioAttributesInt()
343 return volumeGroupId; in getVolumeGroupIdForAudioAttributesInt()
446 AudioAttributesGroup(int volumeGroupId, int streamType, in AudioAttributesGroup() argument
448 mVolumeGroupId = volumeGroupId; in AudioAttributesGroup()
517 int volumeGroupId = in.readInt();
524 return new AudioAttributesGroup(volumeGroupId, streamType, aa);
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioManagerTest.java57 int volumeGroupId = in testGetAndValidateProductStrategies() local
62 volumeGroupId, AudioVolumeGroup.DEFAULT_VOLUME_GROUP); in testGetAndValidateProductStrategies()
67 if (avg.getId() == volumeGroupId) { in testGetAndValidateProductStrategies()
262 int volumeGroupId = audioVolumeGroup.getId(); in testVolumeGroupCallback() local
265 vgCbReceiver.setExpectedVolumeGroup(volumeGroupId); in testVolumeGroupCallback()
287 vgCbReceiver.setExpectedVolumeGroup(volumeGroupId); in testVolumeGroupCallback()
315 vgCbReceiver.setExpectedVolumeGroup(volumeGroupId); in testVolumeGroupCallback()
DAudioVolumeGroupChangeHandlerTest.java89 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/core/java/android/preference/
DSeekBarVolumizer.java233 int volumeGroupId = productStrategy.getVolumeGroupIdForLegacyStreamType(streamType); in getVolumeGroupIdForLegacyStreamType() local
234 if (volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in getVolumeGroupIdForLegacyStreamType()
235 return volumeGroupId; in getVolumeGroupIdForLegacyStreamType()
242 .filter(volumeGroupId -> volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) in getVolumeGroupIdForLegacyStreamType()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3767 private AudioVolumeGroup getAudioVolumeGroupById(int volumeGroupId) { in getAudioVolumeGroupById() argument
3769 if (avg.getId() == volumeGroupId) { in getAudioVolumeGroupById()
3774 Log.e(TAG, ": invalid volume group id: " + volumeGroupId + " requested"); in getAudioVolumeGroupById()