Searched refs:readBuffer (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | ByteBufferTest.java | 132 ByteBuffer readBuffer = ByteBuffer.allocate(byteArray.length); in testArraybackedFBTextureReadPixels() local 136 readBuffer.position(1); in testArraybackedFBTextureReadPixels() 147 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, readBuffer); in testArraybackedFBTextureReadPixels() 151 texelData.get(i + texelData.position()), readBuffer.get(i + readBuffer.position())); in testArraybackedFBTextureReadPixels()
|
/cts/apps/CtsVerifier/jni/midi/ |
D | MidiTestManager.cpp | 251 uint8_t readBuffer[128]; in ProcessInput() local 266 AMidiOutputPort_receive(mMidiReceivePort, &opCode, readBuffer, 128, in ProcessInput() 270 logBytes(readBuffer, numBytesReceived); in ProcessInput() 276 readBuffer[0] != kMIDISysCmd_ActiveSensing && in ProcessInput() 277 readBuffer[0] != kMIDISysCmd_Reset) { in ProcessInput() 283 if (totalNumReceived == 0 && readBuffer[0] != makeMIDICmd(kMIDIChanCmd_Control, 0)) { in ProcessInput() 291 if (!matchStream(readBuffer, numBytesReceived)) { in ProcessInput()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | StrictJarFileTest.java | 359 byte[] readBuffer = new byte[128]; in readUtf8String() 361 while ((byteCount = inputStream.read(readBuffer)) != -1) { in readUtf8String() 362 baos.write(readBuffer, 0, byteCount); in readUtf8String()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 1019 byte[] readBuffer = new byte[10]; in testOpenContentResolverClose() 1034 Os.pread(readPfd.getFileDescriptor(), readBuffer, 0, 10, 0); in testOpenContentResolverClose() local 1037 assertThat(readBuffer).isEqualTo(writeBuffer); in testOpenContentResolverClose() 3320 byte[] readBuffer = new byte[10]; in assertRWR() 3325 Os.pwrite(readFd, readBuffer, 0, 10, 0); in assertRWR() 3327 Os.pread(readFd, readBuffer, 0, 10, 0); in assertRWR() 3330 assertThat(readBuffer).isEqualTo(new byte[10]); in assertRWR() 3336 Os.pread(readFd, readBuffer, 0, 10, 0); in assertRWR() 3339 assertThat(readBuffer).isEqualTo(writeBuffer); in assertRWR()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 1385 ByteBuffer readBuffer = mBufferRecycler.get(); in run() local 1403 mRequestsInFlight.put(readRequest, new RequestState(readBuffer, in run() 1419 isQueued = readRequest.queue(readBuffer, 9); in run()
|