Home
last modified time | relevance | path

Searched refs:inBuffer (Results 1 – 5 of 5) 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/apps/Messaging/src/com/android/messaging/mmslib/util/
DDrmConvertSession.java85 public byte[] convert(byte[] inBuffer, int size) { in convert() argument
87 if (inBuffer != null) { in convert()
90 if (size != inBuffer.length) { in convert()
92 System.arraycopy(inBuffer, 0, buf, 0, size); in convert()
95 convertedStatus = mDrmClient.convertData(mConvertSessionId, inBuffer); in convert()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java164 byte[] inBuffer = new byte[4]; in testFileContent()
165 int numBytesRead = in.read(inBuffer); in testFileContent()
167 MoreAsserts.assertEquals(outBuffer, inBuffer); in testFileContent()
169 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