Home
last modified time | relevance | path

Searched refs:os_desc (Results 1 – 2 of 2) sorted by relevance

/system/core/adb/tools/
Dcheck_ms_os_desc.cpp87 auto os_desc = get_descriptor(device_handle, 0x03, 0xEE, 0x12); in check_ms_os_desc_v1() local
88 if (!os_desc) { in check_ms_os_desc_v1()
92 if (os_desc->size() != 0x12) { in check_ms_os_desc_v1()
96 if (memcmp(os_desc->data() + 2, u"MSFT100\0", 14) != 0) { in check_ms_os_desc_v1()
100 uint8_t vendor_code = (*os_desc)[16]; in check_ms_os_desc_v1()
101 uint8_t pad = (*os_desc)[17]; in check_ms_os_desc_v1()
/system/core/adb/daemon/
Dusb_ffs.cpp109 struct usb_ext_compat_desc os_desc; member
270 v2_descriptor.os_desc = os_desc_compat; in open_functionfs()