Searched refs:usecase (Results 1 – 10 of 10) 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()
35 AudioPortConfigMixExtUseCase usecase;
178 public RecommendedStreamConfigurationMap(StreamConfigurationMap recommendedMap, int usecase, in RecommendedStreamConfigurationMap() argument181 mUsecase = usecase; in RecommendedStreamConfigurationMap()
405 @RecommendedStreamConfigurationMap.RecommendedUsecase int usecase) { in getRecommendedStreamConfigurationMap()406 if (((usecase >= RecommendedStreamConfigurationMap.USECASE_PREVIEW) && in getRecommendedStreamConfigurationMap()407 (usecase <= RecommendedStreamConfigurationMap.USECASE_LOW_LATENCY_SNAPSHOT)) || in getRecommendedStreamConfigurationMap()408 ((usecase >= RecommendedStreamConfigurationMap.USECASE_VENDOR_START) && in getRecommendedStreamConfigurationMap()409 (usecase < RecommendedStreamConfigurationMap.MAX_USECASE_COUNT))) { in getRecommendedStreamConfigurationMap()417 return mRecommendedConfigurations.get(usecase); in getRecommendedStreamConfigurationMap()420 throw new IllegalArgumentException(String.format("Invalid use case: %d", usecase)); in getRecommendedStreamConfigurationMap()
903 using audio_port_config_mix_ext_usecase = decltype(audio_port_config_mix_ext::usecase);957 legacy.usecase = VALUE_OR_RETURN(aidl2legacy_AudioPortConfigMixExtUseCase(aidl.usecase, role)); in aidl2legacy_AudioPortConfigMixExt()966 aidl.usecase = VALUE_OR_RETURN(legacy2aidl_AudioPortConfigMixExtUseCase(legacy.usecase, role)); in legacy2aidl_AudioPortConfigMixExt()
92 dstConfig->ext.mix.usecase.source = source(); in toAudioPortConfig()
215 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()
4441 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()8794 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()8795 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()8822 (int)patch->sinks[0].ext.mix.usecase.source); in createAudioPatch_l()9022 config->ext.mix.usecase.source = mAudioSource; in toAudioPortConfig()9572 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()9573 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()9601 (int)patch->sinks[0].ext.mix.usecase.source); in createAudioPatch_l()9655 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()9659 config->ext.mix.usecase.source = mAudioSource; in toAudioPortConfig()
519 streamType = mAudioPatch.sources[1].ext.mix.usecase.stream; in createConnections()
4070 srcMixPortConfig.ext.mix.usecase.stream = sourceDesc != nullptr ? in createAudioPatchInternal()6269 [inputDesc](const PatchBuilder::mix_usecase_t& usecase) { in setInputDevice() argument6270 auto result = usecase; in setInputDevice()