Home
last modified time | relevance | path

Searched refs:job (Results 1 – 17 of 17) sorted by relevance

/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_job_test.cpp52 PrintJob job; variable
53 job.Dump();
64 PrintJob job; variable
69 job.SetPreview(attr);
71 job.SetMargin(margin);
72 job.SetOption("option");
73 job.Dump();
84 PrintJob job; variable
87 job.SetFdList(files);
88 job.GetFdList(getFiles);
[all …]
/base/print/print_fwk/frameworks/helper/src/
Dprint_job_helper.cpp41 napi_value PrintJobHelper::MakeJsObject(napi_env env, const PrintJob &job) in MakeJsObject() argument
45 if (!CreateFdList(env, jsObj, job)) { in MakeJsObject()
49 NapiPrintUtils::SetStringPropertyUtf8(env, jsObj, PARAM_JOB_JOBID, job.GetJobId()); in MakeJsObject()
50 NapiPrintUtils::SetStringPropertyUtf8(env, jsObj, PARAM_JOB_PRINTERID, job.GetPrinterId()); in MakeJsObject()
51 NapiPrintUtils::SetUint32Property(env, jsObj, PARAM_JOB_JOBSTATE, job.GetJobState()); in MakeJsObject()
52 NapiPrintUtils::SetUint32Property(env, jsObj, PARAM_JOB_SUBSTATE, job.GetSubState()); in MakeJsObject()
53 NapiPrintUtils::SetUint32Property(env, jsObj, PARAM_JOB_COPYNUMBER, job.GetCopyNumber()); in MakeJsObject()
55 if (!CreatePageRange(env, jsObj, job)) { in MakeJsObject()
60 NapiPrintUtils::SetUint32Property(env, jsObj, PARAM_JOB_ISSEQUENTIAL, job.GetIsSequential()); in MakeJsObject()
62 if (!CreatePageSize(env, jsObj, job)) { in MakeJsObject()
[all …]
/base/print/print_fwk/frameworks/helper/include/
Dprint_job_helper.h25 static napi_value MakeJsObject(napi_env env, const PrintJob &job);
31 static bool CreateFdList(napi_env env, napi_value &jsPrintJob, const PrintJob &job);
32 static bool CreatePageRange(napi_env env, napi_value &jsPrintJob, const PrintJob &job);
33 static bool CreatePageSize(napi_env env, napi_value &jsPrintJob, const PrintJob &job);
34 static bool CreateMargin(napi_env env, napi_value &jsPrintJob, const PrintJob &job);
35 static bool CreatePreview(napi_env env, napi_value &jsPrintJob, const PrintJob &job);
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Dprint_extension_callback_stub.h39 bool OnCallback(const PrintJob &job) override;
52 void dataReadJob(MessageParcel &data, PrintJob &job);
Diprint_extension_callback.h30 virtual bool OnCallback(const PrintJob &job) = 0;
/base/print/print_fwk/services/src/
Dprint_extension_callback_proxy.cpp62 bool PrintExtensionCallbackProxy::OnCallback(const PrintJob &job) in OnCallback() argument
69 job.Marshalling(data); in OnCallback()
/base/print/print_fwk/services/include/
Dprint_extension_callback_proxy.h29 bool OnCallback(const PrintJob &job) override;
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_extension_callback_stub.cpp69 bool PrintExtensionCallbackStub::OnCallback(const PrintJob &job) in OnCallback() argument
72 return jobCb_(job); in OnCallback()
/base/customization/enterprise_device_management/test/unittest/src/
Dpolicy_serializer_test.cpp206 { "name", "job" },
251 { "name", "job" },
280 { "name", "job" },
/base/print/print_fwk/frameworks/kits/extension/src/
Djs_print_extension.cpp369 [](const PrintJob &job) -> bool { in RegisterPrintJobCb() argument
373 … napi_value jobObject = PrintJobHelper::MakeJsObject(reinterpret_cast<napi_env>(nativeEng), job); in RegisterPrintJobCb()
383 [](const PrintJob &job) -> bool { in RegisterPrintJobCb() argument
387 … napi_value jobObject = PrintJobHelper::MakeJsObject(reinterpret_cast<napi_env>(nativeEng), job); in RegisterPrintJobCb()
401 [](const PrintJob &job) -> bool { in RegisterPreviewCb() argument
405 … napi_value jobObject = PrintJobHelper::MakeJsObject(reinterpret_cast<napi_env>(nativeEng), job); in RegisterPreviewCb()
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_ability_test.cpp1762 PrintJob job; variable
1764 EXPECT_EQ(service->RequestPreview(job, result), E_PRINT_NO_PERMISSION);
1779 PrintJob job; variable
1780 job.SetJobId(GetDefaultJobId());
1782 EXPECT_EQ(service->RequestPreview(job, result), E_PRINT_INVALID_PRINTJOB);
1796 PrintJob job; variable
1797 job.SetJobId(GetDefaultJobId());
1799 EXPECT_EQ(service->RequestPreview(job, result), E_PRINT_INVALID_PRINTJOB);
1817 PrintJob job; variable
1818 job.SetJobId(GetDefaultJobId());
[all …]
/base/startup/init/
DREADME.md43 …presented by a job, which corresponds to a command set. The init\_lite module initializes the syst…
107 … (for example, creating a folder) required before the process startup are executed in this job.</p>
112 …hat is executed in between. Operations (for example, service startup) are executed in this job.</p>
117 …e after the driver initialization) required after the process startup are executed in this job.</p>
123 A single job can hold a maximum of 30 commands \(only **start**, **mkdir**, **chmod**, **chown*…
125 **Table 2** Commands supported by a job
/base/print/print_fwk/interfaces/kits/jskits/
D@ohos.print.d.ts367 …function on(type: 'jobStateChange', callback: (state: PrintJobState, job: PrintJob) => void): void;
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/
Dlast_kmsg210 <14>[ 4.296391] [pid=1][Init][INFO][init.c:273]boot job pre-init start.
517 <14>[ 5.276576] [pid=1][Init][INFO][init.c:278]boot job pre-init finish diff 980181 us.
518 <14>[ 5.276762] [pid=1][Init][INFO][init.c:273]boot job init start.
572 <14>[ 5.429734] [pid=1][Init][INFO][init.c:278]boot job init finish diff 152967 us.
573 <14>[ 5.429846] [pid=1][Init][INFO][init.c:273]boot job boot-service:service-1-000 start.
585 <14>[ 5.435252] [pid=1][Init][INFO][init.c:278]boot job boot-service:service-1-000 finish diff 5…
586 <14>[ 5.435441] [pid=1][Init][INFO][init.c:273]boot job boot-service:service-1-001 start.
597 <14>[ 5.441320] [pid=1][Init][INFO][init.c:278]boot job boot-service:service-1-001 finish diff 5…
598 <14>[ 5.441507] [pid=1][Init][INFO][init.c:273]boot job post-init start.
668 <14>[ 5.454371] [pid=1][Init][INFO][init.c:278]boot job post-init finish diff 12826 us.
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest004/
Dlast_kmsg210 <14>[ 4.296391] [pid=1][Init][INFO][init.c:273]boot job pre-init start.
517 <14>[ 5.276576] [pid=1][Init][INFO][init.c:278]boot job pre-init finish diff 980181 us.
518 <14>[ 5.276762] [pid=1][Init][INFO][init.c:273]boot job init start.
572 <14>[ 5.429734] [pid=1][Init][INFO][init.c:278]boot job init finish diff 152967 us.
573 <14>[ 5.429846] [pid=1][Init][INFO][init.c:273]boot job boot-service:service-1-000 start.
585 <14>[ 5.435252] [pid=1][Init][INFO][init.c:278]boot job boot-service:service-1-000 finish diff 5…
586 <14>[ 5.435441] [pid=1][Init][INFO][init.c:273]boot job boot-service:service-1-001 start.
597 <14>[ 5.441320] [pid=1][Init][INFO][init.c:278]boot job boot-service:service-1-001 finish diff 5…
598 <14>[ 5.441507] [pid=1][Init][INFO][init.c:273]boot job post-init start.
668 <14>[ 5.454371] [pid=1][Init][INFO][init.c:278]boot job post-init finish diff 12826 us.
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/
Dlast_kmsg210 <14>[ 4.296391] [pid=1][Init][INFO][init.c:273]boot job pre-init start.
517 <14>[ 5.276576] [pid=1][Init][INFO][init.c:278]boot job pre-init finish diff 980181 us.
518 <14>[ 5.276762] [pid=1][Init][INFO][init.c:273]boot job init start.
572 <14>[ 5.429734] [pid=1][Init][INFO][init.c:278]boot job init finish diff 152967 us.
573 <14>[ 5.429846] [pid=1][Init][INFO][init.c:273]boot job boot-service:service-1-000 start.
585 <14>[ 5.435252] [pid=1][Init][INFO][init.c:278]boot job boot-service:service-1-000 finish diff 5…
586 <14>[ 5.435441] [pid=1][Init][INFO][init.c:273]boot job boot-service:service-1-001 start.
597 <14>[ 5.441320] [pid=1][Init][INFO][init.c:278]boot job boot-service:service-1-001 finish diff 5…
598 <14>[ 5.441507] [pid=1][Init][INFO][init.c:273]boot job post-init start.
668 <14>[ 5.454371] [pid=1][Init][INFO][init.c:278]boot job post-init finish diff 12826 us.
[all …]
/base/update/updater/test/unittest/test_data/applypatch/
DTestGZipModeImagePatch.old.gz