Home
last modified time | relevance | path

Searched refs:mByteArray (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Gallery2/jni_jpegstream/src/
Dstream_wrapper.cpp24 mByteArray(NULL), in StreamWrapper()
57 mByteArray = reinterpret_cast<jbyteArray>(env->NewGlobalRef(tmp)); in init()
58 if (mByteArray == NULL || env->ExceptionCheck()){ in init()
62 mBytes = env->GetByteArrayElements(mByteArray, NULL); in init()
76 if (mByteArray != NULL) { in cleanup()
78 mEnv->ReleaseByteArrayElements(mByteArray, mBytes, JNI_ABORT); in cleanup()
81 mEnv->DeleteGlobalRef(mByteArray); in cleanup()
82 mByteArray = NULL; in cleanup()
Doutputstream_wrapper.cpp26 mEnv->ReleaseByteArrayElements(mByteArray, mBytes, JNI_COMMIT); in write()
36 mEnv->CallVoidMethod(mStream, sWriteID, mByteArray, offset, length); in write()
40 mBytes = mEnv->GetByteArrayElements(mByteArray, NULL); in write()
Dinputstream_wrapper.cpp28 mEnv->ReleaseByteArrayElements(mByteArray, mBytes, JNI_COMMIT); in read()
34 mByteArray, offset, length)); in read()
38 mBytes = mEnv->GetByteArrayElements(mByteArray, NULL); in read()
Dstream_wrapper.h39 jbyteArray mByteArray; variable
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DCountedDataInputStream.java32 private final byte mByteArray[] = new byte[8]; field in CountedDataInputStream
33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray);
100 readOrThrow(mByteArray, 0 ,2); in readShort()
110 readOrThrow(mByteArray, 0 , 4); in readInt()
120 readOrThrow(mByteArray, 0 , 8); in readLong()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DCountedDataInputStream.java32 private final byte mByteArray[] = new byte[8]; field in CountedDataInputStream
33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray);
104 readOrThrow(mByteArray, 0 , 2); in readShort()
114 readOrThrow(mByteArray, 0 , 4); in readInt()
124 readOrThrow(mByteArray, 0 , 8); in readLong()
/packages/apps/Camera2/src/com/android/camera/exif/
DCountedDataInputStream.java32 private final byte mByteArray[] = new byte[8]; field in CountedDataInputStream
33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray);
100 readOrThrow(mByteArray, 0 ,2); in readShort()
110 readOrThrow(mByteArray, 0 , 4); in readInt()
120 readOrThrow(mByteArray, 0 , 8); in readLong()