Home
last modified time | relevance | path

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

/base/print/print_fwk/test/unittest/service_test/
Dprint_service_ability_test.cpp1141 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NO_PERMISSION);
1157 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE);
1174 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE);
1191 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE);
1193 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE);
1241 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE);
1292 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE);
1358 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE);
1409 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE);
1431 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE);
[all …]
Dprint_service_stub_test.cpp424 ON_CALL(*stub, AddPrinters).WillByDefault(Return(E_PRINT_NONE));
447 ON_CALL(*stub, AddPrinters).WillByDefault(Return(E_PRINT_NONE));
478 ON_CALL(*stub, AddPrinters).WillByDefault(Return(E_PRINT_NONE));
/base/print/print_fwk/interfaces/kits/napi/include/
Dnapi_print_ext.h32 static napi_value AddPrinters(napi_env env, napi_callback_info info);
/base/print/print_fwk/test/unittest/service_test/mock/
Dmock_print_service.h68 int32_t AddPrinters(const std::vector<PrinterInfo> &printerInfos) override in AddPrinters() function
152 MOCK_METHOD1(AddPrinters, int32_t(const std::vector<PrinterInfo>&));
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Diprint_service.h46 virtual int32_t AddPrinters(const std::vector<PrinterInfo> &printerInfos) = 0;
Dprint_service_proxy.h40 int32_t AddPrinters(const std::vector<PrinterInfo> &printerInfos) override;
Dprint_manager_client.h50 int32_t AddPrinters(const std::vector<PrinterInfo> &printerInfos);
/base/print/print_fwk/services/include/
Dprint_service_ability.h60 int32_t AddPrinters(const std::vector<PrinterInfo> &printerInfos) override;
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_manager_client.cpp202 int32_t PrintManagerClient::AddPrinters(const std::vector<PrinterInfo> &printerInfos) in AddPrinters() function in OHOS::Print::PrintManagerClient
207 ret = printServiceProxy_->AddPrinters(printerInfos); in AddPrinters()
Dprint_service_proxy.cpp226 int32_t PrintServiceProxy::AddPrinters(const std::vector<PrinterInfo> &printerInfos) in AddPrinters() function in OHOS::Print::PrintServiceProxy
/base/print/print_fwk/interfaces/kits/napi/src/
Dnapi_print_ext.cpp25 napi_value NapiPrintExt::AddPrinters(napi_env env, napi_callback_info info) in AddPrinters() function in OHOS::Print::NapiPrintExt
64 int32_t ret = PrintManagerClient::GetInstance()->AddPrinters(context->printerInfos); in AddPrinters()
Dprint_module.cpp292 PRINT_NAPI_METHOD(FUNCTION_ADD_PRINTER, NapiPrintExt::AddPrinters), in Init()
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_manager_client_test.cpp470 int32_t ret = PrintManagerClient::GetInstance()->AddPrinters(printerInfos);
485 int32_t ret = PrintManagerClient::GetInstance()->AddPrinters(printerInfos);
500 int32_t ret = PrintManagerClient::GetInstance()->AddPrinters(printerInfos);
528 EXPECT_CALL(*service, AddPrinters(_)).Times(1);
529 ON_CALL(*service, AddPrinters).WillByDefault(
541 int32_t ret = PrintManagerClient::GetInstance()->AddPrinters(testPrinterInfos);
Dprint_service_proxy_test.cpp385 EXPECT_CALL(*service, AddPrinters(_)).Times(Exactly(1)).WillOnce(
399 proxy->AddPrinters(testPrinterInfos);
/base/print/print_fwk/services/src/
Dprint_service_stub.cpp227 ret = AddPrinters(printerInfos); in OnAddPrinters()
Dprint_service_ability.cpp776 int32_t PrintServiceAbility::AddPrinters(const std::vector<PrinterInfo> &printerInfos) in AddPrinters() function in OHOS::Print::PrintServiceAbility