Searched refs:usecase (Results 1 – 8 of 8) sorted by relevance
32 using mix_usecase_t = decltype(audio_port_config_mix_ext::usecase);80 add(entity).ext.mix.usecase = usecaseUpdate; in add()85 mix_usecase_t* usecase = &add(entity).ext.mix.usecase; in add() local86 *usecase = usecaseUpdater(*usecase); in add()
402 @RecommendedStreamConfigurationMap.RecommendedUsecase int usecase) { in getRecommendedStreamConfigurationMap()403 if (((usecase >= RecommendedStreamConfigurationMap.USECASE_PREVIEW) && in getRecommendedStreamConfigurationMap()404 (usecase <= RecommendedStreamConfigurationMap.USECASE_LOW_LATENCY_SNAPSHOT)) || in getRecommendedStreamConfigurationMap()405 ((usecase >= RecommendedStreamConfigurationMap.USECASE_VENDOR_START) && in getRecommendedStreamConfigurationMap()406 (usecase < RecommendedStreamConfigurationMap.MAX_USECASE_COUNT))) { in getRecommendedStreamConfigurationMap()414 return mRecommendedConfigurations.get(usecase); in getRecommendedStreamConfigurationMap()417 throw new IllegalArgumentException(String.format("Invalid use case: %d", usecase)); in getRecommendedStreamConfigurationMap()
178 public RecommendedStreamConfigurationMap(StreamConfigurationMap recommendedMap, int usecase, in RecommendedStreamConfigurationMap() argument181 mUsecase = usecase; in RecommendedStreamConfigurationMap()
92 dstConfig->ext.mix.usecase.source = source(); in toAudioPortConfig()
203 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()
4195 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()8365 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()8366 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()8393 (int)patch->sinks[0].ext.mix.usecase.source); in createAudioPatch_l()8456 config->ext.mix.usecase.source = mAudioSource; in toAudioPortConfig()8969 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()8970 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()8998 (int)patch->sinks[0].ext.mix.usecase.source); in createAudioPatch_l()9051 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()9055 config->ext.mix.usecase.source = mAudioSource; in toAudioPortConfig()
488 streamType = mAudioPatch.sources[1].ext.mix.usecase.stream; in createConnections()
3629 srcMixPortConfig.ext.mix.usecase.stream = sourceDesc != nullptr ? in createAudioPatchInternal()5675 [inputDesc](const PatchBuilder::mix_usecase_t& usecase) { in setInputDevice() argument5676 auto result = usecase; in setInputDevice()