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

/frameworks/base/services/backup/java/com/android/server/backup/
H A DPackageManagerBackupAgent.java103 Metadata(int version, ArrayList<byte[]> hashes) { argument
105 sigHashes = hashes;
440 ArrayList<byte[]> hashes = new ArrayList<byte[]>(sigs.length);
442 hashes.add(BackupManagerService.hashSignature(s));
444 return hashes;
447 private static void writeSignatureHashArray(DataOutputStream out, ArrayList<byte[]> hashes) argument
450 out.writeInt(hashes.size());
453 for (byte[] buffer : hashes) {
478 // This could be a "legacy" block of actual signatures rather than their hashes.
480 // if the blocks are all 256 bits (32 bytes) then we take them to be SHA-256 hashes;
[all...]
/frameworks/base/core/java/android/util/
H A DArraySet.java188 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { argument
189 if (hashes.length == (BASE_SIZE*2)) {
193 array[1] = hashes;
203 } else if (hashes.length == BASE_SIZE) {
207 array[1] = hashes;
566 final int[] hashes = mHashes;
569 result += hashes[i];
H A DArrayMap.java202 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { argument
203 if (hashes.length == (BASE_SIZE*2)) {
207 array[1] = hashes;
217 } else if (hashes.length == BASE_SIZE) {
221 array[1] = hashes;
696 final int[] hashes = mHashes;
701 result += hashes[i] ^ (value == null ? 0 : value.hashCode());
/frameworks/support/v4/java/android/support/v4/util/
H A DSimpleArrayMap.java172 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { argument
173 if (hashes.length == (BASE_SIZE*2)) {
177 array[1] = hashes;
187 } else if (hashes.length == BASE_SIZE) {
191 array[1] = hashes;
569 final int[] hashes = mHashes;
574 result += hashes[i] ^ (value == null ? 0 : value.hashCode());

Completed in 308 milliseconds