Home
last modified time | relevance | path

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

/frameworks/av/media/img_utils/src/
DByteArrayOutput.cpp33 if (mByteArray.appendArray(buf + offset, count) < 0) { in write()
41 mByteArray.clear(); in close()
46 return mByteArray.size(); in getSize()
50 return mByteArray.array(); in getArray()
/frameworks/base/core/tests/benchmarks/src/android/os/
DParcelArrayBenchmark.java30 private byte[] mByteArray; field in ParcelArrayBenchmark
42 mByteArray = new byte[mSize]; in setUp()
47 mByteParcel.writeByteArray(mByteArray); in setUp()
63 mWriteParcel.writeByteArray(mByteArray); in timeWriteByteArray()
77 mByteParcel.readByteArray(mByteArray); in timeReadByteArray()
/frameworks/base/packages/WallpaperCropper/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()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DParcelArrayPerfTest.java50 private byte[] mByteArray; field in ParcelArrayPerfTest
66 mByteArray = new byte[mSize]; in setUp()
71 mByteParcel.writeByteArray(mByteArray); in setUp()
89 mWriteParcel.writeByteArray(mByteArray); in timeWriteByteArray()
107 mByteParcel.readByteArray(mByteArray); in timeReadByteArray()
/frameworks/base/libs/hwui/jni/
DByteBufferStreamAdaptor.cpp175 : mJvm(jvm), mByteArray(jarray), mOffset(offset), mPosition(0), mLength(length) {} in ByteArrayStream()
190 env->DeleteGlobalRef(mByteArray); in ~ByteArrayStream()
203 env->GetByteArrayRegion(mByteArray, mPosition + mOffset, size, in read()
260 jbyteArray mByteArray; member in ByteArrayStream
/frameworks/av/media/img_utils/include/img_utils/
DByteArrayOutput.h76 Vector<uint8_t> mByteArray;
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp346 jbyteArray mByteArray; member in JniOutputStream
351 mByteArray = env->NewByteArray(BYTE_ARRAY_LENGTH); in JniOutputStream()
352 if (mByteArray == nullptr) { in JniOutputStream()
358 mEnv->DeleteLocalRef(mByteArray); in ~JniOutputStream()
370 mEnv->SetByteArrayRegion(mByteArray, 0, len, reinterpret_cast<const jbyte*>(buf + offset)); in write()
376 mEnv->CallVoidMethod(mOutputStream, gOutputStreamClassInfo.mWriteMethod, mByteArray, in write()
421 jbyteArray mByteArray; member in JniInputStream
426 mByteArray = env->NewByteArray(BYTE_ARRAY_LENGTH); in JniInputStream()
427 if (mByteArray == nullptr) { in JniInputStream()
433 mEnv->DeleteLocalRef(mByteArray); in ~JniInputStream()
[all …]
Dandroid_hardware_camera2_CameraMetadata.cpp63 jclass mByteArray; member
692 gMetadataOffsets.mByteArray = MakeGlobalRefOrDie(env, byteClazz); in register_android_hardware_camera2_CameraMetadata()
839 valueClazz = gMetadataOffsets.mByteArray; in CameraMetadata_getAllVendorKeys()