Home
last modified time | relevance | path

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

/cts/tests/sensor/jni/
Dandroid_hardware_cts_SensorDirectReportTest.cpp26 jobject hardwareBufferObj, jbyteArray buffer, jint srcOffset, jint destOffset, jint count) { in readHardwareBuffer() argument
28 srcOffset < 0 || destOffset < 0 || count <= 0) { in readHardwareBuffer()
50 reinterpret_cast<const jbyte *>(address) + srcOffset); in readHardwareBuffer()
/cts/tests/tests/os/src/android/os/cts/
DMemoryFileTest.java53 private void checkWriteBytesInIllegalParameter(int srcOffset, int destOffset, int count) in checkWriteBytesInIllegalParameter() argument
57 mMemoryFile.writeBytes(data, srcOffset, destOffset, count); in checkWriteBytesInIllegalParameter()
136 private void checkReadBytesInIllegalParameter(int srcOffset, int destOffset, int count) in checkReadBytesInIllegalParameter() argument
140 mMemoryFile.readBytes(data, srcOffset, destOffset, count); in checkReadBytesInIllegalParameter()
/cts/tests/tests/proto/src/android/util/proto/cts/
DEncodedBufferTest.java316 private void testWriteFromThisBuffer(int chunkSize, int destOffset, int srcOffset, int size) in testWriteFromThisBuffer() argument
329 System.arraycopy(expected, srcOffset, expected, destOffset, size); in testWriteFromThisBuffer()
344 buffer.writeFromThisBuffer(srcOffset, size); in testWriteFromThisBuffer()
351 private void testWriteFromThisBufferFails(int chunkSize, int destOffset, int srcOffset, in testWriteFromThisBufferFails() argument
354 testWriteFromThisBuffer(chunkSize, destOffset, srcOffset, size); in testWriteFromThisBufferFails()
357 + " srcOffset=" + srcOffset + " size=" + size); in testWriteFromThisBufferFails()
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java85 public synchronized int readAt(long srcOffset, byte[] buffer, int dstOffset, int size) in readAt() argument
90 if (srcOffset >= mData.length) { in readAt()
93 if (srcOffset + size > mData.length) { in readAt()
94 size = mData.length - (int) srcOffset; in readAt()
96 System.arraycopy(mData, (int) srcOffset, buffer, dstOffset, size); in readAt()
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java143 byte[] buffer, int srcOffset, int destOffset, int count); in nativeReadHardwareBuffer() argument