/base/print/print_fwk/interfaces/kits/jskits/ |
D | @ohos.print.d.ts | 429 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/ |
D | napi_print_ext.h | 50 std::vector<std::string> printerIds; member
|
/base/print/print_fwk/services/src/ |
D | print_service_stub.cpp | 237 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()
|
D | print_service_ability.cpp | 810 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/ |
D | iprint_service.h | 47 virtual int32_t RemovePrinters(const std::vector<std::string> &printerIds) = 0;
|
D | print_service_proxy.h | 41 int32_t RemovePrinters(const std::vector<std::string> &printerIds) override;
|
D | print_manager_client.h | 51 int32_t RemovePrinters(const std::vector<std::string> &printerIds);
|
/base/print/print_fwk/test/unittest/service_test/ |
D | print_service_stub_test.cpp | 495 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));
|
D | print_service_ability_test.cpp | 1208 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/ |
D | napi_print_ext.cpp | 95 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/ |
D | mock_print_service.h | 72 int32_t RemovePrinters(const std::vector<std::string> &printerIds) override in RemovePrinters() argument
|
/base/print/print_fwk/services/include/ |
D | print_service_ability.h | 61 int32_t RemovePrinters(const std::vector<std::string> &printerIds) override;
|
/base/print/print_fwk/frameworks/innerkitsimpl/src/ |
D | print_manager_client.cpp | 213 int32_t PrintManagerClient::RemovePrinters(const std::vector<std::string> &printerIds) in RemovePrinters() argument 218 ret = printServiceProxy_->RemovePrinters(printerIds); in RemovePrinters()
|
D | print_service_proxy.cpp | 243 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/ |
D | print_service_proxy_test.cpp | 418 [&testPrinterIds](const std::vector<std::string> &printerIds) { in __anon8929ab751702() argument 419 EXPECT_EQ(testPrinterIds.size(), printerIds.size()); in __anon8929ab751702()
|
D | print_manager_client_test.cpp | 606 [&testPrinterIds](const std::vector<std::string> &printerIds) { in __anona276a03c0902() argument 607 EXPECT_EQ(testPrinterIds.size(), printerIds.size()); in __anona276a03c0902()
|