Home
last modified time | relevance | path

Searched refs:mBytes (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Gallery2/jni_jpegstream/src/
Dstream_wrapper.cpp25 mBytes(NULL), in StreamWrapper()
62 mBytes = env->GetByteArrayElements(mByteArray, NULL); in init()
63 if (mBytes == NULL || env->ExceptionCheck()){ in init()
77 if (mBytes != NULL) { in cleanup()
78 mEnv->ReleaseByteArrayElements(mByteArray, mBytes, JNI_ABORT); in cleanup()
79 mBytes = NULL; in cleanup()
84 mBytes = NULL; in cleanup()
96 return mBytes; in getBufferPtr()
Dinputstream_wrapper.cpp28 mEnv->ReleaseByteArrayElements(mByteArray, mBytes, JNI_COMMIT); in read()
29 mBytes = NULL; in read()
38 mBytes = mEnv->GetByteArrayElements(mByteArray, NULL); in read()
39 if (mBytes == NULL || mEnv->ExceptionCheck()) { in read()
60 mBytes[0] = (jbyte) 0xFF; in forceReadEOI()
61 mBytes[1] = (jbyte) 0xD9; in forceReadEOI()
Doutputstream_wrapper.cpp26 mEnv->ReleaseByteArrayElements(mByteArray, mBytes, JNI_COMMIT); in write()
27 mBytes = NULL; in write()
40 mBytes = mEnv->GetByteArrayElements(mByteArray, NULL); in write()
41 if (mBytes == NULL || mEnv->ExceptionCheck()) { in write()
Dstream_wrapper.h40 jbyte* mBytes; variable
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacketListener.java35 protected final byte[] mBytes = new byte[DhcpPacket.MAX_LENGTH]; field in DhcpPacketListener.Payload
46 return buffer.mBytes.length; in recvBufSize()
56 final DhcpPacket packet = DhcpPacket.decodeFullPacket(recvbuf.mBytes, length, in handlePacket()
60 logParseError(recvbuf.mBytes, length, e); in handlePacket()
69 fd, packetBuffer.mBytes, 0, packetBuffer.mBytes.length, 0 /* flags */, addr); in readPacket()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DImagePersistTask.java44 private final byte[] mBytes; field in ImagePersistTask
64 mBytes = bytes; in ImagePersistTask()
84 exifInterface.readExif(mBytes); in doInBackgroundTimed()
96 bitmap = BitmapFactory.decodeByteArray(mBytes, 0, mBytes.length); in doInBackgroundTimed()
129 outputStream.write(mBytes); in doInBackgroundTimed()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DMediaBytes.java23 private final byte[] mBytes; field in MediaBytes
27 mBytes = bytes; in MediaBytes()
31 return mBytes; in getMediaBytes()
36 return mBytes.length; in getMediaSize()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java296 private byte[] mBytes = null; field in CarVendorExtensionManagerTest.VendorExtMockedVehicleHal
301 mBytes = toByteArray(propValue.value.bytes); in set()
318 if (requestedPropValue.prop == CUSTOM_BYTES_PROP_ID_2 && mBytes != null) { in get()
319 Log.d(TAG, "Returning byte array property, value size " + mBytes.length); in get()
320 result.value.bytes.ensureCapacity(mBytes.length); in get()
321 for (byte b : mBytes) { in get()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDownloadsDeletionType.java45 private long mBytes; field in DownloadsDeletionType
135 mBytes = data.totalSize; in onLoadFinished()
204 mListener.onFreeableChanged(mFiles.size(), mBytes); in maybeUpdateListener() local
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java80 private final byte[] mBytes; field in ConnectivityPacketSummary
99 mBytes = buffer; in ConnectivityPacketSummary()
100 mLength = Math.min(length, mBytes.length); in ConnectivityPacketSummary()
101 mPacket = ByteBuffer.wrap(mBytes, 0, mLength); in ConnectivityPacketSummary()
374 dhcpPacket = DhcpPacket.decodeFullPacket(mBytes, mLength, DhcpPacket.ENCAP_L2); in parseDHCPv4()