/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/ |
D | ChunkTest.java | 45 mChunkHashA = getHash(CHUNK_A); in setUp() 51 out.write(ChunksMetadataProto.Chunk.HASH, mChunkHashA.getHash()); in testReadFromProto_readsCorrectly() 59 assertThat(chunk.getHash()).isEqualTo(mChunkHashA.getHash()); in testReadFromProto_readsCorrectly() 69 out.write(ChunksMetadataProto.Chunk.HASH, mChunkHashA.getHash()); in testReadFromProto_whenFieldsWrittenInReversedOrder_readsCorrectly() 76 assertThat(chunk.getHash()).isEqualTo(mChunkHashA.getHash()); in testReadFromProto_whenFieldsWrittenInReversedOrder_readsCorrectly() 86 assertThat(chunk.getHash()).asList().hasSize(0); in testReadFromProto_whenEmptyProto_returnsEmptyHash() 93 out.write(ChunksMetadataProto.Chunk.HASH, mChunkHashA.getHash()); in testReadFromProto_whenOnlyHashSet_returnsChunkWithOnlyHash() 100 assertThat(chunk.getHash()).isEqualTo(mChunkHashA.getHash()); in testReadFromProto_whenOnlyHashSet_returnsChunkWithOnlyHash() 114 assertThat(chunk.getHash()).isEqualTo(new byte[] {}); in testReadFromProto_whenOnlyLengthSet_returnsChunkWithOnlyLength() 118 private ChunkHash getHash(String name) { in getHash() method in ChunkTest
|
D | ChunkListingMapTest.java | 54 mChunkHashA = getHash(CHUNK_A); in setUp() 55 mChunkHashB = getHash(CHUNK_B); in setUp() 56 mChunkHashC = getHash(CHUNK_C); in setUp() 87 ChunkHash chunkHashEmpty = getHash(""); in testHasChunk_whenChunkNotInListing_returnsFalse() 188 out.write(ChunksMetadataProto.Chunk.HASH, chunkHash.getHash()); in writeToProtoOutputStream() 193 private 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/services/backup/java/com/android/server/backup/encryption/chunk/ |
D | ChunkHash.java | 43 public byte[] getHash() { in getHash() method in ChunkHash 67 return lexicographicalCompareUnsignedBytes(getHash(), other.getHash()); in compareTo()
|
D | Chunk.java | 51 public byte[] getHash() { in getHash() method in Chunk
|
D | ChunkListingMap.java | 52 entries.put(new ChunkHash(chunk.getHash()), new Entry(start, chunk.getLength())); in readFromProto()
|
/frameworks/base/services/robotests/backup/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 | ChunkEncryptorTest.java | 112 byte[] generatedHash = chunk.key().getHash(); in encrypt_generatesHmacOfPlaintext()
|
/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/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/core/java/android/view/textclassifier/ |
D | SelectionSessionLogger.java | 299 static int getHash(@Nullable String signature) { in getHash() method in SelectionSessionLogger.SignatureParser
|
/frameworks/base/telephony/java/android/telephony/ |
D | MbmsDownloadSession.java | 1127 String downloadTokenFileName = request.getHash() in getDownloadRequestTokenPath()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 62428 Landroid/security/net/config/DirectoryCertificateSource;->getHash(Ljavax/security/auth/x500/X500Pri… 68330 Landroid/telephony/mbms/DownloadRequest;->getHash()Ljava/lang/String; 76824 Landroid/view/textclassifier/SelectionSessionLogger$SignatureParser;->getHash(Ljava/lang/String;)I
|