Home
last modified time | relevance | path

Searched refs:languages (Results 1 – 10 of 10) sorted by relevance

/system/core/adb/
Dusb_osx.c208 UInt16 languages[128]; in AndroidInterfaceAdded() local
210 memset(languages, 0, sizeof(languages)); in AndroidInterfaceAdded()
217 req.pData = languages; in AndroidInterfaceAdded()
218 req.wLength = sizeof(languages); in AndroidInterfaceAdded()
234 req.wIndex = languages[lang]; in AndroidInterfaceAdded()
Dusb_libusb.c490 uint16_t languages[128] = {0}; in check_device() local
493 memset(languages, 0, sizeof(languages)); in check_device()
497 0, (uint8_t *)languages, sizeof(languages), 0); in check_device()
512 languages[i], (uint8_t *)buffer, sizeof(buffer), 0); in check_device()
Dusb_linux.c619 __u16 languages[128]; in register_device() local
623 memset(languages, 0, sizeof(languages)); in register_device()
631 ctrl.wLength = sizeof(languages); in register_device()
632 ctrl.data = languages; in register_device()
646 ctrl.wIndex = __le16_to_cpu(languages[i]); in register_device()
/system/media/camera/docs/
Dmetadata_parser_xml.py130 languages = {}
132 languages[lang['name']] = lang.string
134 self.metadata.insert_type(tp['name'], 'typedef', languages=languages)
DCameraMetadataEnums.mako58 and not (entry.typedef and entry.typedef.languages.get('java')) \
68 and not (entry.typedef and entry.typedef.languages.get('java')) \
Dmetadata_helpers.py340 name = typedef.languages['java']
671 if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')):
678 if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')):
DCameraMetadataKeys.mako46 % if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')):
Dmetadata_model.py626 def __init__(self, name, parent, languages=None): argument
633 self._languages = languages or {}
636 def languages(self): member in Typedef
Dmetadata_template.mako35 % for (language, klass) in typedef.languages.iteritems():
/system/core/libusbhost/
Dusbhost.c453 __u16 languages[128]; in usb_device_get_string() local
460 memset(languages, 0, sizeof(languages)); in usb_device_get_string()
465 (USB_DT_STRING << 8) | 0, 0, languages, sizeof(languages), 0); in usb_device_get_string()
474 (USB_DT_STRING << 8) | id, languages[i], buffer, sizeof(buffer), 0); in usb_device_get_string()