Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/backup/
DBackupUtils.java124 ArrayList<byte[]> hashes = new ArrayList<>(sigs.length); in hashSignatureArray() local
126 hashes.add(hashSignature(s)); in hashSignatureArray()
128 return hashes; in hashSignatureArray()
136 ArrayList<byte[]> hashes = new ArrayList<>(sigs.size()); in hashSignatureArray() local
138 hashes.add(hashSignature(s)); in hashSignatureArray()
140 return hashes; in hashSignatureArray()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/
DChunkListingMapTest.java174 private byte[] createChunkListingProto(ChunkHash[] hashes, int[] lengths) { in createChunkListingProto() argument
175 Preconditions.checkArgument(hashes.length == lengths.length); in createChunkListingProto()
178 for (int i = 0; i < hashes.length; ++i) { in createChunkListingProto()
179 writeToProtoOutputStream(outputStream, hashes[i], lengths[i]); in createChunkListingProto()
/frameworks/base/core/java/android/util/
DArrayMap.java116 private static int binarySearchHashes(int[] hashes, int N, int hash) { in binarySearchHashes() argument
118 return ContainerHelpers.binarySearch(hashes, N, hash); in binarySearchHashes()
246 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
247 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
251 array[1] = hashes; in freeArrays()
261 } else if (hashes.length == BASE_SIZE) { in freeArrays()
265 array[1] = hashes; in freeArrays()
829 final int[] hashes = mHashes; in hashCode() local
834 result += hashes[i] ^ (value == null ? 0 : value.hashCode()); in hashCode()
DArraySet.java223 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
224 if (hashes.length == (BASE_SIZE * 2)) { in freeArrays()
228 array[1] = hashes; in freeArrays()
240 } else if (hashes.length == BASE_SIZE) { in freeArrays()
244 array[1] = hashes; in freeArrays()
757 final int[] hashes = mHashes; in hashCode() local
760 result += hashes[i]; in hashCode()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java266 final ArrayList<byte[]> hashes = new ArrayList<>(); in loadFromXml() local
285 hashes.add(decoded); in loadFromXml()
305 mSigHashes = hashes; in loadFromXml()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java124 Metadata(long version, ArrayList<byte[]> hashes) { in Metadata() argument
126 sigHashes = hashes; in Metadata()
471 private static void writeSignatureHashArray(DataOutputStream out, ArrayList<byte[]> hashes) in writeSignatureHashArray() argument
474 out.writeInt(hashes.size()); in writeSignatureHashArray()
477 for (byte[] buffer : hashes) { in writeSignatureHashArray()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt31436 Landroid/icu/util/CompactByteArray;->hashes:[I
31463 Landroid/icu/util/CompactCharArray;->hashes:[I