Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 – 11 of 11) sorted by relevance

/system/core/adb/client/
Dusb_libusb.cpp160 static bool endpoint_is_output(uint8_t endpoint) { in endpoint_is_output() argument
161 return (endpoint & LIBUSB_ENDPOINT_DIR_MASK) == LIBUSB_ENDPOINT_OUT; in endpoint_is_output()
164 static bool should_perform_zero_transfer(uint8_t endpoint, size_t write_length, uint16_t zero_mask)… in should_perform_zero_transfer() argument
165 return endpoint_is_output(endpoint) && write_length != 0 && zero_mask != 0 && in should_perform_zero_transfer()
238 const auto& endpoint_desc = interface_desc.endpoint[endpoint_num]; in poll_for_devices()
325 for (uint8_t endpoint : {bulk_in, bulk_out}) { in poll_for_devices()
326 rc = libusb_clear_halt(handle.get(), endpoint); in poll_for_devices()
329 << "' endpoint 0x" << std::hex << endpoint << ": " in poll_for_devices()
422 if (should_perform_zero_transfer(transfer->endpoint, transfer->length, info->zero_mask)) { in perform_usb_transfer()
472 info->transfer->endpoint = h->bulk_out; in usb_write()
[all …]
Dusb_osx.cpp327 UInt8 endpoint; in CheckInterface() local
365 for (endpoint = 1; endpoint <= interfaceNumEndpoints; endpoint++) { in CheckInterface()
372 kr = (*interface)->GetPipeProperties(interface, endpoint, &direction, in CheckInterface()
383 handle->bulkIn = endpoint; in CheckInterface()
388 handle->bulkOut = endpoint; in CheckInterface()
Dusb_linux.cpp306 urb->endpoint = h->ep_out; in usb_bulk_write()
345 urb->endpoint = h->ep_in; in usb_bulk_read()
/system/core/fastboot/
Dusb_osx.cpp193 for (UInt8 endpoint = 1; endpoint <= interfaceNumEndpoints; endpoint++) { in try_interfaces() local
200 kr = (*interface)->GetPipeProperties(interface, endpoint, in try_interfaces()
211 handle->bulkIn = endpoint; in try_interfaces()
214 handle->bulkOut = endpoint; in try_interfaces()
221 ERR("could not get pipe properties for endpoint %u (%08x)\n", endpoint, kr); in try_interfaces()
/system/core/libusbhost/include/usbhost/
Dusbhost.h50 int endpoint; member
217 int endpoint,
/system/core/libusbhost/
Dusbhost.c608 int endpoint, in usb_device_bulk_transfer() argument
620 ctrl.ep = endpoint; in usb_device_bulk_transfer()
648 urb->endpoint = ep_desc->bEndpointAddress; in usb_request_new()
659 req->endpoint = urb->endpoint; in usb_request_new()
/system/chre/platform/shared/idl/
Dhost_messages.fbs22 /// Identifies the host-side endpoint on the host that sent or should receive
24 /// elsewhere that indicates that the endpoint is unspecified.
/system/sepolicy/public/
Dte_macros99 # Define types for endpoint and channel sockets.
111 # Allow the init process to create the initial endpoint socket.
113 # Allow the server domain to use the endpoint socket and accept connections on it.
128 # Allow client to open the service endpoint file.
131 # Allow the client to connect to endpoint socket.
Dfile.te283 # PDX endpoint types
/system/core/adb/
DSERVICES.TXT144 <local> is the host-specific endpoint (e.g. tcp:9000).
145 <remote> is the device-specific endpoint.
Dprotocol.txt240 endpoint at any given time. The protocol remains unchanged, but the