/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunk/ |
D | ChunkListingMapTest.java | 37 private static final ChunkHash CHUNK_A_HASH = getHash("CHUNK_A"); 38 private static final ChunkHash CHUNK_B_HASH = getHash("CHUNK_B"); 39 private static final ChunkHash CHUNK_C_HASH = getHash("CHUNK_C"); 65 assertThat(mChunkListingMap.hasChunk(getHash("CHUNK_D"))).isFalse(); in hasChunk_isFalseForNonexistentChunks() 66 assertThat(mChunkListingMap.hasChunk(getHash(""))).isFalse(); in hasChunk_isFalseForNonexistentChunks() 91 assertThat(mChunkListingMap.getChunkEntry(getHash("Hey"))).isNull(); in getChunkListing_isNullForNonExistentChunks() 97 chunkListing.chunks[0] = newChunk(CHUNK_A_HASH.getHash(), CHUNK_A_LENGTH); in createFromFixture() 98 chunkListing.chunks[1] = newChunk(CHUNK_B_HASH.getHash(), CHUNK_B_LENGTH); in createFromFixture() 99 chunkListing.chunks[2] = newChunk(CHUNK_C_HASH.getHash(), CHUNK_C_LENGTH); in createFromFixture() 103 private static ChunkHash getHash(String name) { in getHash() method in ChunkListingMapTest
|
D | ChunkHashTest.java | 42 byte[] hash = chunkHash.getHash(); in testGetHash_returnsHash()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 238 carrierConfigRuleString(getHash(CERT_1)), carrierConfigRuleString(getHash(CERT_2))); in setupCarrierPrivilegesTrackerWithCarrierConfigUids() 247 setupSimLoadedRules(ruleWithHashOnly(getHash(CERT_1)), ruleWithHashOnly(getHash(CERT_2))); in setupCarrierPrivilegesTrackerWithSimLoadedUids() 390 carrierConfigRuleString(getHash(CERT_1)), carrierConfigRuleString(getHash(CERT_2))); in testCarrierConfigUpdated() 456 carrierConfigRuleString(getHash(CERT_1), PACKAGE_1), in testCarrierConfigUpdatedExplicitPackageNames() 457 carrierConfigRuleString(getHash(CERT_2), PACKAGE_1)); in testCarrierConfigUpdatedExplicitPackageNames() 469 carrierConfigRuleString(getHash(CERT_1), PACKAGE_1), in testCarrierConfigUpdatedExplicitPackageNames() 470 carrierConfigRuleString(getHash(CERT_2), PACKAGE_1, PACKAGE_2)); in testCarrierConfigUpdatedExplicitPackageNames() 489 setupSimLoadedRules(ruleWithHashOnly(getHash(CERT_1)), ruleWithHashOnly(getHash(CERT_2))); in testSimCardStateChanged() 508 setupSimLoadedRules(ruleWithHashOnly(getHash(CERT_1)), ruleWithHashOnly(getHash(CERT_2))); in testSimApplicationStateChanged() 662 setupSimLoadedRules(ruleWithHashOnly(getHash(CERT_1))); in testSimStateChangedSimStateAbsentThenLoadedWithUpdatedRules() [all …]
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunk/ |
D | ChunkHash.java | 44 public byte[] getHash() { in getHash() method in ChunkHash 68 return lexicographicalCompareUnsignedBytes(getHash(), other.getHash()); in compareTo()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/kv/ |
D | KeyValueListingBuilderTest.java | 84 assertThat(listing.entries[0].hash).isEqualTo(TEST_HASH_1.getHash()); in build_returnsCorrectListing() 100 assertThat(listing.entries[0].hash).isEqualTo(TEST_HASH_1.getHash()); in addAll_addsAllPairsInMap() 102 assertThat(listing.entries[1].hash).isEqualTo(TEST_HASH_2.getHash()); in addAll_addsAllPairsInMap()
|
D | DecryptedChunkKvOutputTest.java | 105 .forEachOrdered(hash -> digest.update(hash.getHash())); in getDigest_returnsDigestOfSortedHashes()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/ |
D | ChunkHasherTest.java | 56 byte[] hash = chunkHash.getHash(); in computeHash_returnsHmacForData() 67 byte[] hash = mChunkHasher.computeHash(TEST_DATA).getHash(); in computeHash_generates256BitHmac()
|
D | ProtoStoreTest.java | 84 keyValueListing.entries[0].hash = TEST_HASH_1.getHash(); in differentStoreTypes_operateSimultaneouslyWithoutInterfering() 102 assertThat(actualKeyValueListing.entries[0].hash).isEqualTo(TEST_HASH_1.getHash()); in differentStoreTypes_operateSimultaneouslyWithoutInterfering() 244 chunk.hash = entry.getKey().getHash(); in createChunkListing()
|
D | ChunkEncryptorTest.java | 112 byte[] generatedHash = chunk.key().getHash(); in encrypt_generatesHmacOfPlaintext()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | LayerState.cpp | 67 size_t LayerState::getHash() const { in getHash() function in android::compositionengine::impl::planner::LayerState 73 android::hashCombineSingleHashed(hash, field->getHash()); in getHash() 171 android::hashCombineSingleHashed(hash, layer->getHash()); in getNonBufferHash()
|
D | CachedSet.cpp | 60 : mState(state), mHash(state->getHash()), mLastUpdate(lastUpdate) {} in Layer() 63 : mFingerprint(layer->getHash()), mLastUpdate(lastUpdate) { in CachedSet() 68 : mFingerprint(layer.getHash()), in CachedSet()
|
D | Predictor.cpp | 36 if (mLayers[i].getHash() == other[i]->getHash()) { in getApproximateMatch()
|
/frameworks/base/core/java/android/security/net/config/ |
D | DirectoryCertificateSource.java | 140 String hash = getHash(subj); 168 String hash = getHash(subj); 191 private String getHash(X500Principal name) {
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/ |
D | KvBackupEncrypterTest.java | 199 messageDigest.update(sortedHashes.get(0).getHash()); in backup_returnsMessageDigestOverChunkHashes() 200 messageDigest.update(sortedHashes.get(1).getHash()); in backup_returnsMessageDigestOverChunkHashes() 201 messageDigest.update(sortedHashes.get(2).getHash()); in backup_returnsMessageDigestOverChunkHashes() 212 .isEqualTo(getChunkHash(TEST_KEY_1, TEST_VALUE_1).getHash()); in getNewKeyValueListing_noExistingBackup_returnsCorrectListing() 215 .isEqualTo(getChunkHash(TEST_KEY_2, TEST_VALUE_2).getHash()); in getNewKeyValueListing_noExistingBackup_returnsCorrectListing()
|
D | EncryptedFullBackupTaskTest.java | 95 CryptoTestUtils.newChunk(TEST_CHUNK_HASH_1.getHash(), TEST_CHUNK_LENGTH_1)); in setUp() 102 CryptoTestUtils.newChunk(TEST_CHUNK_HASH_1.getHash(), TEST_CHUNK_LENGTH_1), in setUp() 103 CryptoTestUtils.newChunk(TEST_CHUNK_HASH_2.getHash(), TEST_CHUNK_LENGTH_2)); in setUp()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/ |
D | BackupFileBuilder.java | 200 addChunk(chunkHash.getHash(), oldChunk.getLength()); in writeChunkToFileAndListing() 208 addChunk(chunkHash.getHash(), length); in writeChunkToFileAndListing()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/kv/ |
D | KeyValueListingBuilder.java | 44 entry.hash = hash.getHash(); in addPair()
|
D | DecryptedChunkKvOutput.java | 84 digest.update(hash.getHash()); in getDigest()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | LayerState.h | 89 virtual size_t getHash() const = 0; 172 size_t getHash() const override { 223 size_t getHash() const;
|
D | CachedSet.h | 50 NonBufferHash getHash() const { return mHash; } in getHash() function
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/ |
D | KvBackupEncrypter.java | 161 messageDigest.update(hash.getHash()); in createMessageDigest()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/ |
D | CryptoTestUtils.java | 57 return newChunk(hash.getHash(), length); in newChunk()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | DownloadRequest.java | 363 public String getHash() { in getHash() method in DownloadRequest
|
D | MbmsDownloadReceiver.java | 199 String expectedTokenFileName = request.getHash() + DOWNLOAD_TOKEN_SUFFIX; in verifyIntentContents()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | LayerStateTest.cpp | 98 EXPECT_EQ(lhs.getHash(), rhs.getHash()); in verifyUniqueDifferingFields() 106 EXPECT_NE(lhs.getHash(), rhs.getHash()); in verifyNonUniqueDifferingFields()
|