/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 | 183 setupCarrierConfigCerts(getHash(CERT_1), getHash(CERT_2)); in setupCarrierPrivilegesTrackerWithCarrierConfigUids() 191 setupSimLoadedCerts(getHash(CERT_1), getHash(CERT_2)); in setupCarrierPrivilegesTrackerWithSimLoadedUids() 276 new String[] {getHash(CERT_1), getHash(CERT_2)}); in testCarrierConfigUpdated() 330 .thenReturn(Arrays.asList(getHash(CERT_1), getHash(CERT_2))); in testSimCardStateChanged() 348 .thenReturn(Arrays.asList(getHash(CERT_1), getHash(CERT_2))); in testSimApplicationStateChanged() 397 setupCarrierConfigCerts(getHash(CERT_1)); in testPackageAdded() 411 setupCarrierConfigCerts(getHash(CERT_1), getHash(CERT_2)); in testPackageAddedMultipleUsers() 427 setupCarrierConfigCerts(getHash(CERT_1), getHash(CERT_2)); in testPackageReplaced() 444 setupCarrierConfigCerts(getHash(CERT_1), getHash(CERT_2)); in testPackageAddedOrReplacedNoSignatures() 465 setupCarrierConfigCerts(getHash(CERT_1), getHash(CERT_2)); in testPackageAddedOrReplacedSignatureChanged() [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()
|
D | BackupFileBuilderTest.java | 610 byte[] chunkHash = encryptedChunk.key().getHash(); in createChunkFor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | ImageWallpaperRenderer.java | 146 Log.v(TAG, "WallpaperTexture: release 0x" + getHash() in use() 159 private String getHash() { in getHash() method in ImageWallpaperRenderer.WallpaperTexture 169 return "{" + getHash() + ", " + mRefCount.get() + "}"; in toString()
|
/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/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 | 365 public String getHash() { in getHash() method in DownloadRequest
|
D | MbmsDownloadReceiver.java | 199 String expectedTokenFileName = request.getHash() + DOWNLOAD_TOKEN_SUFFIX; in verifyIntentContents()
|
/frameworks/base/telephony/java/android/telephony/ |
D | MbmsDownloadSession.java | 1060 String downloadTokenFileName = request.getHash() in getDownloadRequestTokenPath()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 62425 Landroid/security/net/config/DirectoryCertificateSource;->getHash(Ljavax/security/auth/x500/X500Pri… 68327 Landroid/telephony/mbms/DownloadRequest;->getHash()Ljava/lang/String; 76821 Landroid/view/textclassifier/SelectionSessionLogger$SignatureParser;->getHash(Ljava/lang/String;)I
|
D | boot-image-profile.txt | 17448 HSPLandroid/security/net/config/DirectoryCertificateSource;->getHash(Ljavax/security/auth/x500/X500…
|