/drivers/external_device_manager/frameworks/native/ |
H A D | driver_ext_mgr_client.cpp | 123 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 D | driver_ext_mgr_client.h | 33 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 D | idriver_ext_mgr.h | 37 virtual UsbErrCode QueryDeviceInfo(std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos,
|
H A D | driver_ext_mgr_types.h | 73 std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos);
|
/drivers/external_device_manager/services/zidl/src/ |
H A D | driver_ext_mgr_stub.cpp | 144 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 D | driver_ext_mgr_proxy.cpp | 146 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 D | driver_ext_mgr_types.cpp | 296 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 D | idevmgr_client.cpp | 54 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 D | driver_ext_mgr.cpp | 125 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 D | driver_ext_mgr_proxy.h | 32 UsbErrCode QueryDeviceInfo(std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos,
|
/drivers/hdf_core/interfaces/inner_api/hdi/ |
H A D | idevmgr_hdi.h | 107 * @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 D | hdf_dbg.cpp | 168 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 D | wlan_common_cmd.c | 1131 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 D | driver_ext_mgr.h | 38 UsbErrCode QueryDeviceInfo(std::vector<std::shared_ptr<DeviceInfoData>> &deviceInfos,
|
/drivers/external_device_manager/frameworks/js/napi/device_manager/ |
H A D | device_manager_middle.cpp | 560 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 D | sbuf_cmd_adapter.c | 726 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 D | service_manager_hdi_test.cpp | 765 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 D | wifi_driver_client.h | 261 struct NetDeviceInfo deviceInfos[MAX_NETDEVICE_COUNT]; member
|
/drivers/peripheral/wlan/client/src/netlink/ |
H A D | netlink_cmd_adapter.c | 1583 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()
|