Home
last modified time | relevance | path

Searched refs:bulk_in (Results 1 – 7 of 7) sorted by relevance

/system/core/fastboot/device/
Dusb.cpp79 D("about to write (fd=%d, len=%d)", h->bulk_in.get(), len); in usb_ffs_write()
85 int n = write(h->bulk_in, buf, write_len); in usb_ffs_write()
87 D("ERROR: fd = %d, n = %d: %s", h->bulk_in.get(), n, strerror(errno)); in usb_ffs_write()
94 D("[ done fd=%d ]", h->bulk_in.get()); in usb_ffs_write()
200 h->bulk_in.reset(); in usb_ffs_close()
Dusb_client.cpp190 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()
Dusb.h52 android::base::unique_fd bulk_in; // "in" from the host's perspective => sink for adbd member
/system/core/adb/client/
Dusb_libusb.cpp92 unique_device_handle&& device_handle, uint8_t interface, uint8_t bulk_in, in usb_handle()
101 bulk_in(bulk_in), in usb_handle()
144 uint8_t bulk_in; member
224 uint8_t bulk_in = 0, bulk_out = 0; in process_device() local
268 bulk_in = 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()
367 std::move(handle), interface_num, bulk_in, in process_device()
599 info->transfer->endpoint = h->bulk_in; in usb_read()
/system/core/adb/daemon/
Dusb_ffs.h22 android::base::unique_fd* bulk_in);
Dusb_ffs.cpp254 unique_fd control, bulk_out, bulk_in; in open_functionfs() local
311 bulk_in.reset(adb_open(USB_FFS_ADB_IN, O_WRONLY)); in open_functionfs()
312 if (bulk_in < 0) { in open_functionfs()
318 *out_bulk_in = std::move(bulk_in); in open_functionfs()
Dusb.cpp747 unique_fd bulk_in; 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()