Searched refs:activeAttributes (Results 1 – 4 of 4) sorted by relevance
149 List<AudioAttributes> activeAttributes = in getAllActiveContextsForPrimaryZone_withNoOnPlaybackConfigChanged_returnsEmptyList() local152 assertThat(activeAttributes).isEmpty(); in getAllActiveContextsForPrimaryZone_withNoOnPlaybackConfigChanged_returnsEmptyList()170 List<AudioAttributes> activeAttributes = in getAllActiveContextsForPrimaryZone_withOneMatchingConfiguration_returnsActiveContext() local173 assertThat(activeAttributes).containsExactly(TEST_MEDIA_AUDIO_ATTRIBUTE); in getAllActiveContextsForPrimaryZone_withOneMatchingConfiguration_returnsActiveContext()188 List<AudioAttributes> activeAttributes = in getAllActiveContextsForPrimaryZone_withNullPlaybackMonitor() local192 .that(activeAttributes).containsExactly(TEST_MEDIA_AUDIO_ATTRIBUTE); in getAllActiveContextsForPrimaryZone_withNullPlaybackMonitor()214 List<AudioAttributes> activeAttributes = in getAllActiveContextsForPrimaryZone_withMultipleConfiguration_returnsActiveContexts() local217 assertThat(activeAttributes) in getAllActiveContextsForPrimaryZone_withMultipleConfiguration_returnsActiveContexts()242 List<AudioAttributes> activeAttributes = in getAllActiveContextsForPrimaryZone_withInactiveConfigurations_returnsActiveContext() local245 assertThat(activeAttributes).containsExactly(TEST_MEDIA_AUDIO_ATTRIBUTE); in getAllActiveContextsForPrimaryZone_withInactiveConfigurations_returnsActiveContext()[all …]
526 List<AudioAttributes> activeAttributes = mTestAudioZone in findActiveAudioAttributesFromPlaybackConfigurations_returnsAllActiveAttributes() local529 expectWithMessage("Active playback audio attributes").that(activeAttributes) in findActiveAudioAttributesFromPlaybackConfigurations_returnsAllActiveAttributes()547 List<AudioAttributes> activeAttributes = mTestAudioZone in findActiveAudioAttributesFromPlaybackConfigurations_returnsNoMatchingAttributes() local551 .that(activeAttributes).isEmpty(); in findActiveAudioAttributesFromPlaybackConfigurations_returnsNoMatchingAttributes()574 List<AudioAttributes> activeAttributes = mTestAudioZone in findActiveAudioAttributesFromPlaybackConfigurations_withMultipleZoneConfigs() local578 .that(activeAttributes).containsExactly(TEST_NAVIGATION_ATTRIBUTE); in findActiveAudioAttributesFromPlaybackConfigurations_withMultipleZoneConfigs()586 List<AudioAttributes> activeAttributes = mTestAudioZone in findActiveAudioAttributesFromPlaybackConfigurations_onEmptyConfigurations_retEmpty() local590 .that(activeAttributes).isEmpty(); in findActiveAudioAttributesFromPlaybackConfigurations_onEmptyConfigurations_retEmpty()
206 ArraySet<AudioAttributes> activeAttributes = in getSuggestedAudioContextAndSaveIfFound() local209 @AudioContext int context = findActiveContextWithHighestPriority(activeAttributes, in getSuggestedAudioContextAndSaveIfFound()218 ArraySet<AudioAttributes> activeAttributes, SparseIntArray contextPriorities, in findActiveContextWithHighestPriority() argument227 for (int index = 0; index < activeAttributes.size(); index++) { in findActiveContextWithHighestPriority()229 activeAttributes.valueAt(index)); in findActiveContextWithHighestPriority()279 ArraySet<AudioAttributes> activeAttributes = getActiveAttributes(activePlaybackContext, in isAnyContextActive() local282 Set<Integer> activeContexts = new ArraySet<>(activeAttributes.size()); in isAnyContextActive()284 for (int index = 0; index < activeAttributes.size(); index++) { in isAnyContextActive()286 .getContextForAttributes(activeAttributes.valueAt(index))); in isAnyContextActive()299 List<AudioAttributes> activeAttributes, int callState, in getActiveAttributes() argument[all …]
107 List<AudioAttributes> activeAttributes = mCarAudioZone in startTimersForContextThatBecameInactiveLocked() local110 for (int index = 0; index < activeAttributes.size(); index++) { in startTimersForContextThatBecameInactiveLocked()111 mAudioAttributesStartTime.put(activeAttributes.get(index), mClock.uptimeMillis()); in startTimersForContextThatBecameInactiveLocked()180 List<AudioAttributes> activeAttributes = new ArrayList<>(); in getStillActiveContextAndRemoveExpiredContextsLocked() local187 activeAttributes.add(mAudioAttributesStartTime.keyAt(index)); in getStillActiveContextAndRemoveExpiredContextsLocked()193 return activeAttributes; in getStillActiveContextAndRemoveExpiredContextsLocked()