Home
last modified time | relevance | path

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

/base/print/print_fwk/services/src/
Dprint_cups_client.cpp215 …PrintServiceAbility::GetInstance()->UpdatePrintJobState(jobParams->serviceJobId, PRINT_JOB_BLOCKED, in AddCupsPrintJob()
347 …PrintServiceAbility::GetInstance()->UpdatePrintJobState(jobParams->serviceJobId, PRINT_JOB_BLOCKED, in StartCupsJob()
368 …PrintServiceAbility::GetInstance()->UpdatePrintJobState(jobParams->serviceJobId, PRINT_JOB_BLOCKED, in StartCupsJob()
441 param->serviceAbility->UpdatePrintJobState(param->serviceJobId, PRINT_JOB_BLOCKED, in JobStatusCallback()
447 param->serviceAbility->UpdatePrintJobState(param->serviceJobId, PRINT_JOB_COMPLETED, in JobStatusCallback()
454 param->serviceAbility->UpdatePrintJobState(param->serviceJobId, PRINT_JOB_RUNNING, in JobStatusCallback()
460 param->serviceAbility->UpdatePrintJobState(param->serviceJobId, PRINT_JOB_COMPLETED, in JobStatusCallback()
463 param->serviceAbility->UpdatePrintJobState(param->serviceJobId, PRINT_JOB_QUEUED, in JobStatusCallback()
473 param->serviceAbility->UpdatePrintJobState(param->serviceJobId, PRINT_JOB_BLOCKED, in ReportBlockedReason()
476 param->serviceAbility->UpdatePrintJobState(param->serviceJobId, PRINT_JOB_BLOCKED, in ReportBlockedReason()
[all …]
Dprint_service_ability.cpp662 UpdatePrintJobState(jobId, PRINT_JOB_QUEUED, PRINT_JOB_BLOCKED_UNKNOWN); in StartPrintJob()
695 UpdatePrintJobState(jobId, PRINT_JOB_COMPLETED, PRINT_JOB_COMPLETED_CANCELLED); in CancelPrintJob()
727 UpdatePrintJobState(jobId, PRINT_JOB_COMPLETED, PRINT_JOB_COMPLETED_CANCELLED); in CancelPrintJob()
766 UpdatePrintJobState(jobId, PRINT_JOB_QUEUED, PRINT_JOB_BLOCKED_UNKNOWN); in SendQueuePrintJob()
908 int32_t PrintServiceAbility::UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t… in UpdatePrintJobState() function in OHOS::Print::PrintServiceAbility
Dprint_service_stub.cpp296 int32_t ret = UpdatePrintJobState(jobId, state, subState); in OnUpdatePrintJobState()
/base/print/print_fwk/interfaces/kits/napi/include/
Dnapi_print_ext.h36 static napi_value UpdatePrintJobState(napi_env env, napi_callback_info info);
/base/print/print_fwk/test/unittest/service_test/mock/
Dmock_print_service.h84 … int32_t UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t subState) override in UpdatePrintJobState() function
156 MOCK_METHOD3(UpdatePrintJobState, int32_t(const std::string&, uint32_t, uint32_t));
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Diprint_service.h50 …virtual int32_t UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t subState) =…
Dprint_service_proxy.h44 … int32_t UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t subState) override;
Dprint_manager_client.h58 int32_t UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t subState);
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_ability_test.cpp1459 EXPECT_EQ(service->UpdatePrintJobState(GetDefaultJobId(),
1550 EXPECT_EQ(service->UpdatePrintJobState(jobId, state, subState), E_PRINT_NO_PERMISSION);
1568 EXPECT_EQ(service->UpdatePrintJobState(jobId, state, subState), E_PRINT_INVALID_PARAMETER);
1586 EXPECT_EQ(service->UpdatePrintJobState(jobId, state, subState), E_PRINT_INVALID_PARAMETER);
1604 EXPECT_EQ(service->UpdatePrintJobState(jobId, state, subState), E_PRINT_INVALID_PARAMETER);
1622 EXPECT_EQ(service->UpdatePrintJobState(jobId, state, subState), E_PRINT_INVALID_PARAMETER);
1640 EXPECT_EQ(service->UpdatePrintJobState(jobId, state, subState), E_PRINT_INVALID_PRINTJOB);
1657 EXPECT_EQ(service->UpdatePrintJobState(jobId, state, subState), E_PRINT_NONE);
1674 EXPECT_EQ(service->UpdatePrintJobState(jobId, state, subState), E_PRINT_NONE);
1700 EXPECT_EQ(service->UpdatePrintJobState(jobId, state, subState), E_PRINT_NONE);
[all …]
Dprint_service_stub_test.cpp661 ON_CALL(*stub, UpdatePrintJobState).WillByDefault(Return(E_PRINT_NONE));
/base/print/print_fwk/services/include/
Dprint_service_ability.h64 … int32_t UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t subState) override;
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_manager_client.cpp246 int32_t PrintManagerClient::UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t … in UpdatePrintJobState() function in OHOS::Print::PrintManagerClient
251 ret = printServiceProxy_->UpdatePrintJobState(jobId, state, subState); in UpdatePrintJobState()
Dprint_service_proxy.cpp288 int32_t PrintServiceProxy::UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t s… in UpdatePrintJobState() function in OHOS::Print::PrintServiceProxy
/base/print/print_fwk/interfaces/kits/napi/src/
Dnapi_print_ext.cpp220 napi_value NapiPrintExt::UpdatePrintJobState(napi_env env, napi_callback_info info) in UpdatePrintJobState() function in OHOS::Print::NapiPrintExt
262 int32_t ret = PrintManagerClient::GetInstance()->UpdatePrintJobState(context->printJobId, in UpdatePrintJobState()
Dprint_module.cpp296 PRINT_NAPI_METHOD(FUNCTION_UPDATE_JOB_STATE, NapiPrintExt::UpdatePrintJobState), in Init()
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_manager_client_test.cpp1094 … int32_t ret = PrintManagerClient::GetInstance()->UpdatePrintJobState(printerId, state, subState);
1111 … int32_t ret = PrintManagerClient::GetInstance()->UpdatePrintJobState(printerId, state, subState);
1128 … int32_t ret = PrintManagerClient::GetInstance()->UpdatePrintJobState(printerId, state, subState);
1145 EXPECT_CALL(*service, UpdatePrintJobState(_, _, _)).Times(1);
1146 ON_CALL(*service, UpdatePrintJobState).WillByDefault(
1158 …int32_t ret = PrintManagerClient::GetInstance()->UpdatePrintJobState(testPrinterId, testState, tes…
Dprint_service_proxy_test.cpp517 EXPECT_CALL(*service, UpdatePrintJobState(_, _, _)).Times(Exactly(1)).WillOnce(
531 proxy->UpdatePrintJobState(testJobId, testState, testSubState);