Searched refs:avgAttributes (Results 1 – 4 of 4) sorted by relevance
60 AudioAttributes avgAttributes = DEFAULT_ATTRIBUTES; in storeAllVolumes() local63 avgAttributes = aa; in storeAllVolumes()67 if (avgAttributes.equals(DEFAULT_ATTRIBUTES)) { in storeAllVolumes()73 avg.getId(), mAudioManager.getVolumeIndexForAttributes(avgAttributes)); in storeAllVolumes()86 AudioAttributes avgAttributes = DEFAULT_ATTRIBUTES; in restoreAllVolumes() local89 avgAttributes = aa; in restoreAllVolumes()93 assertTrue(!avgAttributes.equals(DEFAULT_ATTRIBUTES)); in restoreAllVolumes()95 avgAttributes, e.getValue(), AudioManager.FLAG_ALLOW_RINGER_MODES); in restoreAllVolumes()
121 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testCallbackReceived() local123 if (avgAttributes.size() == 0 || avgAttributes.get(0).equals(DEFAULT_ATTRIBUTES)) { in testCallbackReceived()129 final AudioAttributes aa = avgAttributes.get(0); in testCallbackReceived()176 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testMultipleCallbackReceived() local178 if (avgAttributes.size() == 0 || avgAttributes.get(0).equals(DEFAULT_ATTRIBUTES)) { in testMultipleCallbackReceived()184 AudioAttributes aa = avgAttributes.get(0); in testMultipleCallbackReceived()
91 List<AudioAttributes> avgAttributes = avg.getAudioAttributes(); in testGetVolumeGroups() local92 assertNotNull(avgAttributes); in testGetVolumeGroups()99 for (final AudioAttributes aa : avgAttributes) { in testGetVolumeGroups()
144 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testGetAndValidateVolumeGroups() local149 for (final AudioAttributes aa : avgAttributes) { in testGetAndValidateVolumeGroups()300 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testVolumeGroupCallback() local308 for (final AudioAttributes aa : avgAttributes) { in testVolumeGroupCallback()