Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/integrity/
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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DRawByteElement.java43 byte[] rawBytes = new byte[payload.remaining()]; in parse()
45 payload.get(rawBytes); in parse()
47 return new RawByteElement(infoID, rawBytes); in parse()
/frameworks/base/location/tests/locationtests/src/android/location/
DLocationTest.java243 byte[] rawBytes = parcel.marshall(); in testParcel()
248 parcel.unmarshall(rawBytes, 0, rawBytes.length); in testParcel()
/frameworks/opt/vcard/java/com/android/vcard/
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()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java313 final long rawBytes = entry.rxBytes + entry.txBytes; in getHistory() local
317 final long targetRxBytes = multiplySafe(targetBytes, rawRxBytes, rawBytes); in getHistory()
318 final long targetTxBytes = multiplySafe(targetBytes, rawTxBytes, rawBytes); in getHistory()