Lines Matching refs:timeout
177 * @param timeout in milliseconds
182 int index, byte[] buffer, int length, int timeout) {
183 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout);
202 * @param timeout in milliseconds
207 byte[] buffer, int offset, int length, int timeout) {
210 buffer, offset, length, timeout);
229 * @param timeout in milliseconds, 0 is infinite
234 byte[] buffer, int length, int timeout) {
235 return bulkTransfer(endpoint, buffer, 0, length, timeout);
249 * @param timeout in milliseconds, 0 is infinite
254 byte[] buffer, int offset, int length, int timeout) {
260 return native_bulk_request(endpoint.getAddress(), buffer, offset, length, timeout);
303 // Does not happen, infinite timeout
324 * @param timeout timeout in milliseconds. If 0 this method does not wait.
332 * @throws TimeoutException if no request was received in {@code timeout} milliseconds.
334 public UsbRequest requestWait(long timeout) throws TimeoutException {
335 timeout = Preconditions.checkArgumentNonnegative(timeout, "timeout");
337 UsbRequest request = native_request_wait(timeout);
381 int index, byte[] buffer, int offset, int length, int timeout);
383 int offset, int length, int timeout);
384 private native UsbRequest native_request_wait(long timeout) throws TimeoutException;