Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCaCertManagementTest.java63 assertTrue(mDevicePolicyManager.installCaCert(mAdmin, FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
77 assertTrue(mDevicePolicyManager.installCaCert(mAdmin, FAKE_RSA_1.caCertificate)); in testUninstallationIsSelective()
78 assertTrue(mDevicePolicyManager.installCaCert(mAdmin, FAKE_DSA_1.caCertificate)); in testUninstallationIsSelective()
93 assertTrue(mDevicePolicyManager.installCaCert(mAdmin, FAKE_RSA_1.caCertificate)); in testCanUninstallAllUserCaCerts()
94 assertTrue(mDevicePolicyManager.installCaCert(mAdmin, FAKE_DSA_1.caCertificate)); in testCanUninstallAllUserCaCerts()
DDelegatedCertInstallerTest.java203 installCaCert(cert); in testCaCertsOperations()
231 installCaCert(cert); in testCaCertsOperations()
316 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.java458 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()
DDirectDelegatedCertInstallerTest.java148 mDpm.installCaCert(null, cert)).isTrue(); in testCaCertsOperations()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java197 assertTrue(mDevicePolicyManager.installCaCert(getWho(), rawCert)); in testGetPolicyInstalledCaCerts()
DSecurityLoggingTest.java274 installCaCert(); in generateKeyChainEvents()
543 private void installCaCert() { in installCaCert() method in SecurityLoggingTest
544 mDevicePolicyManager.installCaCert(getWho(), TEST_CA.getBytes()); in installCaCert()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java420 mDevicePolicyManager.installCaCert(mComponent, in testInstallCaCert_failIfNotProfileOwner()
435 mDevicePolicyManager.installCaCert(null, TEST_CA_STRING1.getBytes()); in testInstallCaCert_failIfNotCertInstaller()