• Home
  • Raw
  • Download

Lines Matching refs:infoTable

819 void UsbImpl::ReportUsbdSysEvent(int32_t code, UsbPnpNotifyMatchInfoTable *infoTable)  in ReportUsbdSysEvent()  argument
829 … std::to_string(infoTable->busNum) + "-" + std::to_string(infoTable->devNum), "DEVICE_PROTOCOL", in ReportUsbdSysEvent()
830infoTable->deviceInfo.deviceProtocol, "DEVICE_CLASS", infoTable->deviceInfo.deviceClass, "VENDOR_I… in ReportUsbdSysEvent()
831infoTable->deviceInfo.vendorId, "PRODUCT_ID", infoTable->deviceInfo.productId, "VERSION", "1.0.0", in ReportUsbdSysEvent()
857 UsbPnpNotifyMatchInfoTable *infoTable = nullptr; in UsbdPnpNotifyAddAndRemoveDevice() local
858 bool flag = HdfSbufReadBuffer(data, (const void **)(&infoTable), &infoSize); in UsbdPnpNotifyAddAndRemoveDevice()
859 if (!flag || infoTable == nullptr) { in UsbdPnpNotifyAddAndRemoveDevice()
864 if (infoTable->deviceInfo.deviceClass == BASE_CLASS_HUB) { in UsbdPnpNotifyAddAndRemoveDevice()
867 HDF_LOGI("%{public}s:UsbdRemoveBusDev busNum:%{public}d", __func__, infoTable->busNum); in UsbdPnpNotifyAddAndRemoveDevice()
868 UsbdDispatcher::UsbdRemoveBusDev(super, infoTable->busNum, subscriber); in UsbdPnpNotifyAddAndRemoveDevice()
875 … ret = UsbdDispatcher::UsbdDeviceCreateAndAttach(super, infoTable->busNum, infoTable->devNum); in UsbdPnpNotifyAddAndRemoveDevice()
876 ReportUsbdSysEvent(ret, infoTable); in UsbdPnpNotifyAddAndRemoveDevice()
877 USBDeviceInfo info = {ACT_DEVUP, infoTable->busNum, infoTable->devNum}; in UsbdPnpNotifyAddAndRemoveDevice()
884 UsbdDispatcher::UsbdDeviceDettach(super, infoTable->busNum, infoTable->devNum); in UsbdPnpNotifyAddAndRemoveDevice()
885 USBDeviceInfo info = {ACT_DEVDOWN, infoTable->busNum, infoTable->devNum}; in UsbdPnpNotifyAddAndRemoveDevice()