/base/print/print_fwk/services/src/ |
D | print_cups_client.cpp | 215 …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 …]
|
D | print_service_ability.cpp | 662 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
|
D | print_service_stub.cpp | 296 int32_t ret = UpdatePrintJobState(jobId, state, subState); in OnUpdatePrintJobState()
|
/base/print/print_fwk/interfaces/kits/napi/include/ |
D | napi_print_ext.h | 36 static napi_value UpdatePrintJobState(napi_env env, napi_callback_info info);
|
/base/print/print_fwk/test/unittest/service_test/mock/ |
D | mock_print_service.h | 84 … 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/ |
D | iprint_service.h | 50 …virtual int32_t UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t subState) =…
|
D | print_service_proxy.h | 44 … int32_t UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t subState) override;
|
D | print_manager_client.h | 58 int32_t UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t subState);
|
/base/print/print_fwk/test/unittest/service_test/ |
D | print_service_ability_test.cpp | 1459 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 …]
|
D | print_service_stub_test.cpp | 661 ON_CALL(*stub, UpdatePrintJobState).WillByDefault(Return(E_PRINT_NONE));
|
/base/print/print_fwk/services/include/ |
D | print_service_ability.h | 64 … int32_t UpdatePrintJobState(const std::string &jobId, uint32_t state, uint32_t subState) override;
|
/base/print/print_fwk/frameworks/innerkitsimpl/src/ |
D | print_manager_client.cpp | 246 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()
|
D | print_service_proxy.cpp | 288 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/ |
D | napi_print_ext.cpp | 220 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()
|
D | print_module.cpp | 296 PRINT_NAPI_METHOD(FUNCTION_UPDATE_JOB_STATE, NapiPrintExt::UpdatePrintJobState), in Init()
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
D | print_manager_client_test.cpp | 1094 … 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…
|
D | print_service_proxy_test.cpp | 517 EXPECT_CALL(*service, UpdatePrintJobState(_, _, _)).Times(Exactly(1)).WillOnce( 531 proxy->UpdatePrintJobState(testJobId, testState, testSubState);
|