Home
last modified time | relevance | path

Searched refs:PRE_SELECTED_ALIAS (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerHelper.java38 private static final String PRE_SELECTED_ALIAS = "pre-selected-rsa"; field in DelegatedCertInstallerHelper
58 PRE_SELECTED_ALIAS); in testManualGenerateKeyAndGrantAccess()
60 PRE_SELECTED_ALIAS, CERT_INSTALLER_PACKAGE)); in testManualGenerateKeyAndGrantAccess()
65 PRE_SELECTED_ALIAS, CERT_INSTALLER_PACKAGE)); in testManualRemoveKeyGrant()
70 .removeKeyPair(ADMIN_RECEIVER_COMPONENT, PRE_SELECTED_ALIAS)); in testManualClearGeneratedKey()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DPreSelectedKeyAccessTest.java34 private static final String PRE_SELECTED_ALIAS = "pre-selected-rsa"; field in PreSelectedKeyAccessTest
44 PrivateKey privateKey = KeyChain.getPrivateKey(getContext(), PRE_SELECTED_ALIAS); in testAccessingPreSelectedAliasExpectingSuccess()
54 X509Certificate[] certs = KeyChain.getCertificateChain(getContext(), PRE_SELECTED_ALIAS); in testAccessingPreSelectedAliasExpectingSuccess()
66 assertThat(KeyChain.getPrivateKey(getContext(), PRE_SELECTED_ALIAS)).isNull(); in testAccessingPreSelectedAliasWithoutGrant()