Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DKeyManagementTest.java87 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)); in testCanInstallAndRemoveValidRsaKeypair()
111 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testCanInstallWithAutomaticAccess()
113 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testCanInstallWithAutomaticAccess()
145 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, certChain, alias, true)); in testCanInstallCertChain()
170 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testGrantsDoNotPersistBetweenInstallations()
181 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testGrantsDoNotPersistBetweenInstallations()
196 mDevicePolicyManager.installKeyPair(getWho(), null, cert, alias); in testNullKeyParamsFailPredictably()
201 mDevicePolicyManager.installKeyPair(getWho(), privKey, null, alias); in testNullKeyParamsFailPredictably()
212 mDevicePolicyManager.installKeyPair(null, privKey, cert, alias); in testNullAdminComponentIsDenied()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java233 installKeyPair(TEST_KEY, TEST_CERT, alias); in testInstallKeyPair()
243 installKeyPair(TEST_KEY, TEST_CERT, alias); in testInstallKeyPair()
336 private void installKeyPair(String key, String cert, String alias) { in installKeyPair() method in DelegatedCertInstallerTest
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DCertInstallDelegateTest.java174 mDpm.installKeyPair(null, privatekey, certificate, alias)); in testCanAccessApis()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java138 sendResult(context, dpm.installKeyPair(null, privatekey, certificate, alias), in onReceive()