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/ex/framesequence/jni/
DStream.h79 mByteArray(byteArray), in JavaInputStream()
88 const jbyteArray mByteArray; variable
DStream.cpp129 gInputStreamClassInfo.read, mByteArray, 0, requested); in doRead()
134 mEnv->GetByteArrayRegion(mByteArray, 0, bytesRead, (jbyte*)dstBuffer); in doRead()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp326 jbyteArray mByteArray; member in JniOutputStream
331 mByteArray = env->NewByteArray(BYTE_ARRAY_LENGTH); in JniOutputStream()
332 if (mByteArray == nullptr) { in JniOutputStream()
338 mEnv->DeleteLocalRef(mByteArray); in ~JniOutputStream()
350 mEnv->SetByteArrayRegion(mByteArray, 0, len, reinterpret_cast<const jbyte*>(buf + offset)); in write()
356 mEnv->CallVoidMethod(mOutputStream, gOutputStreamClassInfo.mWriteMethod, mByteArray, in write()
401 jbyteArray mByteArray; member in JniInputStream
406 mByteArray = env->NewByteArray(BYTE_ARRAY_LENGTH); in JniInputStream()
407 if (mByteArray == nullptr) { in JniInputStream()
413 mEnv->DeleteLocalRef(mByteArray); in ~JniInputStream()
[all …]
Dandroid_hardware_camera2_CameraMetadata.cpp63 jclass mByteArray; member
641 gMetadataOffsets.mByteArray = MakeGlobalRefOrDie(env, byteClazz); in register_android_hardware_camera2_CameraMetadata()
742 valueClazz = gMetadataOffsets.mByteArray; in CameraMetadata_getAllVendorKeys()
/frameworks/av/media/img_utils/include/img_utils/
DByteArrayOutput.h76 Vector<uint8_t> mByteArray;