Home
last modified time | relevance | path

Searched refs:jobState (Results 1 – 5 of 5) sorted by relevance

/base/print/print_fwk/frameworks/helper/src/
Dprint_job_helper.cpp121 uint32_t jobState = NapiPrintUtils::GetUint32Property(env, jsValue, PARAM_JOB_JOBSTATE); in BuildFromJs() local
130 nativeObj->SetJobState(jobState); in BuildFromJs()
138 BuildJsWorkerIsLegal(env, jsValue, jobId, jobState, subState, nativeObj); in BuildFromJs()
144 uint32_t jobState, uint32_t subState, std::shared_ptr<PrintJob> &nativeObj) in BuildJsWorkerIsLegal() argument
151 if (jobState >= PRINT_JOB_UNKNOWN || subState > PRINT_JOB_BLOCKED_UNKNOWN) { in BuildJsWorkerIsLegal()
152 PRINT_HILOGE("Invalid job state[%{public}d] or sub state [%{public}d]", jobState, subState); in BuildJsWorkerIsLegal()
/base/print/print_fwk/frameworks/helper/include/
Dprint_job_helper.h28 uint32_t jobState, uint32_t subState, std::shared_ptr<PrintJob> &nativeObj);
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_job.cpp101 void PrintJob::SetJobState(uint32_t jobState) in SetJobState() argument
103 if (jobState < PRINT_JOB_UNKNOWN) { in SetJobState()
104 jobState_ = jobState; in SetJobState()
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Dprint_job.h47 void SetJobState(uint32_t jobState);
/base/print/print_fwk/interfaces/kits/jskits/
D@ohos.print.d.ts132 jobState: PrintJobState; // current print job state property