Home | History | Annotate | Download | only in device

Lines Matching defs:getEndpoint

437     private @NonNull UsbEndpoint getEndpoint(@NonNull UsbInterface iface, int direction) {
439 UsbEndpoint ep = iface.getEndpoint(i);
568 assertSame(in, finished.getEndpoint());
576 assertSame(out, finished.getEndpoint());
693 assertSame(in, finished.getEndpoint());
700 assertSame(out, finished.getEndpoint());
969 final UsbEndpoint in = getEndpoint(iface, UsbConstants.USB_DIR_IN);
970 final UsbEndpoint out = getEndpoint(iface, UsbConstants.USB_DIR_OUT);
1093 final UsbEndpoint in = getEndpoint(iface, UsbConstants.USB_DIR_IN);
1094 final UsbEndpoint out = getEndpoint(iface, UsbConstants.USB_DIR_OUT);
1486 if (!request.getEndpoint().equals(mOut)) {
1508 if (request.getEndpoint().equals(mOut)) {
1534 final UsbEndpoint in = getEndpoint(iface, UsbConstants.USB_DIR_IN);
1535 final UsbEndpoint out = getEndpoint(iface, UsbConstants.USB_DIR_OUT);
1674 final UsbEndpoint in = getEndpoint(iface, UsbConstants.USB_DIR_IN);
1675 final UsbEndpoint out = getEndpoint(iface, UsbConstants.USB_DIR_OUT);
1787 final UsbEndpoint in = getEndpoint(iface, UsbConstants.USB_DIR_IN);
1788 final UsbEndpoint out = getEndpoint(iface, UsbConstants.USB_DIR_OUT);
1826 nextTest(connection, getEndpoint(iface, UsbConstants.USB_DIR_IN),
1827 getEndpoint(iface, UsbConstants.USB_DIR_OUT), "done");
1867 int numSent = connection.bulkTransfer(getEndpoint(iface, UsbConstants.USB_DIR_OUT), null, 0,
2008 UsbEndpoint endpoint = iface.getEndpoint(endpointNum);
2100 assertEquals(-1, connection.bulkTransfer(getEndpoint(iface, UsbConstants.USB_DIR_OUT),
2102 assertEquals(-1, connection.bulkTransfer(getEndpoint(iface, UsbConstants.USB_DIR_OUT),
2104 assertEquals(-1, connection.bulkTransfer(getEndpoint(iface, UsbConstants.USB_DIR_IN),
2106 assertFalse((new UsbRequest()).initialize(connection, getEndpoint(iface,