Home
last modified time | relevance | path

Searched refs:hashes (Results 1 – 9 of 9) 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/core/java/android/util/
DArraySet.java95 private int binarySearch(int[] hashes, int hash) { in binarySearch() argument
97 return ContainerHelpers.binarySearch(hashes, mSize, hash); in binarySearch()
249 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
250 if (hashes.length == (BASE_SIZE * 2)) { in freeArrays()
254 array[1] = hashes; in freeArrays()
266 } else if (hashes.length == BASE_SIZE) { in freeArrays()
270 array[1] = hashes; in freeArrays()
813 final int[] hashes = mHashes; in hashCode() local
816 result += hashes[i]; in hashCode()
DArrayMap.java125 private static int binarySearchHashes(int[] hashes, int N, int hash) { in binarySearchHashes() argument
127 return ContainerHelpers.binarySearch(hashes, N, hash); in binarySearchHashes()
285 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { in freeArrays() argument
286 if (hashes.length == (BASE_SIZE*2)) { in freeArrays()
290 array[1] = hashes; in freeArrays()
300 } else if (hashes.length == BASE_SIZE) { in freeArrays()
304 array[1] = hashes; in freeArrays()
868 final int[] hashes = mHashes; in hashCode() local
873 result += hashes[i] ^ (value == null ? 0 : value.hashCode()); in hashCode()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedBackupTask.java179 Set<ChunkHash> hashes = new HashSet<>(); in getChunkHashes() local
181 hashes.add(new ChunkHash(chunk.hash)); in getChunkHashes()
183 return hashes; in getChunkHashes()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java267 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/
DPackageManagerBackupAgent.java124 Metadata(long version, ArrayList<byte[]> hashes) { in Metadata() argument
126 sigHashes = hashes; in Metadata()
473 private static void writeSignatureHashArray(DataOutputStream out, ArrayList<byte[]> hashes) in writeSignatureHashArray() argument
476 out.writeInt(hashes.size()); in writeSignatureHashArray()
479 for (byte[] buffer : hashes) { in writeSignatureHashArray()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h146 Hashes hashes = OutputLayerState::getDefaultHashes())
147 : mReader(reader), mToStrings(toStrings), mEquals(equals), mHashes(hashes) {}
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/
DBackupFileBuilderTest.java566 private static ImmutableMap<ChunkHash, EncryptedChunk> getNewChunkMap(ChunkHash... hashes) { in getNewChunkMap() argument
568 for (ChunkHash hash : hashes) { in getNewChunkMap()
/frameworks/base/tools/protologtool/
DREADME.md90 for logging. This is achieved by replacing log message strings with their hashes and only loading t…