Searched refs:usbdata (Results 1 – 5 of 5) sorted by relevance
/external/autotest/client/common_lib/cros/manual/ |
D | get_usb_devices.py | 92 usbdata = [] 96 usbdata = [dict(zip(re_table.header, row)) for row in fsm_results] 97 return usbdata 100 def extract_peri_device(usbdata, vid_pid): argument 110 for _data in usbdata: 116 def get_list_audio_device(usbdata): argument 122 for _data in usbdata: 128 def get_list_video_device(usbdata): argument 134 for _data in usbdata: 140 def get_list_mimo_device(usbdata): argument [all …]
|
/external/autotest/client/common_lib/cros/cfm/usb/ |
D | usb_device_collector.py | 67 usbdata = [] 71 usbdata = [dict(zip(re_table.header, row)) for row in fsm_results] 72 return usbdata 83 def _create_usb_device(self, usbdata): argument 85 vid=usbdata['Vendor'], 86 pid=usbdata['ProdID'], 87 product=usbdata.get('Product', 'Not available'), 88 interfaces=usbdata['intdriver'], 89 bus=int(usbdata['Bus']), 90 level=int(usbdata['Lev']), [all …]
|
/external/libmtp/src/ |
D | libusb-glue.c | 1202 PTPUSBBulkContainer usbdata; in ptp_usb_senddata() local 1214 usbdata.length = htod32(PTP_USB_BULK_HDR_LEN+size); in ptp_usb_senddata() 1215 usbdata.type = htod16(PTP_USB_CONTAINER_DATA); in ptp_usb_senddata() 1216 usbdata.code = htod16(ptp->Code); in ptp_usb_senddata() 1217 usbdata.trans_id= htod32(ptp->Transaction_ID); in ptp_usb_senddata() 1231 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata() 1237 ptp_init_send_memory_handler (&memhandler, (unsigned char *)&usbdata, wlen); in ptp_usb_senddata() 1301 PTPUSBBulkContainer usbdata; in ptp_usb_getdata() local 1307 memset(&usbdata,0,sizeof(usbdata)); in ptp_usb_getdata() 1311 ret = ptp_usb_getpacket(params, &usbdata, &rlen); in ptp_usb_getdata() [all …]
|
D | libusb1-glue.c | 1227 PTPUSBBulkContainer usbdata; in ptp_usb_senddata() local 1239 usbdata.length = htod32(PTP_USB_BULK_HDR_LEN+size); in ptp_usb_senddata() 1240 usbdata.type = htod16(PTP_USB_CONTAINER_DATA); in ptp_usb_senddata() 1241 usbdata.code = htod16(ptp->Code); in ptp_usb_senddata() 1242 usbdata.trans_id= htod32(ptp->Transaction_ID); in ptp_usb_senddata() 1256 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata() 1262 ptp_init_send_memory_handler (&memhandler, (unsigned char *)&usbdata, wlen); in ptp_usb_senddata() 1326 PTPUSBBulkContainer usbdata; in ptp_usb_getdata() local 1332 memset(&usbdata,0,sizeof(usbdata)); in ptp_usb_getdata() 1336 ret = ptp_usb_getpacket(params, &usbdata, &rlen); in ptp_usb_getdata() [all …]
|
D | libopenusb1-glue.c | 1210 PTPUSBBulkContainer usbdata; in ptp_usb_senddata() local 1221 usbdata.length = htod32(PTP_USB_BULK_HDR_LEN + size); in ptp_usb_senddata() 1222 usbdata.type = htod16(PTP_USB_CONTAINER_DATA); in ptp_usb_senddata() 1223 usbdata.code = htod16(ptp->Code); in ptp_usb_senddata() 1224 usbdata.trans_id = htod32(ptp->Transaction_ID); in ptp_usb_senddata() 1238 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata() 1247 ptp_init_send_memory_handler(&memhandler, (unsigned char *) &usbdata, wlen); in ptp_usb_senddata() 1310 PTPUSBBulkContainer usbdata; in ptp_usb_getdata() local 1319 memset(&usbdata, 0, sizeof (usbdata)); in ptp_usb_getdata() 1323 ret = ptp_usb_getpacket(params, &usbdata, &rlen); in ptp_usb_getdata() [all …]
|