Home
last modified time | relevance | path

Searched refs:rawBytes (Results 1 – 20 of 20) sorted by relevance

/aosp12/frameworks/base/core/java/android/content/integrity/
H A DIntegrityUtils.java41 byte[] rawBytes = new byte[hexDigest.length() / 2]; in getBytesFromHexDigest()
42 for (int i = 0; i < rawBytes.length; i++) { in getBytesFromHexDigest()
45 rawBytes[i] = (byte) ((hexToDec(upperNibble) << 4) | hexToDec(lowerNibble)); in getBytesFromHexDigest()
47 return rawBytes; in getBytesFromHexDigest()
51 public static String getHexDigest(byte[] rawBytes) { in getHexDigest() argument
52 char[] hexChars = new char[rawBytes.length * 2]; in getHexDigest()
54 for (int i = 0; i < rawBytes.length; i++) { in getHexDigest()
55 int upperNibble = (rawBytes[i] >>> 4) & 0xF; in getHexDigest()
56 int lowerNibble = rawBytes[i] & 0xF; in getHexDigest()
/aosp12/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DInstruction.java69 public byte[] rawBytes; field in Instruction
91 if (newInsn.rawBytes != null) { in clone()
92 newInsn.rawBytes = new byte[rawBytes.length]; in clone()
93 for (int i = 0; i < rawBytes.length; i++) { in clone()
94 newInsn.rawBytes[i] = rawBytes[i]; in clone()
127 rawBytes = new byte[2 * getSize()]; in read()
129 file.read(rawBytes); in read()
131 vregA = info.format.getA(rawBytes); in read()
132 vregB = info.format.getB(rawBytes); in read()
133 vregC = info.format.getC(rawBytes); in read()
[all …]
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
H A DRawByteElement.java43 byte[] rawBytes = new byte[payload.remaining()]; in parse()
45 payload.get(rawBytes); in parse()
47 return new RawByteElement(infoID, rawBytes); in parse()
/aosp12/art/tools/dexfuzz/src/dexfuzz/program/
H A DCodeTranslator.java405 int targetsSize = (int) RawInsnHelper.getUnsignedShortFromTwoBytes(dataInsn.rawBytes, rawPtr); in readSwitchInstruction()
415 keys[0] = (int) RawInsnHelper.getUnsignedIntFromFourBytes(dataInsn.rawBytes, rawPtr); in readSwitchInstruction()
425 keys[i] = (int) RawInsnHelper.getUnsignedIntFromFourBytes(dataInsn.rawBytes, in readSwitchInstruction()
433 targets[i] = (int) RawInsnHelper.getUnsignedIntFromFourBytes(dataInsn.rawBytes, in readSwitchInstruction()
481 RawInsnHelper.writeUnsignedShortToTwoBytes(dataInsn.rawBytes, rawPtr, targetsSize); in updateSwitchInstruction()
487 RawInsnHelper.writeUnsignedIntToFourBytes(dataInsn.rawBytes, rawPtr, keys[0]); in updateSwitchInstruction()
492 RawInsnHelper.writeUnsignedIntToFourBytes(dataInsn.rawBytes, rawPtr, keys[i]); in updateSwitchInstruction()
499 RawInsnHelper.writeUnsignedIntToFourBytes(dataInsn.rawBytes, rawPtr, targets[i]); in updateSwitchInstruction()
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
H A DStructNdOptPref64Test.java89 byte[] rawBytes = HexEncoding.decode(hexBytes); in testParseCannedOption()
90 StructNdOptPref64 opt = StructNdOptPref64.parse(ByteBuffer.wrap(rawBytes)); in testParseCannedOption()
97 rawBytes = HexEncoding.decode(hexBytes); in testParseCannedOption()
98 opt = StructNdOptPref64.parse(ByteBuffer.wrap(rawBytes)); in testParseCannedOption()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
H A DDigestMd5Utils.java88 byte[] rawBytes = new byte[8]; in createCnonce()
89 generator.nextBytes(rawBytes); in createCnonce()
91 return Base64.encodeToString(rawBytes, Base64.NO_WRAP); in createCnonce()
/aosp12/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java795 byte[] rawBytes = null; in parseQuotedPrintable()
797 rawBytes = rawString.getBytes(sourceCharset); in parseQuotedPrintable()
800 rawBytes = rawString.getBytes(); in parseQuotedPrintable()
805 decodedBytes = QuotedPrintableCodecPort.decodeQuotedPrintable(rawBytes); in parseQuotedPrintable()
808 decodedBytes = rawBytes; in parseQuotedPrintable()
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DServiceStateProvider.java338 final byte[] rawBytes = values.getAsByteArray(SERVICE_STATE); in insert()
339 p.unmarshall(rawBytes, 0, rawBytes.length); in insert()
/aosp12/packages/apps/Dialer/java/com/android/dialer/contactphoto/
H A DContactPhotoManagerImpl.java307 int rawBytes = 0; in dumpStats() local
313 rawBytes += h.bytes.length; in dumpStats()
324 + btk(rawBytes) in dumpStats()
328 + btk(rawBytes + bitmapBytes) in dumpStats()
334 + btk(safeDiv(rawBytes, numHolders)) in dumpStats()
/aosp12/frameworks/base/media/java/android/media/
H A DMediaDrm.java1570 byte[] rawBytes = getNewestAvailablePackageCertificateRawBytes();
1572 if (rawBytes != null) {
1573 hashBytes = getDigestBytes(rawBytes, "SHA-256");
1615 private static byte[] getDigestBytes(@NonNull byte[] rawBytes, @NonNull String algorithm) {
1618 return messageDigest.digest(rawBytes);
/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A DContactPhotoManager.java771 int rawBytes = 0; in dumpStats() local
777 rawBytes += h.bytes.length; in dumpStats()
785 Log.d(TAG, "L1: " + btk(rawBytes) + " + " + btk(bitmapBytes) + " = " in dumpStats()
786 + btk(rawBytes + bitmapBytes) + ", " + numHolders + " holders, " in dumpStats()
788 + btk(safeDiv(rawBytes, numHolders)) in dumpStats()
/aosp12/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java293 final long rawBytes = (entry.rxBytes + entry.txBytes) == 0 ? 1 : in getHistory() local
299 final long targetRxBytes = multiplySafeByRational(targetBytes, rawRxBytes, rawBytes); in getHistory()
300 final long targetTxBytes = multiplySafeByRational(targetBytes, rawTxBytes, rawBytes); in getHistory()
/aosp12/hardware/ril/libril/
H A Dril_service.cpp686 bool dispatchRaw(int serial, int slotId, int request, const hidl_vec<uint8_t>& rawBytes) { in dispatchRaw() argument
692 const uint8_t *uData = rawBytes.data(); in dispatchRaw()
694 CALL_ONREQUEST(request, (void *) uData, rawBytes.size(), pRI, slotId); in dispatchRaw()
/aosp12/packages/apps/TV/libs/m2/
H A Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
H A Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
H A Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/aosp12/packages/apps/RemoteProvisioner/tests/unittests/
H A Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/aosp12/art/build/boot/hiddenapi/
H A Dhiddenapi-max-target-o-low-priority.txt11449 Lsun/security/util/ManifestDigester$Entry;->rawBytes:[B
11457 Lsun/security/util/ManifestDigester;->rawBytes:[B
/aosp12/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/aosp12/packages/apps/TV/libs/
H A Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...