Home
last modified time | relevance | path

Searched refs:hashes (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/backup/
DBackupUtils.java114 ArrayList<byte[]> hashes = new ArrayList<>(sigs.length); in hashSignatureArray() local
116 hashes.add(hashSignature(s)); in hashSignatureArray()
118 return hashes; in hashSignatureArray()
126 ArrayList<byte[]> hashes = new ArrayList<>(sigs.size()); in hashSignatureArray() local
128 hashes.add(hashSignature(s)); in hashSignatureArray()
130 return hashes; in hashSignatureArray()
/frameworks/support/compat/java/android/support/v4/util/
DSimpleArrayMap.java172 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
173 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
177 array[1] = hashes; in freeArrays()
187 } else if (hashes.length == BASE_SIZE) { in freeArrays()
191 array[1] = hashes; in freeArrays()
594 final int[] hashes = mHashes; in hashCode() local
599 result += hashes[i] ^ (value == null ? 0 : value.hashCode()); in hashCode()
/frameworks/base/core/java/android/util/
DArraySet.java207 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
208 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
212 array[1] = hashes; in freeArrays()
222 } else if (hashes.length == BASE_SIZE) { in freeArrays()
226 array[1] = hashes; in freeArrays()
619 final int[] hashes = mHashes; in hashCode() local
622 result += hashes[i]; in hashCode()
DArrayMap.java203 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
204 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
208 array[1] = hashes; in freeArrays()
218 } else if (hashes.length == BASE_SIZE) { in freeArrays()
222 array[1] = hashes; in freeArrays()
701 final int[] hashes = mHashes; in hashCode() local
706 result += hashes[i] ^ (value == null ? 0 : value.hashCode()); in hashCode()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java182 final ArrayList<byte[]> hashes = new ArrayList<>(); in loadFromXml() local
199 hashes.add(Base64.decode(hash.getBytes())); in loadFromXml()
211 mSigHashes = hashes; in loadFromXml()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java103 Metadata(int version, ArrayList<byte[]> hashes) { in Metadata() argument
105 sigHashes = hashes; in Metadata()
435 private static void writeSignatureHashArray(DataOutputStream out, ArrayList<byte[]> hashes) in writeSignatureHashArray() argument
438 out.writeInt(hashes.size()); in writeSignatureHashArray()
441 for (byte[] buffer : hashes) { in writeSignatureHashArray()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DSPVerifier.java100 Asn1Constructed hashes = castObject(logoTypeDetails.next(), Asn1Constructed.class); in LogoTypeImage() local
101 for (Asn1Object hash : hashes.getChildren()) { in LogoTypeImage()
/frameworks/base/docs/html/training/safetynet/
Dindex.jd290 hashes. You can perform these validation steps within your app, or as a more secure option, send