Lines Matching refs:infoTable
885 void UsbImpl::ReportUsbdSysEvent(int32_t code, UsbPnpNotifyMatchInfoTable *infoTable) in ReportUsbdSysEvent() argument
895 … std::to_string(infoTable->busNum) + "-" + std::to_string(infoTable->devNum), "DEVICE_PROTOCOL", in ReportUsbdSysEvent()
896 …infoTable->deviceInfo.deviceProtocol, "DEVICE_CLASS", infoTable->deviceInfo.deviceClass, "VENDOR_I… in ReportUsbdSysEvent()
897 … infoTable->deviceInfo.vendorId, "PRODUCT_ID", infoTable->deviceInfo.productId, "VERSION", "1.0.0", in ReportUsbdSysEvent()
923 UsbPnpNotifyMatchInfoTable *infoTable = nullptr; in UsbdPnpNotifyAddAndRemoveDevice() local
924 bool flag = HdfSbufReadBuffer(data, (const void **)(&infoTable), &infoSize); in UsbdPnpNotifyAddAndRemoveDevice()
925 if (!flag || infoTable == nullptr) { in UsbdPnpNotifyAddAndRemoveDevice()
930 if (infoTable->deviceInfo.deviceClass == BASE_CLASS_HUB) { in UsbdPnpNotifyAddAndRemoveDevice()
933 HDF_LOGI("%{public}s:UsbdRemoveBusDev busNum:%{public}d", __func__, infoTable->busNum); in UsbdPnpNotifyAddAndRemoveDevice()
934 UsbdDispatcher::UsbdRemoveBusDev(super, infoTable->busNum, subscriber); in UsbdPnpNotifyAddAndRemoveDevice()
941 … ret = UsbdDispatcher::UsbdDeviceCreateAndAttach(super, infoTable->busNum, infoTable->devNum); in UsbdPnpNotifyAddAndRemoveDevice()
942 ReportUsbdSysEvent(ret, infoTable); in UsbdPnpNotifyAddAndRemoveDevice()
943 USBDeviceInfo info = {ACT_DEVUP, infoTable->busNum, infoTable->devNum}; in UsbdPnpNotifyAddAndRemoveDevice()
950 UsbdDispatcher::UsbdDeviceDettach(super, infoTable->busNum, infoTable->devNum); in UsbdPnpNotifyAddAndRemoveDevice()
951 USBDeviceInfo info = {ACT_DEVDOWN, infoTable->busNum, infoTable->devNum}; in UsbdPnpNotifyAddAndRemoveDevice()