Home
last modified time | relevance | path

Searched refs:expectedHash (Results 1 – 9 of 9) sorted by relevance

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DLockscreenCredentialTest.java185 String expectedHash = "BCFB17409F2CD0A00D8627F76D080FB547B0B6A30CB7A375A34720D2312EDAC7"; in testPasswordToHistoryHash() local
189 .isEqualTo(expectedHash); in testPasswordToHistoryHash()
193 .isEqualTo(expectedHash); in testPasswordToHistoryHash()
228 String expectedHash = in testLegacyPasswordToHash() local
233 .isEqualTo(expectedHash); in testLegacyPasswordToHash()
237 .isEqualTo(expectedHash); in testLegacyPasswordToHash()
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/
H A DChunkHasherTest.java59 byte[] expectedHash = mac.doFinal(TEST_DATA); in computeHash_returnsHmacForData()
60 assertThat(hash).isEqualTo(expectedHash); in computeHash_returnsHmacForData()
/aosp12/packages/modules/Virtualization/authfs/tests/java/src/com/android/fs/
H A DAuthFsHostTest.java184 String expectedHash = computeFileHashInGuest(srcPath); in testWriteThroughCorrectly() local
185 expectBackingFileConsistency(destPath, backendPath, expectedHash); in testWriteThroughCorrectly()
253 String authFsPath, String backendPath, String expectedHash) in expectBackingFileConsistency() argument
256 assertEquals("File hash is different to expectation", expectedHash, hashOnAuthFs); in expectBackingFileConsistency()
/aosp12/build/soong/genrule/
H A Dgenrule_test.go508 expectedHash string
513 expectedHash: "18da75b9b1cc74b09e365b4ca2e321b5d618f438cc632b387ad9dc2ab4b20e9d",
518 expectedHash: "a38d432a4b19df93140e1f1fe26c97ff0387dae01fe506412b47208f0595fb45",
523 expectedHash: "a38d432a4b19df93140e1f1fe26c97ff0387dae01fe506412b47208f0595fb45",
535 android.AssertStringEquals(t, "hash", test.expectedHash, hash)
/aosp12/build/soong/android/
H A Drule_builder_test.go759 expectedHash string
763 expectedHash: hashOf("implicit\nin1.txt\nin2.txt"),
767 expectedHash: hashOf("implicit\nin1.txt\nin2.txt\nin3.txt"),
783 AssertStringEquals(t, "hash", test.expectedHash, hash)
788 if g, w := command, " # hash of input list: "+test.expectedHash; !strings.HasSuffix(g, w) {
/aosp12/frameworks/native/cmds/installd/binder/android/os/
H A DIInstalld.aidl98 void assertFsverityRootHashMatches(@utf8InCpp String filePath, in byte[] expectedHash); in assertFsverityRootHashMatches() argument
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DInstaller.java695 public void assertFsverityRootHashMatches(String filePath, @NonNull byte[] expectedHash) in assertFsverityRootHashMatches() argument
700 mInstalld.assertFsverityRootHashMatches(filePath, expectedHash); in assertFsverityRootHashMatches()
/aosp12/frameworks/native/cmds/installd/
H A DInstalldNativeService.h157 const std::vector<uint8_t>& expectedHash);
H A DInstalldNativeService.cpp2789 const std::vector<uint8_t>& expectedHash) { in assertFsverityRootHashMatches() argument
2798 if (expectedHash.size() != kSha256Size) { in assertFsverityRootHashMatches()
2800 std::to_string(expectedHash.size())); in assertFsverityRootHashMatches()
2814 memcpy(config->digest, expectedHash.data(), kSha256Size); in assertFsverityRootHashMatches()