Searched refs:usecase (Results 1 – 12 of 12) 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()
39 android.media.audio.common.AudioPortMixExtUseCase usecase;
32 AudioPortMixExtUseCase usecase;
191 public RecommendedStreamConfigurationMap(StreamConfigurationMap recommendedMap, int usecase, in RecommendedStreamConfigurationMap() argument194 mUsecase = usecase; in RecommendedStreamConfigurationMap()
462 @RecommendedStreamConfigurationMap.RecommendedUsecase int usecase) { in getRecommendedStreamConfigurationMap()463 if (((usecase >= RecommendedStreamConfigurationMap.USECASE_PREVIEW) && in getRecommendedStreamConfigurationMap()464 (usecase <= RecommendedStreamConfigurationMap.USECASE_10BIT_OUTPUT)) || in getRecommendedStreamConfigurationMap()465 ((usecase >= RecommendedStreamConfigurationMap.USECASE_VENDOR_START) && in getRecommendedStreamConfigurationMap()466 (usecase < RecommendedStreamConfigurationMap.MAX_USECASE_COUNT))) { in getRecommendedStreamConfigurationMap()474 return mRecommendedConfigurations.get(usecase); in getRecommendedStreamConfigurationMap()477 throw new IllegalArgumentException(String.format("Invalid use case: %d", usecase)); in getRecommendedStreamConfigurationMap()
319 && patch->sources[1].ext.mix.usecase.stream in createAudioPatch()529 streamType = mAudioPatch.sources[1].ext.mix.usecase.stream; in createConnections()
4715 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()9292 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()9293 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()9308 patch->sinks[0].ext.mix.usecase.source, in createAudioPatch_l()9506 config->ext.mix.usecase.source = mAudioSource; in toAudioPortConfig()10066 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()10067 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()10084 source = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()10136 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()10140 config->ext.mix.usecase.source = mAudioSource; in toAudioPortConfig()
92 dstConfig->ext.mix.usecase.source = source(); in toAudioPortConfig()
214 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()
1824 using audio_port_config_mix_ext_usecase = decltype(audio_port_config_mix_ext::usecase);1880 legacy.usecase = VALUE_OR_RETURN(aidl2legacy_AudioPortMixExtUseCase(aidl.usecase, role)); in aidl2legacy_AudioPortMixExt()1890 aidl->usecase = VALUE_OR_RETURN_STATUS( in legacy2aidl_AudioPortMixExt()1891 legacy2aidl_AudioPortMixExtUseCase(legacy.usecase, role)); in legacy2aidl_AudioPortMixExt()
4623 srcMixPortConfig.ext.mix.usecase.stream = in createAudioPatchInternal()7085 [inputDesc](const PatchBuilder::mix_usecase_t& usecase) { in setInputDevice() argument7086 auto result = usecase; in setInputDevice()