Home
last modified time | relevance | path

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

/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()
436 ArrayList<byte[]> hashes = new ArrayList<byte[]>(sigs.length); in hashSignatureArray() local
438 hashes.add(BackupManagerService.hashSignature(s)); in hashSignatureArray()
440 return hashes; in hashSignatureArray()
443 private static void writeSignatureHashArray(DataOutputStream out, ArrayList<byte[]> hashes) in writeSignatureHashArray() argument
446 out.writeInt(hashes.size()); in writeSignatureHashArray()
449 for (byte[] buffer : hashes) { in writeSignatureHashArray()
491 ArrayList<byte[]> hashes = in readSignatureHashArray() local
495 hashes.add(BackupManagerService.hashSignature(s)); in readSignatureHashArray()
[all …]
/frameworks/support/v4/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()
569 final int[] hashes = mHashes; in hashCode() local
574 result += hashes[i] ^ (value == null ? 0 : value.hashCode()); in hashCode()
/frameworks/base/core/java/android/util/
DArraySet.java190 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
191 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
195 array[1] = hashes; in freeArrays()
205 } else if (hashes.length == BASE_SIZE) { in freeArrays()
209 array[1] = hashes; in freeArrays()
548 final int[] hashes = mHashes; in hashCode() local
551 result += hashes[i]; in hashCode()
DArrayMap.java202 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
203 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
207 array[1] = hashes; in freeArrays()
217 } else if (hashes.length == BASE_SIZE) { in freeArrays()
221 array[1] = hashes; in freeArrays()
696 final int[] hashes = mHashes; in hashCode() local
701 result += hashes[i] ^ (value == null ? 0 : value.hashCode()); in hashCode()