Home
last modified time | relevance | path

Searched refs:deviceListTemp (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/src/
H A Dusb_pnp_notify.c618 struct UsbPnpNotifyDeviceList *deviceListTemp = NULL; in UsbPnpNotifyCreateDeviceList() local
620deviceListTemp = (struct UsbPnpNotifyDeviceList *)OsalMemCalloc(sizeof(struct UsbPnpNotifyDeviceLi… in UsbPnpNotifyCreateDeviceList()
621 if (deviceListTemp == NULL) { in UsbPnpNotifyCreateDeviceList()
626 deviceListTemp->device = udev; in UsbPnpNotifyCreateDeviceList()
627 DListHeadInit(&deviceListTemp->deviceList); in UsbPnpNotifyCreateDeviceList()
630 DListInsertTail(&deviceListTemp->deviceList, &g_usbPnpDeviceListHead); in UsbPnpNotifyCreateDeviceList()
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/
H A Ddevice_manager_impl.cpp258 std::vector<DmDeviceInfo> deviceListTemp; in GetAvailableDeviceList() local
260 int32_t ret = GetTrustedDeviceList(pkgName, extra, false, deviceListTemp); in GetAvailableDeviceList()
265 for (auto &item : deviceListTemp) { in GetAvailableDeviceList()