Searched refs:isSend (Results 1 – 2 of 2) sorted by relevance
298 boolean isSend = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in queueIfConnectionOpen()317 Preconditions.checkArgument(!(buffer.isReadOnly() && !isSend), "buffer can not be " in queueIfConnectionOpen()323 if (isSend) { in queueIfConnectionOpen()350 boolean isSend = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); in dequeue()369 if (isSend) { in dequeue()383 bytesTransferred = native_dequeue_array(mBuffer.array(), mLength, isSend); in dequeue()
1451 public String getType(boolean isSend) { in getType() argument1452 return (isSend ? "s" : "r") + getPartType(); in getType()