Home
last modified time | relevance | path

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

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCaCertManagementTest.java82 boolean result = remoteDpm.installCaCert( in installCaCert_caCertIsInstalled()
100 remoteDpm.installCaCert(DPC_COMPONENT_NAME, CA_CERT_1); in installCaCert_logsEvent()
119 remoteDpm.installCaCert(DPC_COMPONENT_NAME, CA_CERT_1); in uninstallCaCert_caCertIsNotInstalled()
135 remoteDpm.installCaCert(DPC_COMPONENT_NAME, CA_CERT_1); in uninstallCaCert_otherCaCertsAreNotUninstalled()
136 remoteDpm.installCaCert(DPC_COMPONENT_NAME, CA_CERT_2); in uninstallCaCert_otherCaCertsAreNotUninstalled()
153 remoteDpm.installCaCert( in uninstallCaCert_logsEvent()
177 remoteDpm.installCaCert(DPC_COMPONENT_NAME, CA_CERT_1); in uninstallAllUserCaCerts_uninstallsAllCaCerts()
178 remoteDpm.installCaCert(DPC_COMPONENT_NAME, CA_CERT_2); in uninstallAllUserCaCerts_uninstallsAllCaCerts()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DCertInstallDelegateTest.java50 mDpm.installCaCert(null, null); in testCannotAccessApis()
65 assertTrue("Certificate installation failed", mDpm.installCaCert(null, cert)); in testCanAccessApis()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java137 installCaCert(cert); in testCaCertsOperations()
165 installCaCert(cert); in testCaCertsOperations()
264 private void installCaCert(byte[] cert) { in installCaCert() method in DelegatedCertInstallerTest
DSecurityLoggingTest.java317 installCaCert(); in generateKeyChainEvents()
620 private void installCaCert() { in installCaCert() method in SecurityLoggingTest
622 mDevicePolicyManager.installCaCert(ADMIN_RECEIVER_COMPONENT, TEST_CA.getBytes())); in installCaCert()
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DAdminActionBookkeepingTest.java71 assertTrue(mDevicePolicyManager.installCaCert(getWho(), rawCert)); in testGetPolicyInstalledCaCerts()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java89 if (!dpm.installCaCert(null, certBuffer)) { in onReceive()
DDirectDelegatedCertInstallerTest.java113 mDpm.installCaCert(null, cert)).isTrue(); in testCaCertsOperations()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java241 .that(mDevicePolicyManager.installCaCert(getWho(), rawCert)).isTrue(); in testGetPolicyInstalledCaCerts()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java462 mDevicePolicyManager.installCaCert(mComponent, in testInstallCaCert_failIfNotProfileOwner()
477 mDevicePolicyManager.installCaCert(null, TEST_CA_STRING1.getBytes()); in testInstallCaCert_failIfNotCertInstaller()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDevicePolicyManagerWrapper.java170 doAnswer(answer).when(spy).installCaCert(any(), any()); in getWrapper()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java468 mDpm.installCaCert(mAdmin, TEST_CA.getBytes()); in onCreate()