Searched refs:installKeyPair (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 118 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)); in testCanInstallAndRemoveValidRsaKeypair() 142 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testCanInstallWithAutomaticAccess() 144 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testCanInstallWithAutomaticAccess() 182 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, certChain, alias, true)); in testCanInstallCertChain() 207 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testGrantsDoNotPersistBetweenInstallations() 218 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, new Certificate[] {cert}, in testGrantsDoNotPersistBetweenInstallations() 233 mDevicePolicyManager.installKeyPair(getWho(), null, cert, alias); in testNullKeyParamsFailPredictably() 238 mDevicePolicyManager.installKeyPair(getWho(), privKey, null, alias); in testNullKeyParamsFailPredictably() 249 mDevicePolicyManager.installKeyPair(null, privKey, cert, alias); in testNullAdminComponentIsDenied() 261 assertTrue(mDevicePolicyManager.installKeyPair( in testNotUserSelectableAliasCanBeChosenViaPolicy()
|
D | DelegatedCertInstallerTest.java | 238 installKeyPair(TEST_KEY, TEST_CERT, alias); in testInstallKeyPair() 248 installKeyPair(TEST_KEY, TEST_CERT, alias); in testInstallKeyPair() 341 private void installKeyPair(String key, String cert, String alias) { in installKeyPair() method in DelegatedCertInstallerTest
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | CertInstallDelegateTest.java | 168 mDpm.installKeyPair(null, privatekey, certificate, alias)); in testCanAccessApis()
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | CertInstallerReceiver.java | 138 sendResult(context, dpm.installKeyPair(null, privatekey, certificate, alias), in onReceive()
|