Home
last modified time | relevance | path

Searched refs:C2SettingResult (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/av/media/codec2/hidl/1.0/utils/
Dtypes.cpp439 bool objcpy(SettingResult *d, const C2SettingResult &s) { in objcpy()
441 case C2SettingResult::BAD_TYPE: in objcpy()
444 case C2SettingResult::BAD_PORT: in objcpy()
447 case C2SettingResult::BAD_INDEX: in objcpy()
450 case C2SettingResult::READ_ONLY: in objcpy()
453 case C2SettingResult::MISMATCH: in objcpy()
456 case C2SettingResult::BAD_VALUE: in objcpy()
459 case C2SettingResult::CONFLICT: in objcpy()
462 case C2SettingResult::UNSUPPORTED: in objcpy()
465 case C2SettingResult::INFO_BAD_VALUE: in objcpy()
[all …]
DConfigurable.cpp95 std::vector<std::unique_ptr<C2SettingResult>> c2failures; in config()
103 for (const std::unique_ptr<C2SettingResult>& c2result : c2failures) { in config()
DComponentInterface.cpp56 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config()
DComponent.cpp67 std::vector<std::shared_ptr<C2SettingResult>> c2settingResult in onTripped_nb()
73 for (const std::shared_ptr<C2SettingResult> &c2result : in onTripped_nb()
348 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config()
DInputSurface.cpp90 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config()
DInputSurfaceConnection.cpp274 std::vector<std::unique_ptr<C2SettingResult>> *const failures
488 std::vector<std::unique_ptr<C2SettingResult>> *const failures) { in config()
/frameworks/av/media/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()
282 std::vector<std::unique_ptr<C2SettingResult>> failures; in configReadOnlyParam()
287 EXPECT_EQ(C2SettingResult::READ_ONLY, failures[0]->failure); in configReadOnlyParam()
295 std::vector<std::unique_ptr<C2SettingResult>> failures; in configWritableParamValidValue()
308 EXPECT_EQ(C2SettingResult::CONFLICT, failures[0]->failure); in configWritableParamValidValue()
318 std::vector<std::unique_ptr<C2SettingResult>> failures; in configWritableParamInvalidValue()
323 EXPECT_EQ(C2SettingResult::BAD_VALUE, failures[0]->failure); in configWritableParamInvalidValue()
547 std::vector<std::unique_ptr<C2SettingResult>> failures; in checkParamPermission()
/frameworks/av/media/codec2/core/include/
DC2Work.h38 struct C2SettingResult { struct
174 std::vector<std::unique_ptr<C2SettingResult>> failures;
DC2Component.h219 std::vector<std::unique_ptr<C2SettingResult>>* const failures) = 0;
341 std::vector<std::shared_ptr<C2SettingResult>> settingResult) = 0;
920 std::vector<std::unique_ptr<C2SettingResult>>* const failures) = 0;
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceUtils.cpp652 C2SettingResult C2SettingResultBuilder::ReadOnly(const C2ParamField &param) { in ReadOnly()
653 return C2SettingResult { C2SettingResult::READ_ONLY, { param }, { } }; in ReadOnly()
656 C2SettingResult C2SettingResultBuilder::BadValue(const C2ParamField &paramField, bool isInfo) { in BadValue()
657 return { isInfo ? C2SettingResult::INFO_BAD_VALUE : C2SettingResult::BAD_VALUE, in BadValue()
661 C2SettingResult C2SettingResultBuilder::Conflict( in Conflict()
665 return C2SettingResult { in Conflict()
666 C2SettingResult::INFO_CONFLICT, in Conflict()
670 return C2SettingResult { in Conflict()
671 C2SettingResult::CONFLICT, in Conflict()
677 C2SettingResultsBuilder::C2SettingResultsBuilder(C2SettingResult &&result) in C2SettingResultsBuilder()
[all …]
DC2InterfaceHelper.cpp204 std::vector<std::unique_ptr<C2SettingResult>>* const failures) { in trySet()
337 std::vector<std::unique_ptr<C2SettingResult>>* const failures) { in trySet()
585 std::vector<std::unique_ptr<C2SettingResult>> failures; in addParameter()
592 std::vector<std::unique_ptr<C2SettingResult>>* const failures, bool updateParams, in config()
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceUtils.h849 static C2SettingResult ReadOnly(const C2ParamField &param);
857 static C2SettingResult BadValue(const C2ParamField &paramField, bool isInfo = false);
864 static C2SettingResult Conflict(
873 C2SettingResult _mResult;
915 C2SettingResultsBuilder(C2SettingResult &&result);
921 c2_status_t retrieveFailures(std::vector<std::unique_ptr<C2SettingResult>>* const failures);
940 std::vector<std::unique_ptr<C2SettingResult>> _mResults;
DC2InterfaceHelper.h318 std::vector<std::unique_ptr<C2SettingResult>>* const failures);
667 std::vector<std::unique_ptr<C2SettingResult>>* const failures,
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp83 std::vector<std::shared_ptr<C2SettingResult>> settingResult);
125 std::vector<std::shared_ptr<C2SettingResult>> settingResult) override { in onTripped_nb()
187 std::vector<std::shared_ptr<C2SettingResult>> settingResult) { in onTripped()
222 std::vector<std::unique_ptr<C2SettingResult>> result; in play()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp162 std::vector<std::unique_ptr<C2SettingResult>> failures; in TEST_F()
217 std::vector<std::unique_ptr<C2SettingResult>> failures; in TEST_F()
295 std::vector<std::unique_ptr<C2SettingResult>> failures; in TEST_F()
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
Dtypes.h79 const C2SettingResult& s);
83 std::unique_ptr<C2SettingResult>* d,
DConfigurable.h63 std::vector<std::unique_ptr<C2SettingResult>>* const failures) = 0;
/frameworks/av/media/codec2/faultinjection/
DC2ComponentWrapper.h54 std::vector<std::shared_ptr<C2SettingResult>> settingResult) override;
DC2ComponentWrapper.cpp70 std::vector<std::shared_ptr<C2SettingResult>> settingResult) { in onTripped_nb()
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/
Dclient.h108 std::vector<std::unique_ptr<C2SettingResult>>* const failures);
266 const std::vector<std::shared_ptr<C2SettingResult>>& settingResults
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkC2Common.h72 const std::vector<std::shared_ptr<C2SettingResult>> &settingResults) override { in onTripped()
/frameworks/av/media/codec2/hidl/services/
Dvendor.cpp85 std::vector<std::unique_ptr<C2SettingResult>>* const failures) override { in config_sm()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h67 const std::vector<std::shared_ptr<C2SettingResult>>& settingResults) in onTripped()
Dmedia_c2_hidl_test_common.cpp93 std::vector<std::unique_ptr<C2SettingResult>> failures; in workDone()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp59 std::vector<std::unique_ptr<C2SettingResult>> failures; in createCodec2Component()

123