Home
last modified time | relevance | path

Searched refs:avgAttributes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioVolumesTestBase.java59 AudioAttributes avgAttributes = sDefaultAttributes; in storeAllVolumes() local
62 avgAttributes = aa; in storeAllVolumes()
66 if (avgAttributes.equals(sDefaultAttributes)) { in storeAllVolumes()
72 avg.getId(), mAudioManager.getVolumeIndexForAttributes(avgAttributes)); in storeAllVolumes()
85 AudioAttributes avgAttributes = sDefaultAttributes; in restoreAllVolumes() local
88 avgAttributes = aa; in restoreAllVolumes()
92 assertTrue(!avgAttributes.equals(sDefaultAttributes)); in restoreAllVolumes()
94 avgAttributes, e.getValue(), AudioManager.FLAG_ALLOW_RINGER_MODES); in restoreAllVolumes()
DAudioVolumeGroupChangeHandlerTest.java91 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testCallbackReceived() local
93 if (avgAttributes.size() == 0 || avgAttributes.get(0).equals(sDefaultAttributes)) { in testCallbackReceived()
99 final AudioAttributes aa = avgAttributes.get(0); in testCallbackReceived()
145 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testMultipleCallbackReceived() local
147 if (avgAttributes.size() == 0 || avgAttributes.get(0).equals(sDefaultAttributes)) { in testMultipleCallbackReceived()
153 AudioAttributes aa = avgAttributes.get(0); in testMultipleCallbackReceived()
DAudioVolumeGroupTest.java61 List<AudioAttributes> avgAttributes = avg.getAudioAttributes(); in testGetVolumeGroups() local
62 assertNotNull(avgAttributes); in testGetVolumeGroups()
69 for (final AudioAttributes aa : avgAttributes) { in testGetVolumeGroups()
DAudioManagerTest.java115 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testGetAndValidateVolumeGroups() local
120 for (final AudioAttributes aa : avgAttributes) { in testGetAndValidateVolumeGroups()
267 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testVolumeGroupCallback() local
275 for (final AudioAttributes aa : avgAttributes) { in testVolumeGroupCallback()