/base/startup/init/interfaces/innerkits/fd_holder/ |
D | fd_holder.c | 165 char **fdList = SplitStringExt(fdBuffer, " ", &fdCount, MAX_HOLD_FDS); in ServiceGetFd() local 166 BEGET_ERROR_CHECK(fdList != NULL, return NULL, "Cannot get fd list"); in ServiceGetFd() 169 BEGET_ERROR_CHECK(fds != NULL, FreeStringVector(fdList, fdCount); in ServiceGetFd() 177 fds[i] = (int)strtol(fdList[i], NULL, DECIMAL_BASE); in ServiceGetFd() 179 break, "Failed to convert \' %s \' to fd number", fdList[i]); in ServiceGetFd() 188 FreeStringVector(fdList, fdCount); in ServiceGetFd()
|
/base/web/webview/ohos_adapter/print_manager_adapter/src/ |
D | print_manager_adapter_impl.cpp | 32 …const std::vector<std::string>& fileList, const std::vector<uint32_t>& fdList, std::string& taskId) in StartPrint() argument 34 …int32_t ret = OHOS::Print::PrintManagerClient::GetInstance()->StartPrint(fileList, fdList, taskId); in StartPrint()
|
/base/web/webview/ohos_adapter/interfaces/ |
D | print_manager_adapter.h | 31 const std::vector<uint32_t>& fdList,
|
/base/print/print_fwk/frameworks/innerkitsimpl/src/ |
D | print_job.cpp | 85 void PrintJob::SetFdList(const std::vector<uint32_t> &fdList) in SetFdList() argument 88 fdList_.assign(fdList.begin(), fdList.end()); in SetFdList() 198 void PrintJob::GetFdList(std::vector<uint32_t> &fdList) const in GetFdList() 200 fdList.clear(); in GetFdList() 201 fdList.assign(fdList_.begin(), fdList_.end()); in GetFdList()
|
D | print_service_proxy.cpp | 40 const std::vector<uint32_t> &fdList, std::string &taskId) in StartPrint() argument 55 data.WriteBool(fdList.size() > 0); in StartPrint() 56 if (!fdList.empty()) { in StartPrint() 57 data.WriteInt32(fdList.size()); in StartPrint() 58 for (auto fd : fdList) { in StartPrint() 71 …iceProxy::StartPrint(const std::vector<std::string> &fileList, const std::vector<uint32_t> &fdList, in StartPrint() argument 87 data.WriteBool(fdList.size() > 0); in StartPrint() 88 if (!fdList.empty()) { in StartPrint() 89 data.WriteInt32(fdList.size()); in StartPrint() 90 for (auto fd : fdList) { in StartPrint()
|
D | print_manager_client.cpp | 91 const std::vector<uint32_t> &fdList, std::string &taskId) in StartPrint() argument 96 ret = printServiceProxy_->StartPrint(fileList, fdList, taskId); in StartPrint() 102 …erClient::StartPrint(const std::vector<std::string> &fileList, const std::vector<uint32_t> &fdList, in StartPrint() argument 108 ret = printServiceProxy_->StartPrint(fileList, fdList, taskId, token); in StartPrint()
|
/base/web/webview/ohos_adapter/print_manager_adapter/include/ |
D | print_manager_adapter_impl.h | 30 const std::vector<uint32_t>& fdList,
|
/base/print/print_fwk/test/unittest/service_test/ |
D | print_service_ability_test.cpp | 75 void InitFdList(std::vector<uint32_t> &fdList); 184 void PrintServiceAbilityTest::InitFdList(std::vector<uint32_t> &fdList) in InitFdList() argument 186 fdList.emplace_back(FDLIST_TEST_ONE); in InitFdList() 187 fdList.emplace_back(FDLIST_TEST_TWO); in InitFdList() 188 fdList.emplace_back(FDLIST_TEST_THREE); in InitFdList() 317 std::vector<uint32_t> fdList = {}; in CreateServiceWithoutEvent() local 318 InitFdList(fdList); in CreateServiceWithoutEvent() 320 EXPECT_EQ(service->StartPrint(fileList, fdList, taskId), E_PRINT_NONE); in CreateServiceWithoutEvent() 376 std::vector<uint32_t> fdList = {}; variable 378 int result = PrintServiceAbility::GetInstance()->StartPrint(fileList, fdList, taskId); [all …]
|
/base/print/print_fwk/frameworks/innerkitsimpl/include/ |
D | iprint_service.h | 35 const std::vector<uint32_t> &fdList, std::string &taskId) = 0; 36 …l int32_t StartPrint(const std::vector<std::string> &fileList, const std::vector<uint32_t> &fdList,
|
D | print_service_proxy.h | 29 const std::vector<uint32_t> &fdList, std::string &taskId) override; 31 … int32_t StartPrint(const std::vector<std::string> &fileList, const std::vector<uint32_t> &fdList,
|
D | print_manager_client.h | 43 const std::vector<uint32_t> &fdList, std::string &taskId); 45 … int32_t StartPrint(const std::vector<std::string> &fileList, const std::vector<uint32_t> &fdList,
|
D | print_job.h | 73 void GetFdList(std::vector<uint32_t> &fdList) const;
|
/base/print/print_fwk/services/src/ |
D | print_service_ability.cpp | 196 void PrintServiceAbility::BuildFDParam(const std::vector<uint32_t> &fdList, AAFwk::Want &want) in BuildFDParam() argument 198 if (fdList.empty()) { in BuildFDParam() 202 … sptr<AAFwk::IArray> ao = new (std::nothrow) AAFwk::Array(fdList.size(), AAFwk::g_IID_IWantParams); in BuildFDParam() 208 for (auto fd : fdList) { in BuildFDParam() 220 const std::vector<uint32_t> &fdList, std::string &taskId) in StartPrint() argument 229 if (fileList.empty() && fdList.empty()) { in StartPrint() 238 printJob->SetFdList(fdList); in StartPrint() 245 BuildFDParam(fdList, want); in StartPrint() 268 …eAbility::StartPrint(const std::vector<std::string> &fileList, const std::vector<uint32_t> &fdList, in StartPrint() argument 278 if ((fileList.empty() && fdList.empty()) || token == nullptr) { in StartPrint() [all …]
|
D | print_service_stub.cpp | 84 std::vector<uint32_t> fdList; in OnStartPrint() local 102 fdList.emplace_back(fd); in OnStartPrint() 110 ret = StartPrint(fileList, fdList, result); in OnStartPrint() 112 ret = StartPrint(fileList, fdList, result, token); in OnStartPrint()
|
D | print_cups_client.cpp | 341 int num_files = jobParams->fdList.size(); in StartCupsJob() 353 if ((fp = cupsFileOpenFd(jobParams->fdList[i], "rb")) == NULL) { in StartCupsJob() 622 jobInfo.GetFdList(params->fdList); in BuildJobParameters()
|
/base/print/print_fwk/services/include/ |
D | print_service_ability.h | 49 const std::vector<uint32_t> &fdList, std::string &taskId) override; 50 … int32_t StartPrint(const std::vector<std::string> &fileList, const std::vector<uint32_t> &fdList, 98 void BuildFDParam(const std::vector<uint32_t> &fdList, AAFwk::Want &want);
|
D | print_cups_client.h | 86 std::vector<uint32_t> fdList; member
|
/base/print/print_fwk/frameworks/helper/src/ |
D | print_job_helper.cpp | 203 std::vector<uint32_t> fdList; in CreateFdList() local 204 job.GetFdList(fdList); in CreateFdList() 205 uint32_t arrFilesLength = fdList.size(); in CreateFdList() 209 PRINT_CALL_BASE(env, napi_create_uint32(env, fdList[i], &value), false); in CreateFdList()
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_manager_service.cpp | 177 std::vector<std::string> fdList = DumpCommonUtils::GetSubNodes(taskPath, true); in GetFileDescriptorNums() local 178 return fdList.size(); in GetFileDescriptorNums() 239 std::vector<std::string> fdList = DumpCommonUtils::GetSubNodes(taskPath, true); in CountFdNums() local 241 for (const auto &each : fdList) { in CountFdNums()
|
/base/web/webview/test/unittest/ohos_adapter_helper/ |
D | ohos_adapter_helper_test.cpp | 120 std::vector<uint32_t> fdList = {1}; variable 122 int32_t ret = printAdapter.StartPrint(fileList, fdList, taskId);
|
/base/msdp/device_status/services/native/include/ |
D | stream_server.h | 50 void Multicast(const std::vector<int32_t>& fdList, NetPacket& pkt);
|
/base/print/print_fwk/test/unittest/service_test/mock/ |
D | mock_print_service.h | 27 const std::vector<uint32_t> &fdList, std::string &taskId) override in StartPrint() argument 32 …const std::vector<uint32_t> &fdList, std::string &taskId, const sptr<IRemoteObject> &token) overri… in StartPrint() argument
|
/base/msdp/device_status/services/native/src/ |
D | stream_server.cpp | 87 void StreamServer::Multicast(const std::vector<int32_t>& fdList, NetPacket& pkt) in Multicast() argument 89 for (const auto &item : fdList) { in Multicast()
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
D | print_service_proxy_test.cpp | 70 const std::vector<uint32_t> &fdList, std::string &taskId) { in __anonef490dd60102() argument 75 EXPECT_EQ(testFdList.size(), fdList.size()); in __anonef490dd60102() 77 EXPECT_NE(testFdList[index], fdList[index]); in __anonef490dd60102() 110 const std::vector<uint32_t> &fdList, std::string &taskId) { in __anonef490dd60302() argument 115 EXPECT_EQ(testFdList.size(), fdList.size()); in __anonef490dd60302() 117 EXPECT_EQ(testFdList[index], fdList[index]); in __anonef490dd60302()
|
/base/print/print_fwk/interfaces/kits/jskits/ |
D | @ohos.print.d.ts | 129 fdList: Array<number>; // document fd list to be printed property
|