Home
last modified time | relevance | path

Searched refs:deviceInfos (Results 1 - 19 of 19) sorted by relevance

/drivers/external_device_manager/frameworks/native/
H A Ddriver_ext_mgr_client.cpp123 UsbErrCode DriverExtMgrClient::QueryDeviceInfo(std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos) in QueryDeviceInfo() argument
128 return proxy_->QueryDeviceInfo(deviceInfos); in QueryDeviceInfo()
132 std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos) in QueryDeviceInfo()
137 return proxy_->QueryDeviceInfo(deviceInfos, true, deviceId); in QueryDeviceInfo()
131 QueryDeviceInfo(const uint64_t deviceId, std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos) QueryDeviceInfo() argument
/drivers/external_device_manager/interfaces/innerkits/
H A Ddriver_ext_mgr_client.h33 UsbErrCode QueryDeviceInfo(std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos);
34 UsbErrCode QueryDeviceInfo(const uint64_t deviceId, std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos);
H A Didriver_ext_mgr.h37 virtual UsbErrCode QueryDeviceInfo(std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos,
H A Ddriver_ext_mgr_types.h73 std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos);
/drivers/external_device_manager/services/zidl/src/
H A Ddriver_ext_mgr_stub.cpp144 std::vector<std::shared_ptr<DeviceInfoData>> deviceInfos; in OnQueryDeviceInfo() local
145 int32_t ret = QueryDeviceInfo(deviceInfos, isByDeviceId, deviceId); in OnQueryDeviceInfo()
151 uint64_t deviceInfoSize = static_cast<uint64_t>(deviceInfos.size()); in OnQueryDeviceInfo()
153 EDM_LOGE(MODULE_FRAMEWORK, "failed to write size of deviceInfos"); in OnQueryDeviceInfo()
158 if (deviceInfos[i] == nullptr) { in OnQueryDeviceInfo()
163 if (!deviceInfos[i]->Marshalling(reply)) { in OnQueryDeviceInfo()
H A Ddriver_ext_mgr_proxy.cpp146 UsbErrCode DriverExtMgrProxy::QueryDeviceInfo(std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos, in QueryDeviceInfo() argument
182 if (!DeviceInfoData::DeviceInfosUnMarshalling(reply, deviceInfos)) { in QueryDeviceInfo()
183 EDM_LOGE(MODULE_FRAMEWORK, "failed to read deviceInfos"); in QueryDeviceInfo()
H A Ddriver_ext_mgr_types.cpp296 std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos) in DeviceInfosUnMarshalling()
304 if (deviceInfoSize > deviceInfos.max_size()) { in DeviceInfosUnMarshalling()
315 deviceInfos.push_back(deviceInfo); in DeviceInfosUnMarshalling()
295 DeviceInfosUnMarshalling(MessageParcel &parcel, std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos) DeviceInfosUnMarshalling() argument
/drivers/hdf_core/adapter/uhdf2/hdi/src/
H A Didevmgr_client.cpp54 int32_t ListAllDevice(std::vector<HdiDevHostInfo> &deviceInfos) override;
161 int32_t DeviceManagerProxy::ListAllDevice(std::vector<HdiDevHostInfo> &deviceInfos) in ListAllDevice() argument
183 if (!HdfDevMgrDbgFillDeviceInfo(deviceInfos, reply)) { in ListAllDevice()
/drivers/external_device_manager/services/native/driver_extension_manager/src/
H A Ddriver_ext_mgr.cpp125 std::vector<std::shared_ptr<DeviceInfo>> deviceInfos = in QueryDevice() local
127 for (const auto &deviceInfo : deviceInfos) { in QueryDevice()
257 UsbErrCode DriverExtMgr::QueryDeviceInfo(std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos, in QueryDeviceInfo() argument
281 deviceInfos.push_back(tempDeviceInfo); in QueryDeviceInfo()
/drivers/external_device_manager/services/zidl/include/
H A Ddriver_ext_mgr_proxy.h32 UsbErrCode QueryDeviceInfo(std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos,
/drivers/hdf_core/interfaces/inner_api/hdi/
H A Didevmgr_hdi.h107 * @param deviceInfos Indicates information about all loaded devices.
110 virtual int32_t ListAllDevice(std::vector<HdiDevHostInfo> &deviceInfos) = 0;
/drivers/hdf_core/framework/tools/hdf_dbg/
H A Dhdf_dbg.cpp168 static void PrintALLDeviceInfoUser(std::vector<HdiDevHostInfo> &deviceInfos) in PrintALLDeviceInfoUser() argument
185 for (auto &info : deviceInfos) { in PrintALLDeviceInfoUser()
430 std::vector<HdiDevHostInfo> deviceInfos; in GetAllDeviceUserSpace() local
431 (void)devmgr->ListAllDevice(deviceInfos); in GetAllDeviceUserSpace()
432 PrintALLDeviceInfoUser(deviceInfos); in GetAllDeviceUserSpace()
/drivers/peripheral/wlan/hdi_service/service_common/
H A Dwlan_common_cmd.c1131 netDeviceInfoResult->deviceInfos = in WlanInterfaceGetNetDevInfo()
1133 if (netDeviceInfoResult->deviceInfos == NULL) { in WlanInterfaceGetNetDevInfo()
1134 HDF_LOGE("%{public}s:netDeviceInfoResult->deviceInfos OsalMemCalloc failed", __func__); in WlanInterfaceGetNetDevInfo()
1140 netDeviceInfoResult->deviceInfos[i].index = netDeviceInfo->deviceInfos[i].index; in WlanInterfaceGetNetDevInfo()
1141 netDeviceInfoResult->deviceInfos[i].iftype = netDeviceInfo->deviceInfos[i].iftype; in WlanInterfaceGetNetDevInfo()
1142 netDeviceInfoResult->deviceInfos[i].ifName = (char *)OsalMemCalloc(sizeof(char) * IFNAMSIZ); in WlanInterfaceGetNetDevInfo()
1143 if (netDeviceInfoResult->deviceInfos != NULL) { in WlanInterfaceGetNetDevInfo()
1144 if (memcpy_s(netDeviceInfoResult->deviceInfos[ in WlanInterfaceGetNetDevInfo()
[all...]
/drivers/external_device_manager/services/native/driver_extension_manager/include/
H A Ddriver_ext_mgr.h38 UsbErrCode QueryDeviceInfo(std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos,
/drivers/external_device_manager/frameworks/js/napi/device_manager/
H A Ddevice_manager_middle.cpp560 std::vector<std::shared_ptr<DeviceInfoData>> deviceInfos; in QueryDeviceInfo() local
563 ret = g_edmClient.QueryDeviceInfo(deviceId, deviceInfos); in QueryDeviceInfo()
565 ret = g_edmClient.QueryDeviceInfo(deviceInfos); in QueryDeviceInfo()
580 for (size_t i = 0; i < deviceInfos.size(); i++) { in QueryDeviceInfo()
581 napi_value element = ConvertToJsDeviceInfo(env, deviceInfos[i]); in QueryDeviceInfo()
/drivers/peripheral/wlan/client/src/sbuf/
H A Dsbuf_cmd_adapter.c726 if (!HdfSbufReadUint32(reply, &(netDeviceInfoResult->deviceInfos[i].index)) || in GetNetDeviceInfo()
728 !HdfSbufReadUint8(reply, &(netDeviceInfoResult->deviceInfos[i].iftype)) || in GetNetDeviceInfo()
734 if (memcpy_s(netDeviceInfoResult->deviceInfos[i].ifName, ifNameSize, ifName, ifNameSize) != EOK) { in GetNetDeviceInfo()
739 if (memcpy_s(netDeviceInfoResult->deviceInfos[i].mac, macSize, replayData, macSize) != EOK) { in GetNetDeviceInfo()
/drivers/hdf_core/adapter/uhdf2/hdi/test/servmgr/
H A Dservice_manager_hdi_test.cpp765 std::vector<HdiDevHostInfo> deviceInfos; in HWTEST_F() local
766 int ret = devmgr->ListAllDevice(deviceInfos); in HWTEST_F()
768 ASSERT_TRUE(deviceInfos.size() != 0); in HWTEST_F()
/drivers/peripheral/wlan/client/include/
H A Dwifi_driver_client.h261 struct NetDeviceInfo deviceInfos[MAX_NETDEVICE_COUNT]; member
/drivers/peripheral/wlan/client/src/netlink/
H A Dnetlink_cmd_adapter.c1583 if (memset_s(&netDeviceInfoResult->deviceInfos[i], sizeof(struct NetDeviceInfo), 0, in GetNetDeviceInfo()
1588 netDeviceInfoResult->deviceInfos[i].index = i + 1; in GetNetDeviceInfo()
1589 if (strncpy_s(netDeviceInfoResult->deviceInfos[i].ifName, IFNAMSIZ, in GetNetDeviceInfo()
1594 ret = GetIftypeAndMac(&netDeviceInfoResult->deviceInfos[i]); in GetNetDeviceInfo()

Completed in 19 milliseconds