Searched refs:bulk_out (Results 1 – 7 of 7) sorted by relevance
/system/core/fastboot/device/ |
D | usb.cpp | 99 D("about to read (fd=%d, len=%d)", h->bulk_out.get(), len); in usb_ffs_read() 106 int n = read(h->bulk_out, buf, read_len); in usb_ffs_read() 108 D("ERROR: fd = %d, n = %d: %s", h->bulk_out.get(), n, strerror(errno)); in usb_ffs_read() 125 D("[ done fd=%d ]", h->bulk_out.get()); in usb_ffs_read() 199 h->bulk_out.reset(); in usb_ffs_close()
|
D | usb_client.cpp | 191 h->bulk_out.reset(); in CloseFunctionFs() 221 h->bulk_out.reset(open(kUsbFfsFastbootOut, O_RDONLY)); in InitFunctionFs() 222 if (h->bulk_out < 0) { in InitFunctionFs() 233 h->read_aiob.fd = h->bulk_out.get(); in InitFunctionFs()
|
D | usb.h | 51 android::base::unique_fd bulk_out; // "out" from the host's perspective => source for adbd member
|
/system/core/adb/client/ |
D | usb_libusb.cpp | 93 uint8_t bulk_out, size_t zero_mask, size_t max_packet_size) in usb_handle() 102 bulk_out(bulk_out), in usb_handle() 145 uint8_t bulk_out; member 224 uint8_t bulk_in = 0, bulk_out = 0; in process_device() local 264 bulk_out = endpoint_addr; in process_device() 310 << StringPrintf("bulk_in = %#x, bulk_out = %#x", bulk_in, bulk_out); in process_device() 334 for (uint8_t endpoint : {bulk_in, bulk_out}) { in process_device() 368 bulk_out, zero_mask, packet_size)); in process_device() 576 info->transfer->endpoint = h->bulk_out; in usb_write()
|
/system/core/adb/daemon/ |
D | usb_ffs.h | 21 bool open_functionfs(android::base::unique_fd* control, android::base::unique_fd* bulk_out,
|
D | usb_ffs.cpp | 254 unique_fd control, bulk_out, bulk_in; in open_functionfs() local 305 bulk_out.reset(adb_open(USB_FFS_ADB_OUT, O_RDONLY)); in open_functionfs() 306 if (bulk_out < 0) { in open_functionfs() 319 *out_bulk_out = std::move(bulk_out); in open_functionfs()
|
D | usb.cpp | 746 unique_fd bulk_out; in usb_ffs_open_thread() local 748 if (!open_functionfs(&control, &bulk_out, &bulk_in)) { in usb_ffs_open_thread() 758 std::move(control), std::move(bulk_out), std::move(bulk_in), in usb_ffs_open_thread()
|