Home
last modified time | relevance | path

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

/packages/apps/Gallery2/jni_jpegstream/src/
Djpegstream.cpp221 jbyteArray inBuffer, jint offset, jint inCount) { in OutputStream_writeInputBytes() argument
227 jbyte* in_buf = (jbyte*) env->GetByteArrayElements(inBuffer, 0); in OutputStream_writeInputBytes()
242 env->ReleaseByteArrayElements(inBuffer, in_buf, JNI_ABORT); in OutputStream_writeInputBytes()
247 jbyteArray inBuffer, jint offset, jint inCount) { in InputStream_readDecodedBytes() argument
253 jbyte* in_buf = (jbyte*) env->GetByteArrayElements(inBuffer, 0); in InputStream_readDecodedBytes()
269 env->ReleaseByteArrayElements(inBuffer, in_buf, JNI_ABORT); in InputStream_readDecodedBytes()
271 env->ReleaseByteArrayElements(inBuffer, in_buf, JNI_COMMIT); in InputStream_readDecodedBytes()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java99 byte[] inBuffer = new byte[4]; in testFileContent()
100 int numBytesRead = in.read(inBuffer); in testFileContent()
102 MoreAsserts.assertEquals(outBuffer, inBuffer); in testFileContent()
104 assertEquals(-1, in.read(inBuffer)); in testFileContent()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
DJPEGOutputStream.java139 native private int writeInputBytes(byte[] inBuffer, int offset, int inCount); in writeInputBytes() argument
DJPEGInputStream.java186 native private int readDecodedBytes( byte[] inBuffer, int offset, int inCount); in readDecodedBytes() argument