Lines Matching defs:infoTable
884 void UsbImpl::ReportUsbdSysEvent(int32_t code, UsbPnpNotifyMatchInfoTable *infoTable)
894 std::to_string(infoTable->busNum) + "-" + std::to_string(infoTable->devNum), "DEVICE_PROTOCOL",
895 infoTable->deviceInfo.deviceProtocol, "DEVICE_CLASS", infoTable->deviceInfo.deviceClass, "VENDOR_ID",
896 infoTable->deviceInfo.vendorId, "PRODUCT_ID", infoTable->deviceInfo.productId, "VERSION", "1.0.0",
922 UsbPnpNotifyMatchInfoTable *infoTable = nullptr;
923 bool flag = HdfSbufReadBuffer(data, (const void **)(&infoTable), &infoSize);
924 if (!flag || infoTable == nullptr) {
929 if (infoTable->deviceInfo.deviceClass == BASE_CLASS_HUB) {
932 HDF_LOGI("%{public}s:UsbdRemoveBusDev busNum:%{public}d", __func__, infoTable->busNum);
933 UsbdDispatcher::UsbdRemoveBusDev(super, infoTable->busNum, subscriber);
940 ret = UsbdDispatcher::UsbdDeviceCreateAndAttach(super, infoTable->busNum, infoTable->devNum);
941 ReportUsbdSysEvent(ret, infoTable);
942 USBDeviceInfo info = {ACT_DEVUP, infoTable->busNum, infoTable->devNum};
949 UsbdDispatcher::UsbdDeviceDettach(super, infoTable->busNum, infoTable->devNum);
950 USBDeviceInfo info = {ACT_DEVDOWN, infoTable->busNum, infoTable->devNum};