Home
last modified time | relevance | path

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

/base/print/print_fwk/interfaces/kits/jskits/
D@ohos.print.d.ts429 function removePrinters(printerIds: Array<string>, callback: AsyncCallback<boolean>): void;
430 function removePrinters(printerIds: Array<string>): Promise<boolean>;
/base/print/print_fwk/interfaces/kits/napi/include/
Dnapi_print_ext.h50 std::vector<std::string> printerIds; member
/base/print/print_fwk/services/src/
Dprint_service_stub.cpp237 std::vector<std::string> printerIds; in OnRemovePrinters() local
238 data.ReadStringVector(&printerIds); in OnRemovePrinters()
239 PRINT_HILOGD("OnStartDiscoverPrinter len = %{public}zd", printerIds.size()); in OnRemovePrinters()
241 CHECK_IS_EXCEED_PRINT_RANGE_BOOL(printerIds.size()); in OnRemovePrinters()
242 int32_t ret = RemovePrinters(printerIds); in OnRemovePrinters()
Dprint_service_ability.cpp810 int32_t PrintServiceAbility::RemovePrinters(const std::vector<std::string> &printerIds) in RemovePrinters() argument
825 for (auto printerId : printerIds) { in RemovePrinters()
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Diprint_service.h47 virtual int32_t RemovePrinters(const std::vector<std::string> &printerIds) = 0;
Dprint_service_proxy.h41 int32_t RemovePrinters(const std::vector<std::string> &printerIds) override;
Dprint_manager_client.h51 int32_t RemovePrinters(const std::vector<std::string> &printerIds);
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_stub_test.cpp495 std::vector<std::string> printerIds; variable
496 printerIds.resize(1001);
499 EXPECT_TRUE(data.WriteStringVector(printerIds));
521 std::vector<std::string> printerIds; variable
522 printerIds.emplace_back(testPrinterId);
525 EXPECT_TRUE(data.WriteStringVector(printerIds));
Dprint_service_ability_test.cpp1208 std::vector<std::string> printerIds; variable
1209 EXPECT_EQ(service->RemovePrinters(printerIds), E_PRINT_NO_PERMISSION);
1223 std::vector<std::string> printerIds; variable
1224 InitExtPrinterIdList(printerIds, 1);
1225 EXPECT_EQ(service->RemovePrinters(printerIds), E_PRINT_INVALID_PARAMETER);
1242 std::vector<std::string> printerIds; variable
1243 InitExtPrinterIdList(printerIds, 1);
1244 EXPECT_EQ(service->RemovePrinters(printerIds), E_PRINT_NONE);
/base/print/print_fwk/interfaces/kits/napi/src/
Dnapi_print_ext.cpp95 context->printerIds.emplace_back(printerId); in RemovePrinters()
98 if (context->printerIds.empty()) { in RemovePrinters()
111 int32_t ret = PrintManagerClient::GetInstance()->RemovePrinters(context->printerIds); in RemovePrinters()
/base/print/print_fwk/test/unittest/service_test/mock/
Dmock_print_service.h72 int32_t RemovePrinters(const std::vector<std::string> &printerIds) override in RemovePrinters() argument
/base/print/print_fwk/services/include/
Dprint_service_ability.h61 int32_t RemovePrinters(const std::vector<std::string> &printerIds) override;
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_manager_client.cpp213 int32_t PrintManagerClient::RemovePrinters(const std::vector<std::string> &printerIds) in RemovePrinters() argument
218 ret = printServiceProxy_->RemovePrinters(printerIds); in RemovePrinters()
Dprint_service_proxy.cpp243 int32_t PrintServiceProxy::RemovePrinters(const std::vector<std::string> &printerIds) in RemovePrinters() argument
248 data.WriteStringVector(printerIds); in RemovePrinters()
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_service_proxy_test.cpp418 [&testPrinterIds](const std::vector<std::string> &printerIds) { in __anon8929ab751702() argument
419 EXPECT_EQ(testPrinterIds.size(), printerIds.size()); in __anon8929ab751702()
Dprint_manager_client_test.cpp606 [&testPrinterIds](const std::vector<std::string> &printerIds) { in __anona276a03c0902() argument
607 EXPECT_EQ(testPrinterIds.size(), printerIds.size()); in __anona276a03c0902()