OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mByteArray
(Results
1 - 16
of
16
) sorted by null
/frameworks/av/media/img_utils/src/
ByteArrayOutput.cpp
33
if (
mByteArray
.appendArray(buf + offset, count) < 0) {
41
mByteArray
.clear();
46
return
mByteArray
.size();
50
return
mByteArray
.array();
/packages/apps/Gallery2/jni_jpegstream/src/
stream_wrapper.cpp
24
mByteArray
(NULL),
57
mByteArray
= reinterpret_cast<jbyteArray>(env->NewGlobalRef(tmp));
58
if (
mByteArray
== NULL || env->ExceptionCheck()){
62
mBytes = env->GetByteArrayElements(
mByteArray
, NULL);
76
if (
mByteArray
!= NULL) {
78
mEnv->ReleaseByteArrayElements(
mByteArray
, mBytes, JNI_ABORT);
81
mEnv->DeleteGlobalRef(
mByteArray
);
82
mByteArray
= NULL;
outputstream_wrapper.cpp
26
mEnv->ReleaseByteArrayElements(
mByteArray
, mBytes, JNI_COMMIT);
36
mEnv->CallVoidMethod(mStream, sWriteID,
mByteArray
, offset, length);
40
mBytes = mEnv->GetByteArrayElements(
mByteArray
, NULL);
stream_wrapper.h
39
jbyteArray
mByteArray
;
inputstream_wrapper.cpp
28
mEnv->ReleaseByteArrayElements(
mByteArray
, mBytes, JNI_COMMIT);
34
mByteArray
, offset, length));
38
mBytes = mEnv->GetByteArrayElements(
mByteArray
, NULL);
/libnativehelper/include/nativehelper/
ScopedBytes.h
32
: mEnv(env), mObject(object),
mByteArray
(NULL), mPtr(NULL)
37
mByteArray
= reinterpret_cast<jbyteArray>(mObject);
38
mPtr = mEnv->GetByteArrayElements(
mByteArray
, NULL);
45
if (
mByteArray
!= NULL) {
46
mEnv->ReleaseByteArrayElements(
mByteArray
, mPtr, readOnly ? JNI_ABORT : 0);
53
jbyteArray
mByteArray
;
/frameworks/base/core/tests/benchmarks/src/android/os/
ParcelArrayBenchmark.java
30
private byte[]
mByteArray
;
42
mByteArray
= new byte[mSize];
47
mByteParcel.writeByteArray(
mByteArray
);
63
mWriteParcel.writeByteArray(
mByteArray
);
77
mByteParcel.readByteArray(
mByteArray
);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
CountedDataInputStream.java
32
private final byte
mByteArray
[] = new byte[8];
33
private final ByteBuffer mByteBuffer = ByteBuffer.wrap(
mByteArray
);
100
readOrThrow(
mByteArray
, 0 ,2);
110
readOrThrow(
mByteArray
, 0 , 4);
120
readOrThrow(
mByteArray
, 0 , 8);
/packages/apps/Camera2/src/com/android/camera/exif/
CountedDataInputStream.java
32
private final byte
mByteArray
[] = new byte[8];
33
private final ByteBuffer mByteBuffer = ByteBuffer.wrap(
mByteArray
);
100
readOrThrow(
mByteArray
, 0 ,2);
110
readOrThrow(
mByteArray
, 0 , 4);
120
readOrThrow(
mByteArray
, 0 , 8);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
CountedDataInputStream.java
32
private final byte
mByteArray
[] = new byte[8];
33
private final ByteBuffer mByteBuffer = ByteBuffer.wrap(
mByteArray
);
100
readOrThrow(
mByteArray
, 0 ,2);
110
readOrThrow(
mByteArray
, 0 , 4);
120
readOrThrow(
mByteArray
, 0 , 8);
/packages/apps/Messaging/src/com/android/messaging/util/exif/
CountedDataInputStream.java
32
private final byte
mByteArray
[] = new byte[8];
33
private final ByteBuffer mByteBuffer = ByteBuffer.wrap(
mByteArray
);
104
readOrThrow(
mByteArray
, 0 , 2);
114
readOrThrow(
mByteArray
, 0 , 4);
124
readOrThrow(
mByteArray
, 0 , 8);
/frameworks/av/media/img_utils/include/img_utils/
ByteArrayOutput.h
76
Vector<uint8_t>
mByteArray
;
/frameworks/ex/framesequence/jni/
Stream.h
79
mByteArray
(byteArray),
88
const jbyteArray
mByteArray
;
Stream.cpp
129
gInputStreamClassInfo.read,
mByteArray
, 0, requested);
134
mEnv->GetByteArrayRegion(
mByteArray
, 0, bytesRead, (jbyte*)dstBuffer);
/frameworks/base/core/jni/
android_hardware_camera2_DngCreator.cpp
326
jbyteArray
mByteArray
;
331
mByteArray
= env->NewByteArray(BYTE_ARRAY_LENGTH);
332
if (
mByteArray
== nullptr) {
338
mEnv->DeleteLocalRef(
mByteArray
);
350
mEnv->SetByteArrayRegion(
mByteArray
, 0, len, reinterpret_cast<const jbyte*>(buf + offset));
356
mEnv->CallVoidMethod(mOutputStream, gOutputStreamClassInfo.mWriteMethod,
mByteArray
,
401
jbyteArray
mByteArray
;
406
mByteArray
= env->NewByteArray(BYTE_ARRAY_LENGTH);
407
if (
mByteArray
== nullptr) {
413
mEnv->DeleteLocalRef(
mByteArray
);
[
all
...]
android_hardware_camera2_CameraMetadata.cpp
63
jclass
mByteArray
;
641
gMetadataOffsets.
mByteArray
= MakeGlobalRefOrDie(env, byteClazz);
742
valueClazz = gMetadataOffsets.
mByteArray
;
Completed in 352 milliseconds