Home
last modified time | relevance | path

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

/base/print/print_fwk/interfaces/kits/napi/include/
Dnapi_inner_print.h36 static napi_value ConnectPrinter(napi_env env, napi_callback_info info);
/base/print/print_fwk/test/unittest/service_test/mock/
Dmock_print_service.h40 int32_t ConnectPrinter(const std::string &printerId) override in ConnectPrinter() function
145 MOCK_METHOD1(ConnectPrinter, int32_t(const std::string&));
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Diprint_service.h39 virtual int32_t ConnectPrinter(const std::string &printerId) = 0;
Dprint_service_proxy.h33 int32_t ConnectPrinter(const std::string &printerId) override;
Dprint_manager_client.h53 int32_t ConnectPrinter(const std::string &printerId);
/base/print/print_fwk/services/include/
Dprint_service_ability.h53 int32_t ConnectPrinter(const std::string &printerId) override;
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_manager_client.cpp125 int32_t PrintManagerClient::ConnectPrinter(const std::string &printerId) in ConnectPrinter() function in OHOS::Print::PrintManagerClient
130 ret = printServiceProxy_->ConnectPrinter(printerId); in ConnectPrinter()
Dprint_service_proxy.cpp120 int32_t PrintServiceProxy::ConnectPrinter(const std::string &printerId) in ConnectPrinter() function in OHOS::Print::PrintServiceProxy
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_ability_test.cpp2274 service -> ConnectPrinter(GetDefaultPrinterId());
2289 service -> ConnectPrinter(GetDefaultPrinterId());
2297 service -> ConnectPrinter(GetDefaultPrinterId());
2304 service -> ConnectPrinter(GetInvalidPrinterId());
2316 service -> ConnectPrinter(GetDefaultPrinterId());
2328 service -> ConnectPrinter(GetDefaultPrinterId());
2340 service -> ConnectPrinter(GetInvalidPrinterId());
Dprint_service_stub_test.cpp237 ON_CALL(*stub, ConnectPrinter).WillByDefault(Return(E_PRINT_NONE));
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_manager_client_test.cpp720 int32_t ret = PrintManagerClient::GetInstance()->ConnectPrinter(printerId);
735 int32_t ret = PrintManagerClient::GetInstance()->ConnectPrinter(printerId);
750 int32_t ret = PrintManagerClient::GetInstance()->ConnectPrinter(printerId);
766 EXPECT_CALL(*service, ConnectPrinter(_)).Times(1);
767 ON_CALL(*service, ConnectPrinter).WillByDefault(
776 int32_t ret = PrintManagerClient::GetInstance()->ConnectPrinter(testPrinterId);
Dprint_service_proxy_test.cpp175 EXPECT_CALL(*service, ConnectPrinter(_)).Times(Exactly(1)).WillOnce(
186 proxy->ConnectPrinter(testPrintId);
/base/print/print_fwk/interfaces/kits/napi/src/
Dnapi_inner_print.cpp134 napi_value NapiInnerPrint::ConnectPrinter(napi_env env, napi_callback_info info) in ConnectPrinter() function in OHOS::Print::NapiInnerPrint
154 int32_t ret = PrintManagerClient::GetInstance()->ConnectPrinter(context->printerId); in ConnectPrinter()
Dprint_module.cpp282 PRINT_NAPI_METHOD(FUNCTION_CONNECT_PRINT, NapiInnerPrint::ConnectPrinter), in Init()
/base/print/print_fwk/services/src/
Dprint_service_stub.cpp133 int32_t ret = ConnectPrinter(data.ReadString()); in OnConnectPrinter()
Dprint_service_ability.cpp331 int32_t PrintServiceAbility::ConnectPrinter(const std::string &printerId) in ConnectPrinter() function in OHOS::Print::PrintServiceAbility