/base/print/print_fwk/test/unittest/service_test/ |
D | print_service_ability_test.cpp | 1140 std::vector<PrinterInfo> printerInfos; variable 1141 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NO_PERMISSION); 1155 std::vector<PrinterInfo> printerInfos; variable 1156 InitExtPrinterList(printerInfos, 1); 1157 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE); 1172 std::vector<PrinterInfo> printerInfos; variable 1173 InitExtPrinterList(printerInfos, 1); 1174 EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE); 1189 std::vector<PrinterInfo> printerInfos; variable 1190 InitExtPrinterList(printerInfos, 1); [all …]
|
D | print_service_stub_test.cpp | 467 std::vector<PrinterInfo> printerInfos; variable 468 printerInfos.emplace_back(testInfo); 471 EXPECT_TRUE(data.WriteUint32(static_cast<uint32_t>(printerInfos.size()))); 472 for (size_t index = 0; index < printerInfos.size(); index++) { 473 printerInfos[index].Marshalling(data); 596 std::vector<PrinterInfo> printerInfos; variable 597 printerInfos.emplace_back(testInfo); 600 EXPECT_TRUE(data.WriteUint32(static_cast<uint32_t>(printerInfos.size()))); 601 for (size_t index = 0; index < printerInfos.size(); index++) { 602 printerInfos[index].Marshalling(data);
|
/base/print/print_fwk/frameworks/innerkitsimpl/src/ |
D | print_service_proxy.cpp | 226 int32_t PrintServiceProxy::AddPrinters(const std::vector<PrinterInfo> &printerInfos) in AddPrinters() argument 231 data.WriteUint32(printerInfos.size()); in AddPrinters() 232 PRINT_HILOGD("AddPrinters printerInfos.size() = %{public}zu", printerInfos.size()); in AddPrinters() 233 for (uint32_t i = 0; i < printerInfos.size(); i++) { in AddPrinters() 234 printerInfos[i].Marshalling(data); in AddPrinters() 257 int32_t PrintServiceProxy::UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) in UpdatePrinters() argument 262 data.WriteUint32(printerInfos.size()); in UpdatePrinters() 263 PRINT_HILOGD("UpdatePrinters printerInfos.size() = %{public}zu", printerInfos.size()); in UpdatePrinters() 264 for (uint32_t i = 0; i < printerInfos.size(); i++) { in UpdatePrinters() 265 printerInfos[i].Marshalling(data); in UpdatePrinters()
|
D | print_manager_client.cpp | 202 int32_t PrintManagerClient::AddPrinters(const std::vector<PrinterInfo> &printerInfos) in AddPrinters() argument 207 ret = printServiceProxy_->AddPrinters(printerInfos); in AddPrinters() 224 int32_t PrintManagerClient::UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) in UpdatePrinters() argument 229 ret = printServiceProxy_->UpdatePrinters(printerInfos); in UpdatePrinters()
|
/base/print/print_fwk/services/src/ |
D | print_service_stub.cpp | 211 std::vector<PrinterInfo> printerInfos; in OnAddPrinters() local 223 printerInfos.emplace_back(*infoPtr); in OnAddPrinters() 226 if (printerInfos.size() > 0) { in OnAddPrinters() 227 ret = AddPrinters(printerInfos); in OnAddPrinters() 252 std::vector<PrinterInfo> printerInfos; in OnUpdatePrinters() local 264 printerInfos.emplace_back(*infoPtr); in OnUpdatePrinters() 267 if (printerInfos.size() > 0) { in OnUpdatePrinters() 268 ret = UpdatePrinters(printerInfos); in OnUpdatePrinters()
|
D | print_service_ability.cpp | 776 int32_t PrintServiceAbility::AddPrinters(const std::vector<PrinterInfo> &printerInfos) in AddPrinters() argument 790 for (auto info : printerInfos) { in AddPrinters() 845 int32_t PrintServiceAbility::UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) in UpdatePrinters() argument 859 for (auto info : printerInfos) { in UpdatePrinters()
|
/base/print/print_fwk/frameworks/innerkitsimpl/include/ |
D | iprint_service.h | 46 virtual int32_t AddPrinters(const std::vector<PrinterInfo> &printerInfos) = 0; 48 virtual int32_t UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) = 0;
|
D | print_service_proxy.h | 40 int32_t AddPrinters(const std::vector<PrinterInfo> &printerInfos) override; 42 int32_t UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) override;
|
D | print_manager_client.h | 50 int32_t AddPrinters(const std::vector<PrinterInfo> &printerInfos); 52 int32_t UpdatePrinters(const std::vector<PrinterInfo> &printerInfos);
|
/base/print/print_fwk/interfaces/kits/napi/include/ |
D | napi_print_ext.h | 49 std::vector<PrinterInfo> printerInfos; member
|
/base/print/print_fwk/interfaces/kits/napi/src/ |
D | napi_print_ext.cpp | 49 context->printerInfos.emplace_back(*printerInfoPtr); in AddPrinters() 51 if (context->printerInfos.empty()) { in AddPrinters() 64 int32_t ret = PrintManagerClient::GetInstance()->AddPrinters(context->printerInfos); in AddPrinters() 145 context->printerInfos.emplace_back(*printerInfoPtr); in UpdatePrinters() 147 if (context->printerInfos.empty()) { in UpdatePrinters() 160 int32_t ret = PrintManagerClient::GetInstance()->UpdatePrinters(context->printerInfos); in UpdatePrinters()
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
D | print_manager_client_test.cpp | 468 std::vector<PrinterInfo> printerInfos; variable 470 int32_t ret = PrintManagerClient::GetInstance()->AddPrinters(printerInfos); 482 std::vector<PrinterInfo> printerInfos; variable 485 int32_t ret = PrintManagerClient::GetInstance()->AddPrinters(printerInfos); 497 std::vector<PrinterInfo> printerInfos; variable 500 int32_t ret = PrintManagerClient::GetInstance()->AddPrinters(printerInfos); 530 [&testPrinterInfos](const std::vector<PrinterInfo> &printerInfos) { in __anona276a03c0802() argument 531 EXPECT_EQ(testPrinterInfos.size(), printerInfos.size()); in __anona276a03c0802() 533 EXPECT_EQ(testPrinterInfos[index].GetOption(), printerInfos[index].GetOption()); in __anona276a03c0802() 586 std::vector<PrinterInfo> printerInfos; variable [all …]
|
D | print_service_proxy_test.cpp | 386 [&testPrinterInfos](const std::vector<PrinterInfo> &printerInfos) { in __anon8929ab751502() argument 387 EXPECT_EQ(testPrinterInfos.size(), printerInfos.size()); in __anon8929ab751502() 389 EXPECT_EQ(testPrinterInfos[index].GetOption(), printerInfos[index].GetOption()); in __anon8929ab751502() 453 [&testPrinterInfos](const std::vector<PrinterInfo> &printerInfos) { in __anon8929ab751902() argument 454 EXPECT_EQ(testPrinterInfos.size(), printerInfos.size()); in __anon8929ab751902() 456 EXPECT_EQ(testPrinterInfos[index].GetOption(), printerInfos[index].GetOption()); in __anon8929ab751902()
|
/base/print/print_fwk/test/unittest/service_test/mock/ |
D | mock_print_service.h | 68 int32_t AddPrinters(const std::vector<PrinterInfo> &printerInfos) override in AddPrinters() argument 76 int32_t UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) override in UpdatePrinters() argument
|
/base/print/print_fwk/services/include/ |
D | print_service_ability.h | 60 int32_t AddPrinters(const std::vector<PrinterInfo> &printerInfos) override; 62 int32_t UpdatePrinters(const std::vector<PrinterInfo> &printerInfos) override;
|