Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp190 err = mComponent->query({}, {p->index()}, C2_DONT_BLOCK, &queried); in TEST_P()
193 err = mComponent->config({queried[0].get()}, C2_DONT_BLOCK, &failures); in TEST_P()
229 err = mComponent->query({}, {C2PortMediaTypeSetting::input::PARAM_TYPE}, C2_DONT_BLOCK, in TEST_P()
237 err = mComponent->config({portMediaType}, C2_DONT_BLOCK, &failures); in TEST_P()
282 err = mComponent->query({}, {p->index()}, C2_DONT_BLOCK, &queried); in TEST_P()
291 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.cpp72 if (mayBlock == C2_DONT_BLOCK && params.size() != 0) { in config()
84 if (mayBlock == C2_DONT_BLOCK && indices.size() != 0) { in query()
101 if (mayBlock == C2_DONT_BLOCK && fields.size() != 0) { in querySupportedValues()
DComponent.cpp481 c2_status_t res = mComponent->setListener_vb(c2listener, C2_DONT_BLOCK); in initListener()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp77 C2_DONT_BLOCK, &queried); in SetUp()
175 C2_DONT_BLOCK, &inParams); in getInputMaxBufSize()
208 C2_DONT_BLOCK, &queried); in validateComponent()
230 c2_status_t status = component->config(configParam, C2_DONT_BLOCK, &failures); in setupConfigParam()
241 c2_status_t c2err = mComponent->querySupportedValues(validValueInfos, C2_DONT_BLOCK); in getChannelCount()
279 C2_DONT_BLOCK, &queried); in getSampleRate()
290 C2_DONT_BLOCK, &queried); in getSamplesPerFrame()
300 c2err = mComponent->query({}, {C2StreamMaxBufferSizeInfo::input::PARAM_TYPE}, C2_DONT_BLOCK, in getSamplesPerFrame()
603 C2_DONT_BLOCK, &inParams); in TEST_P()
691 C2_DONT_BLOCK, &inParams); in TEST_P()
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp104 C2_DONT_BLOCK, &queried); in SetUp()
243 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/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/codec2/sfplugin/
DCCodecConfig.h358 c2_blocking_t blocking = C2_DONT_BLOCK);
366 c2_blocking_t blocking = C2_DONT_BLOCK);
373 c2_blocking_t blocking = C2_DONT_BLOCK);
DCodec2InfoBuilder.cpp112 c2_status_t err = intf->querySupportedValues(profileQuery, C2_DONT_BLOCK); in addSupportedProfileLevels()
175 err = intf->config({&pl}, C2_DONT_BLOCK, &failures); in addSupportedProfileLevels()
180 err = intf->querySupportedValues(levelQuery, C2_DONT_BLOCK); in addSupportedProfileLevels()
267 if (intf->querySupportedValues(query, C2_DONT_BLOCK) == C2_OK) { in addSupportedColorFormats()
DCCodecBufferChannel.cpp1071 C2_DONT_BLOCK, in start()
1137 C2_DONT_BLOCK, in start()
1297 C2_DONT_BLOCK, in start()
1325 C2_DONT_BLOCK, in start()
1521 c2_status_t err = mComponent->query({ &oStreamFormat, &prepend }, {}, C2_DONT_BLOCK, nullptr); in requestInitialInputBuffers()
DCCodec.cpp1178 comp, sdkParams, Config::IS_CONFIG, C2_DONT_BLOCK, &configUpdate); in configure()
1247 err = config->setParameters(comp, configUpdate, C2_DONT_BLOCK); in configure()
1273 C2_DONT_BLOCK, in configure()
1279 C2_DONT_BLOCK, in configure()
2535 c2err = comp->query({}, {C2PortTunnelHandleTuning::output::PARAM_TYPE}, C2_DONT_BLOCK, &params); in configureTunneledVideoPlayback()
DC2OMXNode.cpp254 {&inputDelay, &pipelineDelay}, {}, C2_DONT_BLOCK, nullptr); in getParameter()
/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/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp78 C2_DONT_BLOCK, &queried); in SetUp()
253 C2_DONT_BLOCK, &queried); in validateComponent()
285 status = mComponent->config({param.get()}, C2_DONT_BLOCK, &failures); in setupConfigParam()
342 component->query({&compUsage}, {}, C2_DONT_BLOCK, &params); in encodeNFrames()
528 C2_DONT_BLOCK, &inParams); in TEST_P()
855 c2_status_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in TEST_P()
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp127 C2_DONT_BLOCK, &queried); in SetUp()
370 C2_DONT_BLOCK, &queried); in validateComponent()
572 c2_status_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in configPixelFormat()
/frameworks/av/media/codec2/hidl/1.1/utils/
DComponentStore.cpp72 if (mayBlock == C2_DONT_BLOCK && params.size() != 0) { in config()
84 if (mayBlock == C2_DONT_BLOCK && indices.size() != 0) { in query()
101 if (mayBlock == C2_DONT_BLOCK && fields.size() != 0) { in querySupportedValues()
DComponent.cpp488 c2_status_t res = mComponent->setListener_vb(c2listener, C2_DONT_BLOCK); in initListener()
/frameworks/av/media/codec2/hidl/1.2/utils/
DComponentStore.cpp72 if (mayBlock == C2_DONT_BLOCK && params.size() != 0) { in config()
84 if (mayBlock == C2_DONT_BLOCK && indices.size() != 0) { in query()
101 if (mayBlock == C2_DONT_BLOCK && fields.size() != 0) { in querySupportedValues()
DComponent.cpp519 c2_status_t res = mComponent->setListener_vb(c2listener, C2_DONT_BLOCK); in initListener()
/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/fuzzer/
DC2Fuzzer.cpp215 status = mComponent->setListener_vb(mListener, C2_DONT_BLOCK); in initDecoder()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp146 component->config(configParam, C2_DONT_BLOCK, &failures); in workDone()
/frameworks/av/media/codec2/core/include/
DC2.h132 C2_DONT_BLOCK = false, enumerator

12