Home | History | Annotate | Download | only in fastboot

Lines Matching full: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 != 0x0fce) && // Sony Ericsson
154 (info->dev_vendor != 0x05c6) && // Qualcomm
155 (info->dev_vendor != 0x22b8) && // Motorola
156 (info->dev_vendor != 0x0955) && // Nvidia
157 (info->dev_vendor != 0x413c) && // DELL
158 (info->dev_vendor != 0x0bb4)) // HTC
160 if(info->ifc_class != 0xff) return -1;
161 if(info->ifc_subclass != 0x42) return -1;
162 if(info->ifc_protocol != 0x03) return -1;
165 if (serial && strcmp(serial, info->serial_number) != 0) return -1;
169 int list_devices_callback(usb_ifc_info *info)
171 if (match_fastboot(info) == 0) {
172 char* serial = info->serial_number;
173 if (!info->writable) {
440 data = unzip_file(zip, "android-info.txt", &sz);
446 die("update package has no android-info.txt or android-product.txt");
500 fname = find_item("info", product);
501 if (fname == 0) die("cannot find android-info.txt");
503 if (data == 0) die("could not load android-info.txt");