Searched refs:bulk_in (Results 1 – 6 of 6) sorted by relevance
/system/core/adb/daemon/ |
D | usb_legacy.cpp | 87 if (!open_functionfs(&h->control, &h->bulk_out, &h->bulk_in)) { in init_functionfs() 92 h->write_aiob.fd = h->bulk_in.get(); in init_functionfs() 126 D("about to write (fd=%d, len=%d)", h->bulk_in.get(), len); in usb_ffs_write() 132 int n = adb_write(h->bulk_in, buf, write_len); in usb_ffs_write() 134 D("ERROR: fd = %d, n = %d: %s", h->bulk_in.get(), n, strerror(errno)); in usb_ffs_write() 141 D("[ done fd=%d ]", h->bulk_in.get()); in usb_ffs_write() 246 err = ioctl(h->bulk_in.get(), FUNCTIONFS_CLEAR_HALT); in usb_ffs_kick() 248 D("[ kick: source (fd=%d) clear halt failed (%d) ]", h->bulk_in.get(), errno); in usb_ffs_kick() 262 TEMP_FAILURE_RETRY(dup2(dummy_fd.get(), h->bulk_in.get())); in usb_ffs_kick() 270 h->bulk_in.reset(); in usb_ffs_close()
|
D | usb_ffs.cpp | 213 unique_fd control, bulk_out, bulk_in; in open_functionfs() local 268 bulk_in.reset(adb_open(USB_FFS_ADB_IN, O_WRONLY)); in open_functionfs() 269 if (bulk_in < 0) { in open_functionfs() 275 *out_bulk_in = std::move(bulk_in); in open_functionfs()
|
D | usb.cpp | 722 unique_fd bulk_in; in usb_ffs_open_thread() local 723 if (!open_functionfs(&control, &bulk_out, &bulk_in)) { in usb_ffs_open_thread() 733 std::move(control), std::move(bulk_out), std::move(bulk_in), in usb_ffs_open_thread()
|
/system/core/adb/daemon/include/adbd/ |
D | usb.h | 53 android::base::unique_fd bulk_in; // "in" from the host's perspective => sink for adbd member 66 android::base::unique_fd* bulk_in);
|
/system/core/adb/client/ |
D | usb_libusb.cpp | 93 unique_device_handle&& device_handle, uint8_t interface, uint8_t bulk_in, in usb_handle() 102 bulk_in(bulk_in), in usb_handle() 145 uint8_t bulk_in; member 225 uint8_t bulk_in = 0, bulk_out = 0; in process_device() local 269 bulk_in = endpoint_addr; in process_device() 311 << StringPrintf("bulk_in = %#x, bulk_out = %#x", bulk_in, bulk_out); in process_device() 335 for (uint8_t endpoint : {bulk_in, bulk_out}) { in process_device() 368 std::move(handle), interface_num, bulk_in, in process_device() 600 info->transfer->endpoint = h->bulk_in; in usb_read()
|
/system/core/fastboot/device/ |
D | usb_client.cpp | 190 h->bulk_in.reset(); in CloseFunctionFs() 227 h->bulk_in.reset(open(kUsbFfsFastbootIn, O_WRONLY)); in InitFunctionFs() 228 if (h->bulk_in < 0) { in InitFunctionFs() 234 h->write_aiob.fd = h->bulk_in.get(); in InitFunctionFs()
|