Home
last modified time | relevance | path

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

/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp442 for (int off = 0; off < s; off ++) { in Java_android_cts_rscpp_RSAllocationTest_test1DCopy() local
443 for (int count = 1; count <= s - off; count ++) { in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
444 passed &= helperCopy1D<float>(rs, s, off, count, true, RS_TYPE_FLOAT_32); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
445 passed &= helperCopy1D<char>(rs, s, off, count, true, RS_TYPE_SIGNED_8); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
446 passed &= helperCopy1D<short>(rs, s, off, count, true, RS_TYPE_SIGNED_16); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
447 passed &= helperCopy1D<int>(rs, s, off, count, true, RS_TYPE_SIGNED_32); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
448 passed &= helperCopy1D<double>(rs, s, off, count, true, RS_TYPE_FLOAT_64); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
452 for (int off = 0; off < s; off ++) { in Java_android_cts_rscpp_RSAllocationTest_test1DCopy() local
453 for (int count = 1; count <= s - off; count ++) { in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
454 passed &= helperFloatAllocationCopy1D(rs, s, off, count); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DAlteredCharSequenceTest.java70 int off = 1; in testGetChars() local
74 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
77 for (int i = off; i < end - start + off; i++) { in testGetChars()
84 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
85 for (int i = off; i < end - start + off; i++) { in testGetChars()
90 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c155 u32 off; member
203 b->off = 0; in new_buf_sz()
219 if (b->size - b->off < s) in buf_alloc()
221 char *ret = b->p + b->off; in buf_alloc()
222 b->off += s; in buf_alloc()
255 void buf_binder(buf_t *b, buf_t *off, void *ptr) { in buf_binder() argument
256 buf_u64(off, b->off); in buf_binder()
309 binder_rw(fd, 0, 0, buf->p, buf->off, NULL, &write_consumed); in binder_write()
310 if (write_consumed != buf->off) in binder_write()
327 trd->data_size = trdat ? trdat->off : 0; in do_send_txn()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationTest.java692 for (int off = 0; off < s; off ++) { in test1DCopyOperations()
693 for (int count = 1; count <= s - off; count ++) { in test1DCopyOperations()
694 helperFloatCopy(s, off, count, mode); in test1DCopyOperations()
695 helperByteCopy(s, off, count, mode); in test1DCopyOperations()
696 helperShortCopy(Element.I16(mRS), s, off, count, mode); in test1DCopyOperations() local
697 helperShortCopy(Element.F16(mRS), s, off, count, mode); in test1DCopyOperations() local
698 helperIntCopy(s, off, count, mode); in test1DCopyOperations()
699 helperBaseObjCopy(s, off, count, mode); in test1DCopyOperations()
704 for (int off = 0; off < s; off ++) { in test1DCopyOperations()
705 for (int count = 1; count <= s - off; count ++) { in test1DCopyOperations()
[all …]
/cts/apps/CtsVerifier/res/raw/
Dcone_obj70 s off
Dring_obj3536 s off
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DNativeDecoderTest.java244 public void write(byte[] b, int off, int len) throws IOException { in createSessionOutputBuffer() argument
246 write(b[off++]); in createSessionOutputBuffer()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeDecodeTest.java1120 int off = frameData.position(); in checkFrame() local
1123 testY = frameData.get(off + y * width + x) & 0xff; in checkFrame()
1124 … testU = frameData.get(off + width*height + 2*(y/2) * halfWidth + 2*(x/2)) & 0xff; in checkFrame()
1125 … testV = frameData.get(off + width*height + 2*(y/2) * halfWidth + 2*(x/2) + 1) & 0xff; in checkFrame()
1128 testY = frameData.get(off + y * width + x) & 0xff; in checkFrame()
1129 testU = frameData.get(off + width*height + (y/2) * halfWidth + (x/2)) & 0xff; in checkFrame()
1130 testV = frameData.get(off + width*height + halfWidth * (height / 2) + in checkFrame()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerFlakyNetworkTest.java320 public void write(byte[] b, int off, int len) throws IOException { in createSessionOutputBuffer() argument
322 write(b[off++]); in createSessionOutputBuffer()
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DTransportsListenerTest.kt187 override fun read(b: ByteArray?, off: Int, len: Int): Int { in <lambda>()
/cts/tests/tests/util/src/android/util/cts/
DBase64Test.java441 @Override public void write(byte[] b, int off, int len) throws IOException { in testOutputStream_ioExceptionDuringCloseAndWrite()
474 @Override public void write(byte[] b, int off, int len) throws IOException { in testOutputStream_ioExceptionDuringWrite()
/cts/tests/tests/webkit/src/android/webkit/cts/
DTracingControllerTest.java96 public void write(byte[] b, int off, int len) { in write() argument
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java1055 public int read(byte[] b, int off, int len) throws IOException { in read() argument
1057 final int bytesRead = mInputStream.read(b, off, len); in read()
1063 mPosition += mInputStream.read(b, off, len); in read()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DIRadioVoiceImpl.java697 public void sendBurstDtmf(int serial, String dtmf, int on, int off) { in sendBurstDtmf() argument
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt18377 field @Deprecated public static final String ANTIBANDING_OFF = "off";
18388 field @Deprecated public static final String FLASH_MODE_OFF = "off";