Home
last modified time | relevance | path

Searched refs:usecase (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libmedia/include/media/
DPatchBuilder.h32 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() local
86 *usecase = usecaseUpdater(*usecase); in add()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioPortConfigMixExt.aidl35 AudioPortConfigMixExtUseCase usecase;
/frameworks/base/core/java/android/hardware/camera2/params/
DRecommendedStreamConfigurationMap.java178 public RecommendedStreamConfigurationMap(StreamConfigurationMap recommendedMap, int usecase, in RecommendedStreamConfigurationMap() argument
181 mUsecase = usecase; in RecommendedStreamConfigurationMap()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCharacteristics.java405 @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()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp903 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()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp92 dstConfig->ext.mix.usecase.source = source(); in toAudioPortConfig()
DAudioOutputDescriptor.cpp215 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()
/frameworks/av/services/audioflinger/
DThreads.cpp4441 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()
DPatchPanel.cpp519 streamType = mAudioPatch.sources[1].ext.mix.usecase.stream; in createConnections()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4070 srcMixPortConfig.ext.mix.usecase.stream = sourceDesc != nullptr ? in createAudioPatchInternal()
6269 [inputDesc](const PatchBuilder::mix_usecase_t& usecase) { in setInputDevice() argument
6270 auto result = usecase; in setInputDevice()