Searched refs:byteBuffer (Results 26 - 34 of 34) sorted by relevance

12

/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp713 jobject byteBuffer = NULL; local
748 byteBuffer = env->NewDirectByteBuffer(pData, dataSize);
749 if ((byteBuffer == NULL) && (env->ExceptionCheck() == false)) {
757 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer);
H A Dandroid_media_ImageWriter.cpp732 jobject byteBuffer; local
764 byteBuffer = env->NewDirectByteBuffer(pData, dataSize);
765 if ((byteBuffer == NULL) && (env->ExceptionCheck() == false)) {
773 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer);
/frameworks/base/services/net/java/android/net/apf/
H A DApfFilter.java556 ByteBuffer byteBuffer = ByteBuffer.wrap(packet);
569 optionLifetime = getUint16(byteBuffer, offset);
572 optionLifetime = getUint32(byteBuffer, offset);
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java838 final ByteBuffer byteBuffer = charset.encode(originalString);
839 // byteBuffer.array() "may" return byte array which is larger than
840 // byteBuffer.remaining(). Here, we keep on the safe side.
841 final byte[] bytes = new byte[byteBuffer.remaining()];
842 byteBuffer.get(bytes);
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java1030 ByteBuffer byteBuffer = toByteBuffer(count, indices);
1031 byte[] array = byteBuffer.array();
1032 int offset = byteBuffer.arrayOffset();
1043 ByteBuffer byteBuffer = toByteBuffer(count * 2, indices);
1044 charBuffer = byteBuffer.asCharBuffer();
1077 ByteBuffer byteBuffer = pointer.mTempByteBuffer;
1088 byte d = byteBuffer.get(byteOffset);
1093 byte d = byteBuffer.get(byteOffset);
1098 ShortBuffer shortBuffer = byteBuffer.asShortBuffer();
1104 IntBuffer intBuffer = byteBuffer
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSupplicantStaIfaceHal.java817 ByteBuffer byteBuffer = ByteBuffer.wrap(bytes).order(ByteOrder.BIG_ENDIAN);
818 byteBuffer.putShort(categ);
819 byteBuffer.put(oui);
820 byteBuffer.putShort(subCateg);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceHal.java1910 ByteBuffer byteBuffer = ByteBuffer.wrap(bytes).order(ByteOrder.BIG_ENDIAN);
1911 byteBuffer.putShort(categ);
1912 byteBuffer.put(oui);
1913 byteBuffer.putShort(subCateg);
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp2797 jobject byteBuffer = nullptr; local
2807 byteBuffer = _env->NewDirectByteBuffer(ptr, (jlong) bufferSize);
2810 return byteBuffer;
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp2257 jobject byteBuffer = _env->NewDirectByteBuffer(ptr, (jlong) bufferSize); local
2258 return byteBuffer;

Completed in 316 milliseconds

12