Home
last modified time | relevance | path

Searched refs:audioVolumeGroup (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioManagerTest.java65 AudioVolumeGroup audioVolumeGroup = null; in testGetAndValidateProductStrategies() local
68 audioVolumeGroup = avg; in testGetAndValidateProductStrategies()
72 assertNotNull("Volume Group not found", audioVolumeGroup); in testGetAndValidateProductStrategies()
77 for (final AudioAttributes aa : audioVolumeGroup.getAudioAttributes()) { in testGetAndValidateProductStrategies()
90 for (final int vgStreamType : audioVolumeGroup.getLegacyStreamTypes()) { in testGetAndValidateProductStrategies()
114 for (final AudioVolumeGroup audioVolumeGroup : audioVolumeGroups) { in testGetAndValidateVolumeGroups()
115 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testGetAndValidateVolumeGroups()
116 int[] avgStreamTypes = audioVolumeGroup.getLegacyStreamTypes(); in testGetAndValidateVolumeGroups()
132 assertEquals("Volume Group ID (" + audioVolumeGroup.toString() in testGetAndValidateVolumeGroups()
136 audioVolumeGroup.getId(), groupId); in testGetAndValidateVolumeGroups()
[all …]
DAudioVolumeGroupTest.java38 List<AudioVolumeGroup> audioVolumeGroup = AudioVolumeGroup.getAudioVolumeGroups(); in testGetVolumeGroupsFromNonServiceCaller() local
40 assertNotNull(audioVolumeGroup); in testGetVolumeGroupsFromNonServiceCaller()
41 assertEquals(audioVolumeGroup.size(), 0); in testGetVolumeGroupsFromNonServiceCaller()
49 final List<AudioVolumeGroup> audioVolumeGroup = mAudioManager.getAudioVolumeGroups(); in testGetVolumeGroups() local
50 assertNotNull(audioVolumeGroup); in testGetVolumeGroups()
51 assertTrue(audioVolumeGroup.size() > 0); in testGetVolumeGroups()
57 for (final AudioVolumeGroup avg : audioVolumeGroup) { in testGetVolumeGroups()
DAudioVolumeGroupChangeHandlerTest.java88 for (final AudioVolumeGroup audioVolumeGroup : audioVolumeGroups) { in testCallbackReceived()
89 int volumeGroupId = audioVolumeGroup.getId(); in testCallbackReceived()
91 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testCallbackReceived()
142 for (final AudioVolumeGroup audioVolumeGroup : audioVolumeGroups) { in testMultipleCallbackReceived()
143 int volumeGroupId = audioVolumeGroup.getId(); in testMultipleCallbackReceived()
145 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testMultipleCallbackReceived()