Home
last modified time | relevance | path

Searched defs:alias (Results 1 – 20 of 20) sorted by relevance

/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DIKeyChainServiceTestSupport.aidl38 void revokeAppPermission(int uid, String alias); in revokeAppPermission()
39 void grantAppPermission(int uid, String alias); in grantAppPermission()
40 …oolean installKeyPair(in byte[] privateKey, in byte[] userCert, in byte[] certChain, String alias); in installKeyPair()
41 boolean removeKeyPair(String alias); in removeKeyPair()
42 void setUserSelectable(String alias, boolean isUserSelectable); in setUserSelectable()
44 int attestKey(in String alias, in byte[] challenge, in int[] idAttestationFlags); in attestKey()
45 boolean setKeyPairCertificate(String alias, in byte[] userCert, in byte[] certChain); in setKeyPairCertificate()
/packages/apps/KeyChain/src/com/android/keychain/internal/
DGrantsDatabase.java116 private void markKeyAsSelectable(final SQLiteDatabase db, final String alias) { in markKeyAsSelectable()
123 private boolean hasEntryInUserSelectableTable(final SQLiteDatabase db, final String alias) { in hasEntryInUserSelectableTable()
157 boolean hasGrantInternal(final SQLiteDatabase db, final int uid, final String alias) { in hasGrantInternal()
166 public boolean hasGrant(final int uid, final String alias) { in hasGrant()
171 public void setGrant(final int uid, final String alias, final boolean value) { in setGrant()
188 public void removeAliasInformation(String alias) { in removeAliasInformation()
226 public void setIsUserSelectable(final String alias, final boolean userSelectable) { in setIsUserSelectable()
235 public boolean isUserSelectable(final String alias) { in isUserSelectable()
242 new String[] {alias}, in isUserSelectable()
DKeyInfoProvider.java13 public boolean isUserSelectable(String alias); in isUserSelectable()
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DShadowTrustedCertificateStore.java48 public Certificate getCertificate(String alias) { in getCertificate()
53 public void deleteCertificateEntry(String alias) throws IOException, CertificateException { in deleteCertificateEntry()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java205 String alias = getIntent().getStringExtra(KeyChain.EXTRA_ALIAS); in chooseCertificate() local
241 public boolean shouldPresentCertificate(String alias) { in shouldPresentCertificate()
337 String alias = getIntent().getStringExtra(KeyChain.EXTRA_ALIAS); in displayCertChooserDialog() local
470 String alias = mAliases.get(adapterPosition); in getView() local
503 String alias = mAliases.get(mAdapterPosition); in doInBackground() local
526 private void finish(String alias) { in finish()
530 private void finishWithAliasFromPolicy(String alias) { in finishWithAliasFromPolicy()
534 private void finish(String alias, boolean isAliasFromPolicy) { in finish()
562 private ResponseSender(IKeyChainAliasCallback keyChainAliasResponse, String alias, in ResponseSender()
609 private static X509Certificate loadCertificate(KeyStore keyStore, String alias) { in loadCertificate()
[all …]
DKeyChainService.java666 private void broadcastPermissionChange(int uid, String alias, boolean access) { in broadcastPermissionChange()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java228 String alias; in chooseClientAlias() local
246 @Override public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain()
274 @Override public PrivateKey getPrivateKey(String alias) { in getPrivateKey()
291 @Override public void alias(String alias) { in alias() method in KeyChainTestActivity.AliasResponse
DBasicKeyChainServiceTest.java314 void generateRsaKey(String alias) throws RemoteException { in generateRsaKey()
321 void removeKeyPair(String alias) throws RemoteException { in removeKeyPair()
410 private KeyGenParameterSpec buildRsaKeySpec(String alias) { in buildRsaKeySpec()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DUserCredentialsTest.java39 final String alias = "credential-test-alias"; in testCredentialIsParcelable() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DCredentialStorage.java146 String alias = bundle.getString(Credentials.EXTRA_USER_KEY_ALIAS, null); in installIfAvailable() local
260 InstallKeyInKeyChain(String alias, byte[] keyData, byte[] certData, byte[] caListData, in InstallKeyInKeyChain()
292 private void onKeyInstalled(String alias, int uid, boolean result) { in onKeyInstalled()
318 MarkKeyAsUserSelectable(String alias) { in MarkKeyAsUserSelectable()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DCredentialStorageActivity.java198 String alias = installBundle.getString(Credentials.EXTRA_USER_KEY_ALIAS, null); in installIfAvailable() local
281 InstallKeyInKeyChain(String alias, byte[] keyData, byte[] certData, byte[] caListData, in InstallKeyInKeyChain()
314 private void onKeyInstalled(String alias, int uid, boolean result) { in onKeyInstalled()
342 MarkKeyAsUserSelectable(CredentialStorageActivity credentialStorage, String alias) { in MarkKeyAsUserSelectable()
/packages/apps/Settings/src/com/android/settings/security/
DCredentialStorage.java147 String alias = bundle.getString(Credentials.EXTRA_USER_KEY_ALIAS, null); in installIfAvailable() local
261 InstallKeyInKeyChain(String alias, byte[] keyData, byte[] certData, byte[] caListData, in InstallKeyInKeyChain()
302 private void onKeyInstalled(String alias, int uid, boolean result) { in onKeyInstalled()
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java94 protected void announceRemoval(String alias) { in announceRemoval()
282 private boolean isAsymmetric(KeyStore keyStore, String alias, int uid) in isAsymmetric()
430 public String alias; field in UserCredentialsSettings.AliasEntry
451 final String alias; field in UserCredentialsSettings.Credential
469 Credential(final String alias, final int uid) { in Credential()
DTrustedCredentialsSettings.java140 private boolean deleted(IKeyChainService service, String alias) throws RemoteException { in deleted()
741 String alias = aliases.get(j); in doInBackground() local
841 String alias, in CertHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUserCredentialsSettings.java94 protected void announceRemoval(String alias) { in announceRemoval()
282 private boolean isAsymmetric(KeyStore keyStore, String alias, int uid) in isAsymmetric()
430 public String alias; field in UserCredentialsSettings.AliasEntry
451 final String alias; field in UserCredentialsSettings.Credential
469 Credential(final String alias, final int uid) { in Credential()
DTrustedCredentialsSettings.java140 private boolean deleted(IKeyChainService service, String alias) throws RemoteException { in deleted()
741 String alias = aliases.get(j); in doInBackground() local
841 String alias, in CertHolder()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java351 String alias = trustedCertificateStore.getCertificateAlias(caCert); in installVpnAndAppsTrustAnchors() local
363 private void maybeApproveCaCert(Context context, String alias) { in maybeApproveCaCert()
404 String alias = aliases.nextElement(); in extractPkcs12Internal() local
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeCertPayload.java144 String alias = in validateCertificates() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java193 String alias = findAliasFromKeystore(keyStore); in maybeUpdateClientKeyForEAPConfiguration() local
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java2275 private static String buildDisplayPhotoUriAlias(String contactIdColumn, String alias) { in buildDisplayPhotoUriAlias()
2287 private static String buildThumbnailPhotoUriAlias(String contactIdColumn, String alias) { in buildThumbnailPhotoUriAlias()