Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/mtp/
DMtpDevice.cpp130 struct usb_endpoint_descriptor *ep; in open() local
137 ep = (struct usb_endpoint_descriptor *)usb_descriptor_iter_next(&iter); in open()
138 if (ep && ep->bDescriptorType == USB_DT_SS_ENDPOINT_COMP) { in open()
140 ep_ss_ep_comp_desc = (usb_ss_ep_comp_descriptor*)ep; in open()
141 ep = (struct usb_endpoint_descriptor *)usb_descriptor_iter_next(&iter); in open()
144 if (!ep || ep->bDescriptorType != USB_DT_ENDPOINT) { in open()
150 if (ep->bmAttributes == USB_ENDPOINT_XFER_BULK) { in open()
151 if (ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in open()
152 ep_in_desc = ep; in open()
154 ep_out_desc = ep; in open()
[all …]
DMtpDataPacket.h111 int readDataHeader(struct usb_request *ep);
113 int writeDataHeader(struct usb_request *ep, uint32_t length);
114 int write(struct usb_request *ep);
115 int write(struct usb_request *ep, void* buffer, uint32_t length);
/frameworks/base/core/java/android/os/
DCommonTimeConfig.java160 public int setMasterElectionEndpoint(InetSocketAddress ep) { in setMasterElectionEndpoint() argument
163 return mUtils.transactSetSockaddr(METHOD_SET_MASTER_ELECTION_ENDPOINT, ep); in setMasterElectionEndpoint()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java203 UsbEndpoint ep = iface.getEndpoint(i); in connect() local
204 if (ep.getDirection() == UsbConstants.USB_DIR_IN) { in connect()
207 bulkIn = ep; in connect()
212 bulkOut = ep; in connect()
/frameworks/base/docs/html/tools/adk/
Dadk.jd603 EP_RECORD *ep;
617 ep = inEp;
619 ep = outEp;
621 ep = NULL;
623 if (ep) {
624 ep->epAddr = epDesc->bEndpointAddress & 0x7f;
625 ep->Attr = epDesc->bmAttributes;
626 ep->MaxPktSize = epDesc->wMaxPacketSize;
627 ep->sndToggle = bmSNDTOG0;
628 ep->rcvToggle = bmRCVTOG0;
/frameworks/base/core/java/android/provider/
DMediaStore.java1426 for (String ep : EXTERNAL_PATHS) { in getContentUriForPath()
1427 if (path.startsWith(ep)) { in getContentUriForPath()