Home
last modified time | relevance | path

Searched refs:installKeyPair (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DKeyManagementTest.java92 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)); in testCanInstallAndRemoveValidRsaKeypair()
116 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testCanInstallWithAutomaticAccess()
118 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testCanInstallWithAutomaticAccess()
150 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, certChain, alias, true)); in testCanInstallCertChain()
175 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testGrantsDoNotPersistBetweenInstallations()
186 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testGrantsDoNotPersistBetweenInstallations()
201 mDevicePolicyManager.installKeyPair(getWho(), null, cert, alias); in testNullKeyParamsFailPredictably()
206 mDevicePolicyManager.installKeyPair(getWho(), privKey, null, alias); in testNullKeyParamsFailPredictably()
217 mDevicePolicyManager.installKeyPair(null, privKey, cert, alias); in testNullAdminComponentIsDenied()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java211 installKeyPair(TEST_KEY, TEST_CERT, alias); in testInstallKeyPair()
221 installKeyPair(TEST_KEY, TEST_CERT, alias); in testInstallKeyPair()
302 private void installKeyPair(String key, String cert, String alias) { in installKeyPair() method in DelegatedCertInstallerTest
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java138 sendResult(context, dpm.installKeyPair(null, privatekey, certificate, alias), in onReceive()