Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioContext.java243 return getContextForUsage(attributes.getSystemUsage()); in getContextForAttributes()
250 static @AudioContext int getContextForUsage(@AttributeUsage int audioUsage) { in getContextForUsage() method in CarAudioContext
257 uniqueContexts.add(getContextForUsage(usages[i])); in getUniqueContextsForUsages()
DCarAudioService.java114 static final @AudioContext int DEFAULT_AUDIO_CONTEXT = CarAudioContext.getContextForUsage(
893 @AudioContext int audioContext = CarAudioContext.getContextForUsage(usage); in getVolumeGroupIdForUsage()
1099 int contextForUsage = CarAudioContext.getContextForUsage(usage); in getOutputDeviceAddressForUsage()
1295 return group.getAudioDevicePortForContext(CarAudioContext.getContextForUsage(usage)); in getAudioPort()
DCarAudioZone.java224 activeContexts.add(CarAudioContext.getContextForUsage( in findActiveContextsFromPlaybackConfigurations()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioContextTest.java59 assertThat(CarAudioContext.getContextForUsage(USAGE_MEDIA)) in getContextForUsage_forValidUsage_returnsContext()
65 assertThat(CarAudioContext.getContextForUsage(INVALID_USAGE)).isEqualTo( in getContextForUsage_withInvalidUsage_returnsInvalidContext()