/packages/services/Car/car-lib/src/android/car/occupantconnection/ |
D | Payload.java | 55 private byte[] mBytes; field in Payload 62 this.mBytes = bytes.clone(); in Payload() 80 return mBytes; in getBytes() 102 return Arrays.equals(mBytes, other.mBytes); in equals() 116 return Arrays.hashCode(mBytes); in hashCode() 155 dest.writeByteArray(mBytes); in serialize() 171 mBytes = null; in deserialize() 173 mBytes = src.createByteArray(); in deserialize()
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | stream_wrapper.cpp | 25 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()
|
D | inputstream_wrapper.cpp | 28 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()
|
D | outputstream_wrapper.cpp | 26 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()
|
D | stream_wrapper.h | 40 jbyte* mBytes; variable
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiSsid.java | 41 private final byte[] mBytes; field in WifiSsid 52 mBytes = bytes; in WifiSsid() 72 return mBytes.clone(); in getBytes() 96 return decodeSsid(mBytes, StandardCharsets.UTF_8); in getUtf8Text() 130 String utf8String = decodeSsid(mBytes, StandardCharsets.UTF_8); in toString() 132 return HexEncoding.encodeToString(mBytes, false /* upperCase */); in toString() 167 return Arrays.equals(mBytes, that.mBytes); in equals() 172 return Arrays.hashCode(mBytes); in hashCode() 184 dest.writeByteArray(mBytes); in writeToParcel()
|
/packages/modules/StatsD/framework/java/android/util/ |
D | StatsEvent.java | 854 private byte[] mBytes; field in StatsEvent.Buffer 871 mBytes = tempBuffer.hasArray() ? tempBuffer.array() : new byte [MAX_PUSH_PAYLOAD_SIZE]; in Buffer() 876 return mBytes; in getBytes() 922 if (mBytes.length < mMaxSize && totalBytesNeeded > mBytes.length) { in hasEnoughSpace() 923 int newSize = mBytes.length; in hasEnoughSpace() 932 mBytes = Arrays.copyOf(mBytes, newSize); in hasEnoughSpace() 947 mBytes[index] = (byte) (value); in putByte() 974 mBytes[index] = (byte) (value); in putInt() 975 mBytes[index + 1] = (byte) (value >> 8); in putInt() 976 mBytes[index + 2] = (byte) (value >> 16); in putInt() [all …]
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacketListener.java | 38 protected final byte[] mBytes = new byte[DhcpPacket.MAX_LENGTH]; field in DhcpPacketListener.Payload 49 return buffer.mBytes.length; in recvBufSize() 59 final DhcpPacket packet = DhcpPacket.decodeFullPacket(recvbuf.mBytes, length, in handlePacket() 63 logParseError(recvbuf.mBytes, length, e); in handlePacket() 74 fd, packetBuffer.mBytes, 0, packetBuffer.mBytes.length, 0 /* flags */, addr); in readPacket()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/util/ |
D | HexTest.java | 36 private final byte[] mBytes = { field in HexTest 64 assertEquals(mLower, Hex.encode(mBytes)); in testEncode() 69 assertEquals(mUpper, Hex.encodeUpper(mBytes)); in testEncodeUpper() 74 assertArrayEquals(mBytes, Hex.decode(mLower)); in testDecodeLower() 79 assertArrayEquals(mBytes, Hex.decode(mUpper)); in testDecodeUpper()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | MediaBytes.java | 23 private final byte[] mBytes; field in MediaBytes 27 mBytes = bytes; in MediaBytes() 31 return mBytes; in getMediaBytes() 36 return mBytes.length; in getMediaSize()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | ImagePersistTask.java | 44 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/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | ScanRecord.java | 358 private final byte[] mBytes; field in ScanRecord 466 return mBytes; in getBytes() 476 while (pos < mBytes.length) { in matchesAnyField() 477 final int length = mBytes[pos] & 0xFF; in matchesAnyField() 481 if (matcher.test(Arrays.copyOfRange(mBytes, pos, pos + length + 1))) { in matchesAnyField() 509 mBytes = bytes; in ScanRecord()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DownloadsDeletionType.java | 45 private long mBytes; field in DownloadsDeletionType 135 mBytes = data.totalSize; in onLoadFinished() 204 mListener.onFreeableChanged(mFiles.size(), mBytes); in maybeUpdateListener() local
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarVendorExtensionManagerTest.java | 309 private byte[] mBytes = null; field in CarVendorExtensionManagerTest.VendorExtMockedVehicleHal 354 if (propId == CUSTOM_BYTES_PROP_ID_2 && mBytes != null) { in getValues() 355 Log.d(TAG, "Returning byte array property, value size " + mBytes.length); in getValues() 356 resultValue.value.byteValues = mBytes.clone(); in getValues() 394 mBytes = requestedPropValue.value.byteValues.clone(); in setValues()
|
/packages/modules/AppSearch/testing/safeparceltests/src/android/app/appsearch/safeparcel/ |
D | TestSafeParcelableWithSparseArray.java | 52 final SparseArray<byte[]> mBytes; field in TestSafeParcelableWithSparseArray 71 mBytes = bytes; in TestSafeParcelableWithSparseArray()
|
D | SafeParcelableSparseArrayTest.java | 159 assertByteArrayEquals(val.mBytes, readVal.mBytes); in testReadWriteSafeParcelableWithSparseArray()
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 80 private final byte[] mBytes; field in ConnectivityPacketSummary 113 mBytes = buffer; in ConnectivityPacketSummary() 114 mLength = Math.min(length, mBytes.length); in ConnectivityPacketSummary() 115 mPacket = ByteBuffer.wrap(mBytes, 0, mLength); in ConnectivityPacketSummary() 388 dhcpPacket = DhcpPacket.decodeFullPacket(mBytes, mLength, DhcpPacket.ENCAP_L2); in parseDHCPv4()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 3379 private final byte[] mBytes = repeatedString.getBytes(StandardCharsets.UTF_8); in testReadAsString() field in NetworkMonitorTest.TestInputStream 3384 mPosition = (mPosition + 1) % mBytes.length; in testReadAsString() 3385 return mBytes[mPosition]; in testReadAsString()
|
/packages/modules/Bluetooth/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 2653 Landroid/bluetooth/le/ScanRecord;->mBytes:[B
|