Merge changes I0694ed72,I9f0622e0,Ib8c5196c

* changes:
  Add BYD's USB Vendor ID
  Add USB Vendor ID for Xiaomi
  Add vendor IDs to adb
This commit is contained in:
Colin Cross 2013-03-29 22:18:06 +00:00 committed by Gerrit Code Review
commit 352004220a

15
adb/usb_vendors.c Normal file → Executable file
View file

@ -131,6 +131,16 @@
#define VENDOR_ID_KOBO 0x2237
// Teleepoch's USB Vendor ID
#define VENDOR_ID_TELEEPOCH 0x2340
// AnyDATA's USB Vendor ID
#define VENDOR_ID_ANYDATA 0x16D5
// Harris's USB Vendor ID
#define VENDOR_ID_HARRIS 0x19A5
// OPPO's USB Vendor ID
#define VENDOR_ID_OPPO 0x22D9
// Xiaomi's USB Vendor ID
#define VENDOR_ID_XIAOMI 0x2717
// BYD's USB Vendor ID
#define VENDOR_ID_BYD 0x19D1
/** built-in vendor list */
@ -183,6 +193,11 @@ int builtInVendorIds[] = {
VENDOR_ID_YULONG_COOLPAD,
VENDOR_ID_KOBO,
VENDOR_ID_TELEEPOCH,
VENDOR_ID_ANYDATA,
VENDOR_ID_HARRIS,
VENDOR_ID_OPPO,
VENDOR_ID_XIAOMI,
VENDOR_ID_BYD,
};
#define BUILT_IN_VENDOR_COUNT (sizeof(builtInVendorIds)/sizeof(builtInVendorIds[0]))