Home
last modified time | relevance | path

Searched refs:alias (Results 1 – 25 of 39) sorted by relevance

12

/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java97 public String requestPrivateKey(String alias) {
98 checkArgs(alias);
100 final String keystoreAlias = Credentials.USER_PRIVATE_KEY + alias;
116 @Override public byte[] getCertificate(String alias) {
117 checkArgs(alias);
118 return mKeyStore.get(Credentials.USER_CERTIFICATE + alias);
121 private void checkArgs(String alias) {
122 if (alias == null) {
131 if (!hasGrantInternal(mDatabaseHelper.getReadableDatabase(), callingUid, alias)) {
153 String alias) {
[all …]
DKeyChainActivity.java188 String alias = getIntent().getStringExtra(KeyChain.EXTRA_ALIAS); in displayCertChooserDialog() local
189 if (alias != null) { in displayCertChooserDialog()
191 int adapterPosition = adapter.mAliases.indexOf(alias); in displayCertChooserDialog()
207 String alias = ((adapterPosition >= 0) in displayCertChooserDialog()
210 finish(alias); in displayCertChooserDialog()
303 String alias = mAliases.get(adapterPosition); in getView() local
305 holder.mAliasTextView.setText(alias); in getView()
329 String alias = mAliases.get(mAdapterPosition); in doInBackground() local
330 byte[] bytes = mKeyStore.get(Credentials.USER_CERTIFICATE + alias); in doInBackground()
377 private void finish(String alias) { in finish() argument
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLUtils.java254 @Override public abstract X509Certificate[] getCertificateChain(String alias); in getCertificateChain() argument
256 @Override public abstract PrivateKey getPrivateKey(String alias); in getPrivateKey() argument
300 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() argument
308 public PrivateKey getPrivateKey(String alias) { in getPrivateKey() argument
337 public static KeyChainKeyManager fromAlias(Context context, String alias) in fromAlias() argument
341 certificateChain = KeyChain.getCertificateChain(context, alias); in fromAlias()
343 logError(alias, "certificate chain", e); in fromAlias()
346 logError(alias, "certificate chain", e); in fromAlias()
352 privateKey = KeyChain.getPrivateKey(context, alias); in fromAlias()
354 logError(alias, "private key", e); in fromAlias()
[all …]
DCertificateRequestor.java61 public void alias(String alias) { in alias() argument
62 if (alias == null) { in alias()
66 data.putExtra(RESULT_ALIAS, alias); in alias()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java228 String alias; in chooseClientAlias() local
236 alias = mAlias; in chooseClientAlias()
238 return alias; in chooseClientAlias()
246 @Override public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() argument
250 = KeyChain.getCertificateChain(KeyChainTestActivity.this, alias); in getCertificateChain()
274 @Override public PrivateKey getPrivateKey(String alias) { in getPrivateKey() argument
278 alias); in getPrivateKey()
291 @Override public void alias(String alias) { in alias() argument
292 if (alias == null) { in alias()
299 log("Alias choosen '" + alias + "'"); in alias()
[all …]
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java51 @Override public void revokeAppPermission(final int uid, final String alias)
54 blockingSetGrantPermission(uid, alias, false);
57 @Override public void grantAppPermission(final int uid, final String alias)
60 blockingSetGrantPermission(uid, alias, true);
70 private void blockingSetGrantPermission(int senderUid, String alias, boolean value)
75 connection.getService().setGrant(senderUid, alias, value);
DIKeyChainServiceTestSupport.aidl37 void revokeAppPermission(int uid, String alias); in revokeAppPermission() argument
38 void grantAppPermission(int uid, String alias); in grantAppPermission() argument
/packages/apps/Email/src/com/android/email/view/
DCertificateSelector.java84 public void setCertificate(String alias) { in setCertificate() argument
86 mValue = alias; in setCertificate()
88 TextUtils.isEmpty(alias) in setCertificate()
90 : alias); in setCertificate()
92 TextUtils.isEmpty(alias) in setCertificate()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java117 private boolean deleted(IKeyChainService service, String alias) throws RemoteException { in deleted() argument
120 return !service.containsCaAlias(alias); in deleted()
472 String alias = aliases.get(j).string; in doInBackground() local
473 byte[] encodedCertificate = service.getEncodedCaCertificate(alias, in doInBackground()
477 mTab, alias, cert, profileId)); in doInBackground()
540 String alias, in CertHolder() argument
547 mAlias = alias; in CertHolder()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java337 String alias = aliases.nextElement(); in extractPkcs12Internal() local
338 KeyStore.Entry entry = keystore.getEntry(alias, passwordProtection); in extractPkcs12Internal()
339 Log.d(TAG, "extracted alias = " + alias + ", entry=" + entry.getClass()); in extractPkcs12Internal()
343 mName = alias; in extractPkcs12Internal()
/packages/apps/Settings/tests/src/com/android/settings/vpn2/
DCertInstallerHelper.java100 String alias = aliasesList.get(0); in extractCertificate() local
101 java.security.KeyStore.Entry entry = keystore.getEntry(alias, passwordProtection); in extractCertificate()
102 Log.d(TAG, "extracted alias = " + alias + ", entry=" + entry.getClass()); in extractCertificate()
/packages/apps/Browser/src/com/android/browser/
DKeyChainLookup.java31 KeyChainLookup(Context context, ClientCertRequest handler, String alias) { in KeyChainLookup() argument
34 mAlias = alias; in KeyChainLookup()
DTab.java581 @Override public void alias(String alias) {
582 if (alias == null) {
586 new KeyChainLookup(mContext, request, alias).execute();
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java2111 private static String buildDisplayPhotoUriAlias(String contactIdColumn, String alias) { in buildDisplayPhotoUriAlias() argument
2120 + " AS " + alias; in buildDisplayPhotoUriAlias()
2123 private static String buildThumbnailPhotoUriAlias(String contactIdColumn, String alias) { in buildThumbnailPhotoUriAlias() argument
2131 + " AS " + alias; in buildThumbnailPhotoUriAlias()
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile186 # as commands in the documentation. An alias has the form "name=value".
190 # You can put \n's in the value part of an alias to insert newlines.
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile186 # as commands in the documentation. An alias has the form "name=value".
190 # You can put \n's in the value part of an alias to insert newlines.
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile186 # as commands in the documentation. An alias has the form "name=value".
190 # You can put \n's in the value part of an alias to insert newlines.
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile186 # as commands in the documentation. An alias has the form "name=value".
190 # You can put \n's in the value part of an alias to insert newlines.
/packages/inputmethods/LatinIME/dictionaries/
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1393228135, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1400639634, ...
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...

12