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/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.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/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp80 dstConfig->ext.mix.usecase.source = source(); in toAudioPortConfig()
DAudioOutputDescriptor.cpp185 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()
/frameworks/av/services/audioflinger/
DThreads.cpp4098 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()
8336 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()
8337 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()
8364 (int)patch->sinks[0].ext.mix.usecase.source); in createAudioPatch_l()
8412 config->ext.mix.usecase.source = mAudioSource; in toAudioPortConfig()
8930 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()
8931 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()
8959 (int)patch->sinks[0].ext.mix.usecase.source); in createAudioPatch_l()
9015 config->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()
9019 config->ext.mix.usecase.source = mAudioSource; in toAudioPortConfig()
DPatchPanel.cpp505 streamType = mAudioPatch.sources[1].ext.mix.usecase.stream; in createConnections()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3526 newPatch.sources[1].ext.mix.usecase.stream = AUDIO_STREAM_PATCH; in createAudioPatch()
5586 [inputDesc](const PatchBuilder::mix_usecase_t& usecase) { in setInputDevice() argument
5587 auto result = usecase; in setInputDevice()