Home
last modified time | relevance | path

Searched refs:mByteArray (Results 1 – 10 of 10) 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/core/jni/android/graphics/
DByteBufferStreamAdaptor.cpp193 : mJvm(jvm), mByteArray(jarray), mOffset(offset), mPosition(0), mLength(length) {} in ByteArrayStream()
208 env->DeleteGlobalRef(mByteArray); in ~ByteArrayStream()
221 env->GetByteArrayRegion(mByteArray, mPosition + mOffset, size, in read()
278 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.cpp329 jbyteArray mByteArray; member in JniOutputStream
334 mByteArray = env->NewByteArray(BYTE_ARRAY_LENGTH); in JniOutputStream()
335 if (mByteArray == nullptr) { in JniOutputStream()
341 mEnv->DeleteLocalRef(mByteArray); in ~JniOutputStream()
353 mEnv->SetByteArrayRegion(mByteArray, 0, len, reinterpret_cast<const jbyte*>(buf + offset)); in write()
359 mEnv->CallVoidMethod(mOutputStream, gOutputStreamClassInfo.mWriteMethod, mByteArray, in write()
404 jbyteArray mByteArray; member in JniInputStream
409 mByteArray = env->NewByteArray(BYTE_ARRAY_LENGTH); in JniInputStream()
410 if (mByteArray == nullptr) { in JniInputStream()
416 mEnv->DeleteLocalRef(mByteArray); in ~JniInputStream()
[all …]
Dandroid_hardware_camera2_CameraMetadata.cpp62 jclass mByteArray; member
623 gMetadataOffsets.mByteArray = MakeGlobalRefOrDie(env, byteClazz); in register_android_hardware_camera2_CameraMetadata()
774 valueClazz = gMetadataOffsets.mByteArray; in CameraMetadata_getAllVendorKeys()