Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DFileIntegrityManagerTest.java80 private FileIntegrityManager mFileIntegrityManager; field in FileIntegrityManagerTest
105 mFileIntegrityManager = mContext.getSystemService(FileIntegrityManager.class); in setUp()
124 assertTrue(mFileIntegrityManager.isApkVeritySupported()); in testSupportedOnDevicesFirstLaunchedWithR()
131 boolean isReleaseCertTrusted = mFileIntegrityManager.isAppSourceCertificateTrusted( in testIsAppSourceCertificateTrusted()
134 && mFileIntegrityManager.isApkVeritySupported()) { in testIsAppSourceCertificateTrusted()
145 boolean isDebugCertTrusted = mFileIntegrityManager.isAppSourceCertificateTrusted( in testPlatformDebugCertificateNotTrusted()
181 mFileIntegrityManager.setupFsVerity(file); in testEnableAndMeasureFsVerityByFile()
183 byte[] actualDigest = mFileIntegrityManager.getFsVerityDigest(file); in testEnableAndMeasureFsVerityByFile()
198 assertThrows(Exception.class, () -> mFileIntegrityManager.setupFsVerity(file)); in testFailToEnableUnsupportedLocation()
215 mFileIntegrityManager.setupFsVerity(file)); in testFailToEnableWithOpenedWritableFd()
[all …]