Home
last modified time | relevance | path

Searched refs:C2_DONT_BLOCK (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp173 err = mComponent->query({}, {p->index()}, C2_DONT_BLOCK, &queried); in TEST_F()
176 err = mComponent->config({queried[0].get()}, C2_DONT_BLOCK, &failures); in TEST_F()
213 C2_DONT_BLOCK, &queried); in TEST_F()
220 err = mComponent->config({portMediaType}, C2_DONT_BLOCK, &failures); in TEST_F()
299 err = mComponent->query({}, {p->index()}, C2_DONT_BLOCK, &queried); in TEST_F()
308 err = mComponent->config({queried[0].get()}, C2_DONT_BLOCK, &failures); in TEST_F()
/frameworks/av/media/codec2/hidl/1.0/utils/
DConfigurable.cpp69 mayBlock ? C2_MAY_BLOCK : C2_DONT_BLOCK, in query()
98 mayBlock ? C2_MAY_BLOCK : C2_DONT_BLOCK, in config()
172 mayBlock ? C2_MAY_BLOCK : C2_DONT_BLOCK); in querySupportedValues()
DComponentStore.cpp64 if (mayBlock == C2_DONT_BLOCK && params.size() != 0) { in config()
76 if (mayBlock == C2_DONT_BLOCK && indices.size() != 0) { in query()
93 if (mayBlock == C2_DONT_BLOCK && fields.size() != 0) { in querySupportedValues()
DComponent.cpp469 c2_status_t res = mComponent->setListener_vb(c2listener, C2_DONT_BLOCK); in initListener()
/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp201 return mIntf->query_vb(stackParams, {}, C2_DONT_BLOCK, nullptr); in queryOnStack()
211 return mIntf->query_vb({}, {index}, C2_DONT_BLOCK, heapParams); in queryOnHeap()
266 return mIntf->config_vb(params, C2_DONT_BLOCK, failures); in config()
285 ASSERT_EQ(C2_BAD_VALUE, mIntf->config_vb(params, C2_DONT_BLOCK, &failures)); in configReadOnlyParam()
302 c2_status_t stConfig = mIntf->config_vb(params, C2_DONT_BLOCK, &failures); in configWritableParamValidValue()
321 ASSERT_EQ(C2_BAD_VALUE, mIntf->config_vb(params, C2_DONT_BLOCK, &failures)); in configWritableParamInvalidValue()
589 mIntf->querySupportedValues_vb(validValueInfos, C2_DONT_BLOCK)); \
DC2SampleComponent_test.cpp410 EXPECT_EQ(C2_OK, comp->querySupportedValues_vb(query, C2_DONT_BLOCK)); in TEST_F()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp77 int32_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in createCodec2Component()
95 C2_DONT_BLOCK, &inParams); in getInputMaxBufSize()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp88 c2_status_t err = intf->querySupportedValues(profileQuery, C2_DONT_BLOCK); in addSupportedProfileLevels()
126 err = intf->config({&pl}, C2_DONT_BLOCK, &failures); in addSupportedProfileLevels()
131 err = intf->querySupportedValues(levelQuery, C2_DONT_BLOCK); in addSupportedProfileLevels()
DCCodecConfig.h325 c2_blocking_t blocking = C2_DONT_BLOCK);
DCCodecBufferChannel.cpp790 C2_DONT_BLOCK, in start()
842 C2_DONT_BLOCK, in start()
980 C2_DONT_BLOCK, in start()
1008 C2_DONT_BLOCK, in start()
1140 c2_status_t err = mComponent->query({ &oStreamFormat }, {}, C2_DONT_BLOCK, nullptr); in requestInitialInputBuffers()
DCCodec.cpp873 comp, sdkParams, Config::IS_CONFIG, C2_DONT_BLOCK, &configUpdate); in configure()
893 err = config->setParameters(comp, configUpdate, C2_DONT_BLOCK); in configure()
909 C2_DONT_BLOCK, in configure()
DCCodecConfig.cpp186 {}, { PORT::PARAM_TYPE, STREAM::PARAM_TYPE }, C2_DONT_BLOCK, &queried); in QueryMediaTypeImpl()
842 c2_status_t c2err = component->query({ &domain, &kind }, {}, C2_DONT_BLOCK, &queried); in initialize()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp179 {}, {C2StreamMaxBufferSizeInfo::input::PARAM_TYPE}, C2_DONT_BLOCK, in getInputMaxBufSize()
215 C2_DONT_BLOCK, &queried); in validateComponent()
247 component->config(configParam, C2_DONT_BLOCK, &failures); in setupConfigParam()
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp245 C2_DONT_BLOCK, &queried); in validateComponent()
277 component->config(configParam, C2_DONT_BLOCK, &failures); in setupConfigParam()
295 component->query({}, indices, C2_DONT_BLOCK, &inParams); in getInputChannelInfo()
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp219 (void)component->setListener_vb(mListener, C2_DONT_BLOCK); in play()
223 (void)component->intf()->config_vb({pools.get()}, C2_DONT_BLOCK, &result); in play()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp107 component->config(configParam, C2_DONT_BLOCK, &failures); in workDone()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp60 int32_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in createCodec2Component()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp244 C2_DONT_BLOCK, &queried); in validateComponent()
272 mComponent->config(configParam, C2_DONT_BLOCK, &failures); in setupConfigParam()
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp252 C2_DONT_BLOCK, &queried); in validateComponent()
/frameworks/av/media/codec2/core/include/
DC2.h132 C2_DONT_BLOCK = false, enumerator
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp472 C2_DONT_BLOCK, in processQueue()