Home
last modified time | relevance | path

Searched refs:ScanErrorCode (Results 1 - 7 of 7) sorted by relevance

/base/print/print_fwk/utils/include/
H A Dscan_util.h32 static ScanErrorCode ConvertErro(const SANE_Status status);
36 inline ScanErrorCode ScanUtil::ConvertErro(const SANE_Status status) in ConvertErro()
38 return static_cast<ScanErrorCode> (status + E_SCAN_GOOD); in ConvertErro()
H A Dscan_constant.h102 enum ScanErrorCode { enum
/base/print/print_fwk/frameworks/helper/scan_helper/include/
H A Dscan_progress.h39 void SetTaskCode(ScanErrorCode taskCode);
47 [[nodiscard]] ScanErrorCode GetTaskCode() const;
60 ScanErrorCode taskCode;
/base/print/print_fwk/test/unittest/service_test/
H A Dscan_service_ability_test.cpp48 std::set<ScanErrorCode> allStatus;
410 EXPECT_TRUE(ScanErrorCode.count(status)) in HWTEST_F()
424 EXPECT_TRUE(ScanErrorCode.count(status)) in HWTEST_F()
438 EXPECT_TRUE(ScanErrorCode.count(status)) in HWTEST_F()
451 EXPECT_TRUE(ScanErrorCode.count(status)) in HWTEST_F()
/base/print/print_fwk/frameworks/helper/scan_helper/src/
H A Dscan_progress.cpp77 void ScanProgress::SetTaskCode(ScanErrorCode taskCode) in SetTaskCode()
107 ScanErrorCode ScanProgress::GetTaskCode() const in GetTaskCode()
/base/print/print_fwk/test/fuzztest/scanhelper_fuzzer/
H A Dscanhelper_fuzzer.cpp319 scanProg.SetTaskCode(static_cast<ScanErrorCode>(taskCode)); in TestSetTaskCode()
327 scanProg.SetTaskCode(static_cast<ScanErrorCode>(taskCode)); in TestScanProgress()
/base/print/print_fwk/services/scan_service/src/
H A Dscan_service_ability.cpp1849 ScanErrorCode taskCode = ScanUtil::ConvertErro(saneStatus); in GetPicFrame()

Completed in 8 milliseconds