Searched refs:hashes (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/backup/ |
D | BackupUtils.java | 126 ArrayList<byte[]> hashes = new ArrayList<>(sigs.length); in hashSignatureArray() local 128 hashes.add(hashSignature(s)); in hashSignatureArray() 130 return hashes; in hashSignatureArray() 138 ArrayList<byte[]> hashes = new ArrayList<>(sigs.size()); in hashSignatureArray() local 140 hashes.add(hashSignature(s)); in hashSignatureArray() 142 return hashes; in hashSignatureArray()
|
/frameworks/base/core/java/android/util/ |
D | ArraySet.java | 96 private int binarySearch(int[] hashes, int hash) { in binarySearch() argument 98 return ContainerHelpers.binarySearch(hashes, mSize, hash); in binarySearch() 250 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument 251 if (hashes.length == (BASE_SIZE * 2)) { in freeArrays() 255 array[1] = hashes; in freeArrays() 267 } else if (hashes.length == BASE_SIZE) { in freeArrays() 271 array[1] = hashes; in freeArrays() 831 final int[] hashes = mHashes; in hashCode() local 834 result += hashes[i]; in hashCode()
|
D | ArrayMap.java | 127 private static int binarySearchHashes(int[] hashes, int N, int hash) { in binarySearchHashes() argument 129 return ContainerHelpers.binarySearch(hashes, N, hash); in binarySearchHashes() 287 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument 288 if (hashes.length == (BASE_SIZE*2)) { in freeArrays() 292 array[1] = hashes; in freeArrays() 304 } else if (hashes.length == BASE_SIZE) { in freeArrays() 308 array[1] = hashes; in freeArrays() 874 final int[] hashes = mHashes; in hashCode() local 879 result += hashes[i] ^ (value == null ? 0 : value.hashCode()); in hashCode()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageInfo.java | 267 final ArrayList<byte[]> hashes = new ArrayList<>(); in loadFromXml() local 286 hashes.add(decoded); in loadFromXml() 306 mSigHashes = hashes; in loadFromXml()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 124 Metadata(long version, ArrayList<byte[]> hashes) { in Metadata() argument 126 sigHashes = hashes; in Metadata() 479 private static void writeSignatureHashArray(DataOutputStream out, ArrayList<byte[]> hashes) in writeSignatureHashArray() argument 482 out.writeInt(hashes.size()); in writeSignatureHashArray() 485 for (byte[] buffer : hashes) { in writeSignatureHashArray()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | LayerState.h | 152 Hashes hashes = OutputLayerState::getDefaultHashes()) 153 : mReader(reader), mToStrings(toStrings), mEquals(equals), mHashes(hashes) {}
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTests.java | 574 String[] hashes = TextUtils.split(history, LockPatternUtils.PASSWORD_HISTORY_DELIMITER); in checkPasswordHistoryLength() local 575 assertEquals(expectedLen, hashes.length); in checkPasswordHistoryLength()
|
/frameworks/base/tools/protologtool/ |
D | README.md | 93 for logging. This is achieved by replacing log message strings with their hashes and only loading t…
|
/frameworks/proto_logging/stats/atoms/cronet/ |
D | cronet_extension_atoms.proto | 380 // The first 8 bytes of the MD5 hashes, interpreted as signed little-endian integers,
|