Home
last modified time | relevance | path

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

/base/print/print_fwk/interfaces/kits/napi/include/
Dnapi_print_ext.h34 static napi_value UpdatePrinters(napi_env env, napi_callback_info info);
/base/print/print_fwk/test/unittest/service_test/mock/
Dmock_print_service.h76 int32_t UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) override in UpdatePrinters() function
154 MOCK_METHOD1(UpdatePrinters, int32_t(const std::vector<PrinterInfo>&));
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Diprint_service.h48 virtual int32_t UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) = 0;
Dprint_service_proxy.h42 int32_t UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) override;
Dprint_manager_client.h52 int32_t UpdatePrinters(const std::vector<PrinterInfo> &printerInfos);
/base/print/print_fwk/services/include/
Dprint_service_ability.h62 int32_t UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) override;
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_manager_client.cpp224 int32_t PrintManagerClient::UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) in UpdatePrinters() function in OHOS::Print::PrintManagerClient
229 ret = printServiceProxy_->UpdatePrinters(printerInfos); in UpdatePrinters()
Dprint_service_proxy.cpp257 int32_t PrintServiceProxy::UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) in UpdatePrinters() function in OHOS::Print::PrintServiceProxy
/base/print/print_fwk/interfaces/kits/napi/src/
Dnapi_print_ext.cpp123 napi_value NapiPrintExt::UpdatePrinters(napi_env env, napi_callback_info info) in UpdatePrinters() function in OHOS::Print::NapiPrintExt
160 int32_t ret = PrintManagerClient::GetInstance()->UpdatePrinters(context->printerInfos); in UpdatePrinters()
Dprint_module.cpp294 PRINT_NAPI_METHOD(FUNCTION_UPDATE_PRINTER, NapiPrintExt::UpdatePrinters), in Init()
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_manager_client_test.cpp633 int32_t ret = PrintManagerClient::GetInstance()->UpdatePrinters(printerInfos);
648 int32_t ret = PrintManagerClient::GetInstance()->UpdatePrinters(printerInfos);
663 int32_t ret = PrintManagerClient::GetInstance()->UpdatePrinters(printerInfos);
691 EXPECT_CALL(*service, UpdatePrinters(_)).Times(1);
692 ON_CALL(*service, UpdatePrinters).WillByDefault(
704 int32_t ret = PrintManagerClient::GetInstance()->UpdatePrinters(testPrinterInfos);
Dprint_service_proxy_test.cpp452 EXPECT_CALL(*service, UpdatePrinters(_)).Times(Exactly(1)).WillOnce(
466 proxy->UpdatePrinters(testPrinterInfos);
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_stub_test.cpp553 ON_CALL(*stub, UpdatePrinters).WillByDefault(Return(E_PRINT_NONE));
576 ON_CALL(*stub, UpdatePrinters).WillByDefault(Return(E_PRINT_NONE));
607 ON_CALL(*stub, UpdatePrinters).WillByDefault(Return(E_PRINT_NONE));
Dprint_service_ability_test.cpp1260 EXPECT_EQ(service->UpdatePrinters(printerInfos), E_PRINT_NO_PERMISSION);
1276 EXPECT_EQ(service->UpdatePrinters(printerInfos), E_PRINT_INVALID_PARAMETER);
1293 EXPECT_EQ(service->UpdatePrinters(printerInfos), E_PRINT_NONE);
/base/print/print_fwk/services/src/
Dprint_service_stub.cpp268 ret = UpdatePrinters(printerInfos); in OnUpdatePrinters()
Dprint_service_ability.cpp845 int32_t PrintServiceAbility::UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) in UpdatePrinters() function in OHOS::Print::PrintServiceAbility