Searched refs:avgAttributes (Results 1 – 4 of 4) sorted by relevance
59 AudioAttributes avgAttributes = sDefaultAttributes; in storeAllVolumes() local62 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() local88 avgAttributes = aa; in restoreAllVolumes()92 assertTrue(!avgAttributes.equals(sDefaultAttributes)); in restoreAllVolumes()94 avgAttributes, e.getValue(), AudioManager.FLAG_ALLOW_RINGER_MODES); in restoreAllVolumes()
91 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testCallbackReceived() local93 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() local147 if (avgAttributes.size() == 0 || avgAttributes.get(0).equals(sDefaultAttributes)) { in testMultipleCallbackReceived()153 AudioAttributes aa = avgAttributes.get(0); in testMultipleCallbackReceived()
61 List<AudioAttributes> avgAttributes = avg.getAudioAttributes(); in testGetVolumeGroups() local62 assertNotNull(avgAttributes); in testGetVolumeGroups()69 for (final AudioAttributes aa : avgAttributes) { in testGetVolumeGroups()
115 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testGetAndValidateVolumeGroups() local120 for (final AudioAttributes aa : avgAttributes) { in testGetAndValidateVolumeGroups()267 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testVolumeGroupCallback() local275 for (final AudioAttributes aa : avgAttributes) { in testVolumeGroupCallback()