Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCaCertManagementTest.java59 assertTrue(mDevicePolicyManager.installCaCert(mAdmin, FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
73 assertTrue(mDevicePolicyManager.installCaCert(mAdmin, FAKE_RSA_1.caCertificate)); in testUninstallationIsSelective()
74 assertTrue(mDevicePolicyManager.installCaCert(mAdmin, FAKE_DSA_1.caCertificate)); in testUninstallationIsSelective()
89 assertTrue(mDevicePolicyManager.installCaCert(mAdmin, FAKE_RSA_1.caCertificate)); in testCanUninstallAllUserCaCerts()
90 assertTrue(mDevicePolicyManager.installCaCert(mAdmin, FAKE_DSA_1.caCertificate)); in testCanUninstallAllUserCaCerts()
DDelegatedCertInstallerTest.java199 installCaCert(cert); in testCaCertsOperations()
227 installCaCert(cert); in testCaCertsOperations()
291 private void installCaCert(byte[] cert) { in installCaCert() method in DelegatedCertInstallerTest
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DCertInstallDelegateTest.java128 mDpm.installCaCert(null, null); in testCannotAccessApis()
143 assertTrue("Certificate installation failed", mDpm.installCaCert(null, cert)); in testCanAccessApis()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCompHelperActivity.java90 dpm.installCaCert(admin, TEST_CA.getBytes()); in onCreate()
DCommandReceiverActivity.java460 mDpm.installCaCert(mAdmin, TEST_CA.getBytes()); in onCreate()
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DAdminActionBookkeepingTest.java100 assertTrue(mDevicePolicyManager.installCaCert(getWho(), rawCert)); in testGetPolicyInstalledCaCerts()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java86 if (!dpm.installCaCert(null, certBuffer)) { in onReceive()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java197 assertTrue(mDevicePolicyManager.installCaCert(getWho(), rawCert)); in testGetPolicyInstalledCaCerts()
DSecurityLoggingTest.java270 installCaCert(); in generateKeyChainEvents()
532 private void installCaCert() { in installCaCert() method in SecurityLoggingTest
533 mDevicePolicyManager.installCaCert(getWho(), TEST_CA.getBytes()); in installCaCert()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java414 mDevicePolicyManager.installCaCert(mComponent, in testInstallCaCert_failIfNotProfileOwner()
429 mDevicePolicyManager.installCaCert(null, TEST_CA_STRING1.getBytes()); in testInstallCaCert_failIfNotCertInstaller()