Searched refs:hasCaCertInstalled (Results 1 – 4 of 4) sorted by relevance
35 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 …]
87 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()
187 assertTrue("Certificate is not installed properly", mDpm.hasCaCertInstalled( in testCaCertsOperations()197 assertFalse("Certificate is not removed properly", mDpm.hasCaCertInstalled( in testCaCertsOperations()
803 mDevicePolicyManager.hasCaCertInstalled(mComponent, in testHasCaCertInstalled_failIfNotProfileOwner()818 mDevicePolicyManager.hasCaCertInstalled(null, TEST_CA_STRING1.getBytes()); in testHasCaCertInstalled_failIfNotCertInstaller()