Searched refs:getContextForUsage (Results 1 – 4 of 4) sorted by relevance
243 return getContextForUsage(attributes.getSystemUsage()); in getContextForAttributes()250 static @AudioContext int getContextForUsage(@AttributeUsage int audioUsage) { in getContextForUsage() method in CarAudioContext257 uniqueContexts.add(getContextForUsage(usages[i])); in getUniqueContextsForUsages()
114 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()
224 activeContexts.add(CarAudioContext.getContextForUsage( in findActiveContextsFromPlaybackConfigurations()
59 assertThat(CarAudioContext.getContextForUsage(USAGE_MEDIA)) in getContextForUsage_forValidUsage_returnsContext()65 assertThat(CarAudioContext.getContextForUsage(INVALID_USAGE)).isEqualTo( in getContextForUsage_withInvalidUsage_returnsInvalidContext()