Home
last modified time | relevance | path

Searched refs:failures (Results 1 – 25 of 48) sorted by relevance

12

/hardware/google/av/codec2/tests/
DC2ComponentInterface_test.cpp146 std::vector<std::unique_ptr<C2SettingResult>> *const failures);
264 T *const p, std::vector<std::unique_ptr<C2SettingResult>> *const failures) { in config() argument
266 return mIntf->config_vb(params, C2_DONT_BLOCK, failures); in config()
282 std::vector<std::unique_ptr<C2SettingResult>> failures; in configReadOnlyParam() local
285 ASSERT_EQ(C2_BAD_VALUE, mIntf->config_vb(params, C2_DONT_BLOCK, &failures)); in configReadOnlyParam()
286 ASSERT_EQ(1u, failures.size()); in configReadOnlyParam()
287 EXPECT_EQ(C2SettingResult::READ_ONLY, failures[0]->failure); in configReadOnlyParam()
295 std::vector<std::unique_ptr<C2SettingResult>> failures; in configWritableParamValidValue() local
302 c2_status_t stConfig = mIntf->config_vb(params, C2_DONT_BLOCK, &failures); in configWritableParamValidValue()
304 EXPECT_EQ(0u, failures.size()); in configWritableParamValidValue()
[all …]
DC2SampleComponent_test.cpp105 std::vector<std::unique_ptr<C2SettingResult>>* const failures) override { in config_vb() argument
107 (void)failures; in config_vb()
/hardware/google/av/codec2/hidl/1.0/utils/
DConfigurable.cpp93 hidl_vec<SettingResult> failures(c2failures.size()); in config() local
98 objcpy(&failures[ix++], *c2result); in config()
101 failures.resize(ix); in config()
105 _hidl_cb((Status)c2res, failures, outParams); in config()
DInputSurface.cpp90 std::vector<std::unique_ptr<C2SettingResult>>* const failures) override { in config() argument
91 c2_status_t err = mImpl->config(params, mayBlock, failures); in config()
Dtypes.cpp1009 dWorklet.failures.resize(sWorklet.failures.size()); in objcpy()
1012 sWorklet.failures) { in objcpy()
1017 status = objcpy(&dWorklet.failures[j++], *sFailure); in objcpy()
1379 dWorklet->failures.clear(); in objcpy()
1380 dWorklet->failures.reserve(sWorklet.failures.size()); in objcpy()
1381 for (const SettingResult& sFailure : sWorklet.failures) { in objcpy()
1388 dWorklet->failures.emplace_back(std::move(dFailure)); in objcpy()
DComponent.cpp57 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config()
60 return mIntf->config_vb(params, mayBlock, failures); in config()
543 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config()
547 (void)failures; in config()
DComponentStore.cpp73 std::vector<std::unique_ptr<C2SettingResult>> *const failures in config()
80 return mStore->config_sm(params, failures); in config()
/hardware/google/av/codec2/hidl/1.0/mts/component/
DMtsHidlC2V1_0TargetComponentTest.cpp137 std::vector<std::unique_ptr<C2SettingResult>> failures; in TEST_F() local
151 err = mComponent->config({queried[0].get()}, C2_DONT_BLOCK, &failures); in TEST_F()
153 ASSERT_EQ(failures.size(), 0u); in TEST_F()
202 std::vector<std::unique_ptr<C2SettingResult>> failures; in TEST_F() local
205 err = mComponent->config({portMediaType}, C2_DONT_BLOCK, &failures); in TEST_F()
207 ASSERT_EQ(failures.size(), 0u); in TEST_F()
/hardware/google/av/codec2/hidl/1.0/mts/common/
Dmedia_c2_hidl_test_common.cpp93 std::vector<std::unique_ptr<C2SettingResult>> failures; in workDone() local
107 component->config(configParam, C2_DONT_BLOCK, &failures); in workDone()
108 ASSERT_EQ(failures.size(), 0u); in workDone()
/hardware/google/interfaces/media/c2/1.0/
DIConfigurable.hal70 * the return value and in \p failures.
86 * These are returned in \p failures.
90 * @return failures List of parameter failures.
98 vec<SettingResult> failures,
/hardware/google/av/codec2/vndk/util/
DC2InterfaceHelper.cpp204 std::vector<std::unique_ptr<C2SettingResult>>* const failures) { in trySet() argument
206 return result.retrieveFailures(failures); in trySet()
337 std::vector<std::unique_ptr<C2SettingResult>>* const failures) { in trySet() argument
338 return mImpl->trySet(value, mayBlock, changed, f, failures); in trySet()
585 std::vector<std::unique_ptr<C2SettingResult>> failures; in addParameter() local
586 (void)param->trySet(param->value().get(), C2_MAY_BLOCK, &changed, *_mFactory, &failures); in addParameter()
592 std::vector<std::unique_ptr<C2SettingResult>>* const failures, bool updateParams, in config() argument
677 &changed, *_mFactory, failures); in config()
/hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DConfigurableC2Intf.h57 std::vector<std::unique_ptr<C2SettingResult>>* const failures) = 0;
/hardware/google/av/codec2/include/
DC2Work.h174 std::vector<std::unique_ptr<C2SettingResult>> failures; member
DC2Component.h219 std::vector<std::unique_ptr<C2SettingResult>>* const failures) = 0;
920 std::vector<std::unique_ptr<C2SettingResult>>* const failures) = 0;
/hardware/interfaces/media/c2/1.0/
DIConfigurable.hal106 * are communicated in the return value and in @p failures.
145 * These are returned in @p failures.
150 * @return failures List of update failures.
162 vec<SettingResult> failures,
/hardware/google/av/media/codecs/base/include/
DSimpleC2Interface.h56 std::vector<std::unique_ptr<C2SettingResult>>* const failures) override { in config_vb() argument
57 return mImpl->config(params, mayBlock, failures); in config_vb()
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp427 std::vector<std::unique_ptr<C2SettingResult>> failures; in finishWork() local
431 { outParam.get() }, C2_MAY_BLOCK, &failures); in finishWork()
569 std::vector<std::unique_ptr<C2SettingResult>> failures; in outputBuffer() local
570 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in outputBuffer()
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Dec.cpp574 std::vector<std::unique_ptr<C2SettingResult>> failures; in process() local
575 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
646 std::vector<std::unique_ptr<C2SettingResult>> failures; in process() local
647 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
/hardware/google/av/codec2/vndk/
DC2Store.cpp171 std::vector<std::unique_ptr<C2SettingResult>> failures; // TODO: remove in UseComponentStoreForIonAllocator() local
172 c2_status_t res = store->config_sm({&usageInfo}, &failures); in UseComponentStoreForIonAllocator()
473 std::vector<std::unique_ptr<C2SettingResult>> *const failures) override;
878 std::vector<std::unique_ptr<C2SettingResult>> *const failures) { in config_sm() argument
879 return mInterface.config(params, C2_MAY_BLOCK, failures); in config_sm()
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.cpp666 std::vector<std::unique_ptr<C2SettingResult>> failures; in getSeqInfo() local
667 (void)mIntf->config({&codedAspects}, C2_MAY_BLOCK, &failures); in getSeqInfo()
896 std::vector<std::unique_ptr<C2SettingResult>> failures; in process() local
898 mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
935 std::vector<std::unique_ptr<C2SettingResult>> failures; in process() local
937 mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
/hardware/google/av/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioEncTest.cpp225 std::vector<std::unique_ptr<C2SettingResult>> failures; in setupConfigParam() local
231 component->config(configParam, C2_DONT_BLOCK, &failures); in setupConfigParam()
232 ASSERT_EQ(failures.size(), 0u); in setupConfigParam()
/hardware/google/av/media/codecs/flac/
DC2SoftFlacDec.cpp243 std::vector<std::unique_ptr<C2SettingResult>> failures; in process() local
246 C2_MAY_BLOCK, &failures); in process()
/hardware/google/av/codec2/hidl/1.0/mts/video/
DMtsHidlC2V1_0TargetVideoEncTest.cpp232 std::vector<std::unique_ptr<C2SettingResult>> failures; in setupConfigParam() local
236 mComponent->config(configParam, C2_DONT_BLOCK, &failures); in setupConfigParam()
237 if (failures.size() == 0u ) mConfig = true; in setupConfigParam()
/hardware/google/av/codec2/hidl/client/
Dclient.cpp210 std::vector<std::unique_ptr<C2SettingResult>>* const failures) { in config() argument
221 [&status, &params, failures]( in config()
230 size_t i = failures->size(); in config()
231 failures->resize(i + f.size()); in config()
233 status = objcpy(&(*failures)[i++], sf); in config()
/hardware/google/av/media/codecs/vorbis/
DC2SoftVorbisDec.cpp303 std::vector<std::unique_ptr<C2SettingResult>> failures; in process() local
307 &failures); in process()

12