Home
last modified time | relevance | path

Searched defs:activeContexts (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioPlaybackCallbackTest.java105 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withNoOnPlaybackConfigChanged_returnsEmptyList() local
126 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withOneMatchingConfiguration_returnsActiveContext() local
151 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withMultipleConfiguration_returnsActiveContexts() local
177 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withInactiveConfigurations_returnsActiveContext() local
204 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withNoActiveConfigurations_returnsEmptyContexts() local
245 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withInactiveConfig_beforeTimeout_returnsContexts() local
287 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withInactiveConfigs_beforeTimeout_returnsContexts() local
331 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_afterResetStillActiveContexts_returnsEmptyContext() local
372 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withInactiveConfig_afterTimeout_returnsContext() local
413 List<Integer> activeContexts = in getAllActiveContextsForPrimaryZone_withInactiveConfigs_afterTimeout_returnsEmpty() local
[all …]
DCarVolumeTest.java430 @AudioContext int[] activeContexts = {VOICE_COMMAND}; in isAnyContextActive_withOneConfigurationAndMatchedContext_returnsTrue() local
440 @AudioContext int[] activeContexts = {ALARM}; in isAnyContextActive_withOneConfigurationAndMismatchedContext_returnsFalse() local
450 @AudioContext int[] activeContexts = {ALARM, MUSIC, VOICE_COMMAND}; in isAnyContextActive_withOneConfigurationAndMultipleContexts_returnsTrue() local
460 @AudioContext int[] activeContexts = {ALARM, MUSIC, VOICE_COMMAND}; in isAnyContextActive_withOneConfigurationAndMultipleContexts_returnsFalse() local
470 @AudioContext int[] activeContexts = {VOICE_COMMAND}; in isAnyContextActive_withActiveHalUsagesAndMatchedContext_returnsTrue() local
481 @AudioContext int[] activeContexts = {ALARM}; in isAnyContextActive_withActiveHalUsagesAndMismatchedContext_returnsFalse() local
492 @AudioContext int[] activeContexts = {CALL}; in isAnyContextActive_withActiveCallAndMatchedContext_returnsTrue() local
503 @AudioContext int[] activeContexts = {VOICE_COMMAND}; in isAnyContextActive_withActiveCallAndMismatchedContext_returnsFalse() local
514 @AudioContext int[] activeContexts = null; in isAnyContextActive_withNullContexts_fails() local
525 @AudioContext int[] activeContexts = {}; in isAnyContextActive_withEmptyContexts_fails() local
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZoneTest.java130 List<Integer> activeContexts = mTestAudioZone in findActiveContextsFromPlaybackConfigurations_returnsAllActiveContext() local
148 List<Integer> activeContexts = mTestAudioZone in findActiveContextsFromPlaybackConfigurations_returnsNoMatchingContexts() local
169 List<Integer> activeContexts = mTestAudioZone in findActiveContextsFromPlaybackConfigurations_withMultiDevices_returnsContexts() local
190 List<Integer> activeContexts = mTestAudioZone in findActiveContextsFromPlaybackConfigurations_deviceWithMultiContext_returnsContext() local
209 List<Integer> activeContexts = mTestAudioZone in findActiveContextsFromPlaybackConfigurations_withNonMatchingContext_returnsContext() local
230 List<Integer> activeContexts = mTestAudioZone in findActiveContextsFromPlaybackConfigurations_withMultiGroupMatch_returnsContexts() local
244 List<Integer> activeContexts = mTestAudioZone in findActiveContextsFromPlaybackConfigurations_onEmptyConfigurations_returnsNoContexts() local
/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java144 Set<Integer> activeContexts = getActiveContexts(activePlaybackContexts, callState, in getSuggestedAudioContextAndSaveIfFound() local
157 Set<Integer> activeContexts, SparseIntArray contextPriorities) { in findActiveContextWithHighestPriority()
193 Set<Integer> activeContexts = getActiveContexts(activePlaybackContext, in isAnyContextActive() local
DCarAudioPlaybackCallback.java78 List<Integer> activeContexts = getCurrentlyActiveContextsLocked(); in getAllActiveContextsForPrimaryZone() local
87 List<Integer> activeContexts = mCarPrimaryAudioZone in startTimersForContextThatBecameInactiveLocked() local
DCarAudioZone.java217 List<Integer> activeContexts = new ArrayList<>(); in findActiveContextsFromPlaybackConfigurations() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioFocusTest.java370 int[] activeContexts = mHalAudioFocus.getActiveUsagesForZone(ZONE_ID); in getActiveUsagesForZone_withEmptyStack_getsEmpty() local
381 int[] activeContexts = mHalAudioFocus.getActiveUsagesForZone(ZONE_ID); in getActiveUsagesForZone_withSingleUsage_getsUsage() local
395 int[] activeContexts = mHalAudioFocus.getActiveUsagesForZone(ZONE_ID); in getActiveUsagesForZone_withMultipleUsages_getsUsages() local