Home
last modified time | relevance | path

Searched refs:mByteArray (Results 1 – 11 of 11) 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/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/libs/hwui/jni/
DByteBufferStreamAdaptor.cpp174 : mJvm(jvm), mByteArray(jarray), mOffset(offset), mPosition(0), mLength(length) {} in ByteArrayStream()
189 env->DeleteGlobalRef(mByteArray); in ~ByteArrayStream()
202 env->GetByteArrayRegion(mByteArray, mPosition + mOffset, size, in read()
259 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.cpp345 jbyteArray mByteArray; member in JniOutputStream
350 mByteArray = env->NewByteArray(BYTE_ARRAY_LENGTH); in JniOutputStream()
351 if (mByteArray == nullptr) { in JniOutputStream()
357 mEnv->DeleteLocalRef(mByteArray); in ~JniOutputStream()
369 mEnv->SetByteArrayRegion(mByteArray, 0, len, reinterpret_cast<const jbyte*>(buf + offset)); in write()
375 mEnv->CallVoidMethod(mOutputStream, gOutputStreamClassInfo.mWriteMethod, mByteArray, in write()
420 jbyteArray mByteArray; member in JniInputStream
425 mByteArray = env->NewByteArray(BYTE_ARRAY_LENGTH); in JniInputStream()
426 if (mByteArray == nullptr) { in JniInputStream()
432 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()
/frameworks/base/apex/media/framework/java/android/media/
DMediaParser.java1918 private ParsableByteArray mByteArray; field in MediaParser.ParsableByteArrayAdapter
1923 mByteArray = byteArray; in resetWithByteArray()
1932 mByteArray.readBytes(buffer, offset, readLength); in read()