Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp182 err = mComponent->query({}, {p->index()}, C2_DONT_BLOCK, &queried); in TEST_P()
185 err = mComponent->config({queried[0].get()}, C2_DONT_BLOCK, &failures); in TEST_P()
221 err = mComponent->query({}, {C2PortMediaTypeSetting::input::PARAM_TYPE}, C2_DONT_BLOCK, in TEST_P()
229 err = mComponent->config({portMediaType}, C2_DONT_BLOCK, &failures); in TEST_P()
274 err = mComponent->query({}, {p->index()}, C2_DONT_BLOCK, &queried); in TEST_P()
283 err = mComponent->config({queried[0].get()}, C2_DONT_BLOCK, &failures); in TEST_P()
/frameworks/av/media/codec2/hidl/1.0/utils/
DConfigurable.cpp70 mayBlock ? C2_MAY_BLOCK : C2_DONT_BLOCK, in query()
99 mayBlock ? C2_MAY_BLOCK : C2_DONT_BLOCK, in config()
173 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.cpp470 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/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp180 C2_DONT_BLOCK, &inParams); in getInputMaxBufSize()
221 C2_DONT_BLOCK, &queried); in validateComponent()
250 c2_status_t status = component->config(configParam, C2_DONT_BLOCK, &failures); in setupConfigParam()
622 C2_DONT_BLOCK, &inParams); in TEST_P()
722 C2_DONT_BLOCK, &inParams); in TEST_P()
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp236 C2_DONT_BLOCK, &queried); in validateComponent()
265 c2_status_t status = component->config(configParam, C2_DONT_BLOCK, &failures); in setupConfigParam()
281 c2_status_t status = component->query({}, indices, C2_DONT_BLOCK, &inParams); in getInputChannelInfo()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp87 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.h334 c2_blocking_t blocking = C2_DONT_BLOCK);
DCCodecBufferChannel.cpp897 C2_DONT_BLOCK, in start()
943 C2_DONT_BLOCK, in start()
1090 C2_DONT_BLOCK, in start()
1118 C2_DONT_BLOCK, in start()
1259 c2_status_t err = mComponent->query({ &oStreamFormat, &prepend }, {}, C2_DONT_BLOCK, nullptr); in requestInitialInputBuffers()
DCCodec.cpp904 comp, sdkParams, Config::IS_CONFIG, C2_DONT_BLOCK, &configUpdate); in configure()
924 err = config->setParameters(comp, configUpdate, C2_DONT_BLOCK); in configure()
940 C2_DONT_BLOCK, in configure()
DCCodecConfig.cpp191 {}, { PORT::PARAM_TYPE, STREAM::PARAM_TYPE }, C2_DONT_BLOCK, &queried); in QueryMediaTypeImpl()
929 c2_status_t c2err = configurable->query({ &domain, &kind }, {}, C2_DONT_BLOCK, &queried); in initialize()
/frameworks/av/media/codec2/hidl/1.1/utils/
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.cpp477 c2_status_t res = mComponent->setListener_vb(c2listener, C2_DONT_BLOCK); in initListener()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp253 C2_DONT_BLOCK, &queried); in validateComponent()
292 status = mComponent->config({param.get()}, C2_DONT_BLOCK, &failures); in setupConfigParam()
455 C2_DONT_BLOCK, &inParams); in TEST_P()
782 c2_status_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in TEST_P()
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp343 C2_DONT_BLOCK, &queried); in validateComponent()
569 c2_status_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in configPixelFormat()
/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/tests/benchmark/src/native/decoder/
DC2Decoder.cpp62 int32_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in createCodec2Component()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp105 component->config(configParam, C2_DONT_BLOCK, &failures); in workDone()
/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()