Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCaCertManagementTest.java35 assertFalse(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
36 assertFalse(hasCaCertInstalled(FAKE_DSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
38 assertTrue(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
39 assertFalse(hasCaCertInstalled(FAKE_DSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
41 assertFalse(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
42 assertFalse(hasCaCertInstalled(FAKE_DSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
49 assertTrue(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testUninstallationIsSelective()
50 assertFalse(hasCaCertInstalled(FAKE_DSA_1.caCertificate)); in testUninstallationIsSelective()
58 assertFalse(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testCanUninstallAllUserCaCerts()
59 assertFalse(hasCaCertInstalled(FAKE_DSA_1.caCertificate)); in testCanUninstallAllUserCaCerts()
[all …]
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerActivity.java87 if (dpm.hasCaCertInstalled(null, certBuffer)) { in onCreate()
93 if (!dpm.hasCaCertInstalled(null, certBuffer)) { in onCreate()
104 if (!dpm.hasCaCertInstalled(null, certBuffer)) { in onCreate()
108 sendResult(!dpm.hasCaCertInstalled(null, certBuffer), null); in onCreate()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java187 assertTrue("Certificate is not installed properly", mDpm.hasCaCertInstalled( in testCaCertsOperations()
197 assertFalse("Certificate is not removed properly", mDpm.hasCaCertInstalled( in testCaCertsOperations()
/cts/tests/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java803 mDevicePolicyManager.hasCaCertInstalled(mComponent, in testHasCaCertInstalled_failIfNotProfileOwner()
818 mDevicePolicyManager.hasCaCertInstalled(null, TEST_CA_STRING1.getBytes()); in testHasCaCertInstalled_failIfNotCertInstaller()