Lines Matching refs:info
89 } else if(!strcmp(item,"info")) {
90 fn = "android-info.txt";
147 int match_fastboot(usb_ifc_info *info)
149 if(!(vendor_id && (info->dev_vendor == vendor_id)) &&
150 (info->dev_vendor != 0x18d1) && // Google
151 (info->dev_vendor != 0x0451) &&
152 (info->dev_vendor != 0x0502) &&
153 (info->dev_vendor != 0x22b8) && // Motorola
154 (info->dev_vendor != 0x0955) && // Nvidia
155 (info->dev_vendor != 0x413c) && // DELL
156 (info->dev_vendor != 0x0bb4)) // HTC
158 if(info->ifc_class != 0xff) return -1;
159 if(info->ifc_subclass != 0x42) return -1;
160 if(info->ifc_protocol != 0x03) return -1;
163 if (serial && strcmp(serial, info->serial_number) != 0) return -1;
167 int list_devices_callback(usb_ifc_info *info)
169 if (match_fastboot(info) == 0) {
170 char* serial = info->serial_number;
171 if (!info->writable) {
438 data = unzip_file(zip, "android-info.txt", &sz);
444 die("update package has no android-info.txt or android-product.txt");
498 fname = find_item("info", product);
499 if (fname == 0) die("cannot find android-info.txt");
501 if (data == 0) die("could not load android-info.txt");