Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java544 ByteBuffer bufferReceivedSliced = bufferReceived.slice(); in echoUsbRequestLegacy() local
545 bufferReceivedSliced.position(positionInSlice); in echoUsbRequestLegacy()
546 bufferReceivedSliced.limit(limitInSlice); in echoUsbRequestLegacy()
551 boolean wasQueued = receive.queue(bufferReceivedSliced, size); in echoUsbRequestLegacy()
562 if (size > bufferSentSliced.limit() || size > bufferReceivedSliced.limit()) { in echoUsbRequestLegacy()
573 assertTrue(bufferReceivedSliced.limit() >= size); in echoUsbRequestLegacy()
575 assertEquals(size, bufferReceivedSliced.position()); in echoUsbRequestLegacy()
683 ByteBuffer bufferReceivedSliced = bufferReceived.slice(); in echoUsbRequest() local
684 bufferReceivedSliced.position(positionInSlice); in echoUsbRequest()
685 bufferReceivedSliced.limit(limitInSlice); in echoUsbRequest()
[all …]