Home
last modified time | relevance | path

Searched refs:VerityUtils (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/com/android/internal/security/
DTEST_MAPPING16 "file_patterns": ["VerityUtils\\.java"]
20 "file_patterns": ["VerityUtils\\.java"]
26 "file_patterns": ["VerityUtils\\.java"]
DOWNERS3 per-file VerityUtils.java = file:platform/system/security:/fsverity/OWNERS
DVerityUtils.java53 public abstract class VerityUtils { class
/frameworks/base/services/core/java/com/android/server/security/
DFileIntegrity.java25 import com.android.internal.security.VerityUtils;
66 VerityUtils.setUpFsverity(parcelFileDescriptor.getFd()); in setUpFsVerity()
DFileIntegrityService.java42 import com.android.internal.security.VerityUtils;
91 return VerityUtils.isFsVeritySupported(); in isApkVeritySupported()
107 if (!VerityUtils.isFsVeritySupported()) { in isAppSourceCertificateTrusted()
233 byte[] digest = VerityUtils.getFsverityDigest(filePath); in verifyPkcs7DetachedSignature()
238 if (VerityUtils.verifyPkcs7DetachedSignature(signatureBytes, digest, in verifyPkcs7DetachedSignature()
/frameworks/base/core/java/android/security/
DFileIntegrityManager.java32 import com.android.internal.security.VerityUtils;
152 return VerityUtils.getFsverityDigest(file.getPath()); in getFsVerityDigest()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DFontManagerService.java45 import com.android.internal.security.VerityUtils;
190 final byte[] digest = VerityUtils.getFsverityDigest(fontPath); in isFromTrustedProvider()
197 if (VerityUtils.verifyPkcs7DetachedSignature(pkcs7Signature, digest, is)) { in isFromTrustedProvider()
209 VerityUtils.setUpFsverity(filePath); in setUpFsverity()
285 if (!VerityUtils.isFsVeritySupported()) return null; in createUpdatableFontDir()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV4Verifier.java30 import com.android.internal.security.VerityUtils;
118 final byte[] actualDigest = VerityUtils.getFsverityDigest(apk.getAbsolutePath()); in extractSignature()
123 VerityUtils.generateFsVerityDigest(apk.length(), hashingInfo); in extractSignature()
/frameworks/base/core/java/android/content/pm/dex/
DDexMetadataHelper.java33 import com.android.internal.security.VerityUtils;
81 return VerityUtils.isFsVeritySupported() in isFsVerityRequired()
/frameworks/base/core/tests/coretests/src/com/android/internal/security/
DVerityUtilsTest.java249 return VerityUtils.verifyPkcs7DetachedSignature( in verifySignature()
254 return VerityUtils.toFormattedDigest(digest); in toFormattedDigest()
/frameworks/base/services/core/java/com/android/server/pm/
DApkChecksums.java63 import com.android.internal.security.VerityUtils;
652 if (VerityUtils.hasFsverity(filePath)) { in extractHashFromFS()
653 byte[] verityHash = VerityUtils.getFsverityDigest(filePath); in extractHashFromFS()
DPackageInstallerSession.java180 import com.android.internal.security.VerityUtils;
852 if (VerityUtils.isFsveritySignatureFile(file)) return false;
1594 VerityUtils.setUpFsverity(file.getPath()); in enableFsVerityToAddedApksWithIdsig()
3443 && VerityUtils.hasFsverity(pkgInfo.applicationInfo.getBaseCodePath())
3444 && (new File(VerityUtils.getFsveritySignatureFilePath(
3851 VerityUtils.getFsveritySignatureFilePath(origFile.getPath()));
3854 VerityUtils.getFsveritySignatureFilePath(targetFile.getPath()));
3969 VerityUtils.getFsveritySignatureFilePath(origFile.getPath()));
4001 && VerityUtils.isFsVeritySupported()) {
4014 VerityUtils.getFsveritySignatureFilePath(origFile.getPath()));
DInstallPackageHelper.java170 import com.android.internal.security.VerityUtils;
2112 VerityUtils.getFsveritySignatureFilePath(pkg.getBaseApkPath())); in setUpFsVerity()
2117 fsverityCandidates.put(dmPath, VerityUtils.getFsveritySignatureFilePath(dmPath)); in setUpFsVerity()
2121 fsverityCandidates.put(path, VerityUtils.getFsveritySignatureFilePath(path)); in setUpFsVerity()
2126 VerityUtils.getFsveritySignatureFilePath(splitDmPath)); in setUpFsVerity()
2134 if (VerityUtils.hasFsverity(filePath)) { in setUpFsVerity()
2142 VerityUtils.setUpFsverity(filePath); in setUpFsVerity()
/frameworks/base/boot/
Dpreloaded-classes11527 com.android.internal.security.VerityUtils
Dboot-image-profile.txt33963 Lcom/android/internal/security/VerityUtils;
/frameworks/base/config/
Dpreloaded-classes11558 com.android.internal.security.VerityUtils
Dboot-image-profile.txt44124 Lcom/android/internal/security/VerityUtils;