Home
last modified time | relevance | path

Searched refs:CancelPrintJob (Results 1 – 16 of 16) sorted by relevance

/base/print/print_fwk/interfaces/kits/napi/include/
Dnapi_inner_print.h39 static napi_value CancelPrintJob(napi_env env, napi_callback_info info);
/base/print/print_fwk/test/unittest/service_test/mock/
Dmock_print_service.h64 int32_t CancelPrintJob(const std::string &jobId) override in CancelPrintJob() function
151 MOCK_METHOD1(CancelPrintJob, int32_t(const std::string&));
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Diprint_service.h45 virtual int32_t CancelPrintJob(const std::string &jobId) = 0;
Dprint_service_proxy.h39 int32_t CancelPrintJob(const std::string &jobId) override;
Dprint_manager_client.h56 int32_t CancelPrintJob(const std::string &jobId);
/base/print/print_fwk/services/include/
Dprint_service_ability.h59 int32_t CancelPrintJob(const std::string &jobId) override;
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_manager_client.cpp191 int32_t PrintManagerClient::CancelPrintJob(const std::string &jobId) in CancelPrintJob() function in OHOS::Print::PrintManagerClient
196 ret = printServiceProxy_->CancelPrintJob(jobId); in CancelPrintJob()
Dprint_service_proxy.cpp212 int32_t PrintServiceProxy::CancelPrintJob(const std::string &jobId) in CancelPrintJob() function in OHOS::Print::PrintServiceProxy
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_manager_client_test.cpp941 int32_t ret = PrintManagerClient::GetInstance()->CancelPrintJob(jobId);
957 int32_t ret = PrintManagerClient::GetInstance()->CancelPrintJob(jobId);
972 int32_t ret = PrintManagerClient::GetInstance()->CancelPrintJob(jobId);
988 EXPECT_CALL(*service, CancelPrintJob(_)).Times(1);
989 ON_CALL(*service, CancelPrintJob).WillByDefault(
998 int32_t ret = PrintManagerClient::GetInstance()->CancelPrintJob(testJobId);
Dprint_service_proxy_test.cpp353 EXPECT_CALL(*service, CancelPrintJob(_)).Times(Exactly(1)).WillOnce(
364 proxy->CancelPrintJob(testJobId);
/base/print/print_fwk/interfaces/kits/napi/src/
Dnapi_inner_print.cpp232 napi_value NapiInnerPrint::CancelPrintJob(napi_env env, napi_callback_info info) in CancelPrintJob() function in OHOS::Print::NapiInnerPrint
257 int32_t ret = PrintManagerClient::GetInstance()->CancelPrintJob(context->jobId); in CancelPrintJob()
Dprint_module.cpp285 PRINT_NAPI_METHOD(FUNCTION_CANCEL_PRINT, NapiInnerPrint::CancelPrintJob), in Init()
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_ability_test.cpp1378 EXPECT_EQ(service->CancelPrintJob(GetDefaultJobId()), E_PRINT_NO_PERMISSION);
1393 EXPECT_EQ(service->CancelPrintJob(GetDefaultJobId()), E_PRINT_INVALID_PRINTJOB);
1415 EXPECT_EQ(service->CancelPrintJob(GetDefaultJobId()), E_PRINT_SERVER_FAILURE);
1437 EXPECT_EQ(service->CancelPrintJob(GetDefaultJobId()), E_PRINT_NONE);
1461 EXPECT_EQ(service->CancelPrintJob(GetDefaultJobId()), E_PRINT_NONE);
Dprint_service_stub_test.cpp400 ON_CALL(*stub, CancelPrintJob).WillByDefault(Return(E_PRINT_NONE));
/base/print/print_fwk/services/src/
Dprint_service_stub.cpp202 int32_t ret = CancelPrintJob(data.ReadString()); in OnCancelPrintJob()
Dprint_service_ability.cpp674 int32_t PrintServiceAbility::CancelPrintJob(const std::string &jobId) in CancelPrintJob() function in OHOS::Print::PrintServiceAbility