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.java74 private static int binarySearchHashes(int[] hashes, int N, int hash) { in binarySearchHashes() argument
76 return ContainerHelpers.binarySearch(hashes, N, hash); in binarySearchHashes()
199 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
200 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
204 array[1] = hashes; in freeArrays()
214 } else if (hashes.length == BASE_SIZE) { in freeArrays()
218 array[1] = hashes; in freeArrays()
651 final int[] hashes = mHashes; in hashCode() local
656 result += hashes[i] ^ (value == null ? 0 : value.hashCode()); in hashCode()
DArraySet.java200 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
201 if (hashes.length == (BASE_SIZE * 2)) { in freeArrays()
205 array[1] = hashes; in freeArrays()
217 } else if (hashes.length == BASE_SIZE) { in freeArrays()
221 array[1] = hashes; in freeArrays()
621 final int[] hashes = mHashes; in hashCode() local
624 result += hashes[i]; in hashCode()
/frameworks/base/core/java/android/util/
DArrayMap.java102 private static int binarySearchHashes(int[] hashes, int N, int hash) { in binarySearchHashes() argument
104 return ContainerHelpers.binarySearch(hashes, N, hash); in binarySearchHashes()
228 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
229 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
233 array[1] = hashes; in freeArrays()
243 } else if (hashes.length == BASE_SIZE) { in freeArrays()
247 array[1] = hashes; in freeArrays()
755 final int[] hashes = mHashes; in hashCode() local
760 result += hashes[i] ^ (value == null ? 0 : value.hashCode()); in hashCode()
DArraySet.java211 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
212 if (hashes.length == (BASE_SIZE * 2)) { in freeArrays()
216 array[1] = hashes; in freeArrays()
228 } else if (hashes.length == BASE_SIZE) { in freeArrays()
232 array[1] = hashes; in freeArrays()
631 final int[] hashes = mHashes; in hashCode() local
634 result += hashes[i]; in hashCode()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java183 final ArrayList<byte[]> hashes = new ArrayList<>(); in loadFromXml() local
202 hashes.add(decoded); in loadFromXml()
214 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.java101 Asn1Constructed hashes = castObject(logoTypeDetails.next(), Asn1Constructed.class); in LogoTypeImage() local
102 for (Asn1Object hash : hashes.getChildren()) { in LogoTypeImage()