Home
last modified time | relevance | path

Searched refs:usecase (Results 1 – 8 of 8) 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/base/core/java/android/hardware/camera2/
DCameraCharacteristics.java402 @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()
/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/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp92 dstConfig->ext.mix.usecase.source = source(); in toAudioPortConfig()
DAudioOutputDescriptor.cpp203 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()
/frameworks/av/services/audioflinger/
DThreads.cpp4195 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()
DPatchPanel.cpp488 streamType = mAudioPatch.sources[1].ext.mix.usecase.stream; in createConnections()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3629 srcMixPortConfig.ext.mix.usecase.stream = sourceDesc != nullptr ? in createAudioPatchInternal()
5675 [inputDesc](const PatchBuilder::mix_usecase_t& usecase) { in setInputDevice() argument
5676 auto result = usecase; in setInputDevice()