Home
last modified time | relevance | path

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

/development/samples/KeyChainDemo/src/com/example/android/keychain/
DKeyChainDemoActivity.java165 public void alias(String alias) { in alias() method in KeyChainDemoActivity
166 if (alias != null) { in alias()
167 setAlias(alias); // Set the alias in the application preference in alias()
190 private void setAlias(String alias) { in setAlias() argument
194 editor.putString(KEYCHAIN_PREF_ALIAS, alias); in setAlias()
202 String alias = getAlias(); in printInfo() local
203 X509Certificate[] certs = getCertificateChain(alias); in printInfo()
204 final PrivateKey privateKey = getPrivateKey(alias); in printInfo()
262 private X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() argument
264 return KeyChain.getCertificateChain(this, alias); in getCertificateChain()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java150 final String alias = aliasInput.getText().toString(); in onCreate()
151 if (alias == null || alias.length() == 0) { in onCreate()
162 new GenerateTask().execute(alias); in onCreate()
171 final String alias = mSelectedAlias; in onCreate()
173 if (alias != null) { in onCreate()
175 new SignTask().execute(alias, data); in onCreate()
184 final String alias = mSelectedAlias; in onCreate()
187 if (alias != null) { in onCreate()
189 new VerifyTask().execute(alias, data, signature); in onCreate()
198 final String alias = mSelectedAlias; in onCreate()
[all …]
/development/samples/Vault/src/com/example/android/vault/
DSecretKeyWrapper.java53 public SecretKeyWrapper(Context context, String alias) in SecretKeyWrapper() argument
60 if (!keyStore.containsAlias(alias)) { in SecretKeyWrapper()
61 generateKeyPair(context, alias); in SecretKeyWrapper()
67 alias, null); in SecretKeyWrapper()
71 private static void generateKeyPair(Context context, String alias) in generateKeyPair() argument
78 .setAlias(alias) in generateKeyPair()
79 .setSubject(new X500Principal("CN=" + alias)) in generateKeyPair()
/development/samples/training/basic/ActivityLifecycle/
Dant.properties15 # 'key.alias' for the name of the key to use.
Dbuild.properties15 # 'key.alias' for the name of the key to use.
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java345 public void setAlias(String alias) { in setAlias() argument
346 mAlias = alias; in setAlias()
/development/tools/winscope/
Dwebpack.config.js87 alias: { property
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv6184 …ke_TKtbFpDGTEGasvBhGDq5XA@fakeemail.com,init+bootstat: reduce last reboot reason to canonical alias
6567 …ystem/core,fake_TKtbFpDGTEGasvBhGDq5XA@fakeemail.com,libcutils: fs_config internal table alias test
7042 …tem/core,fake_TKtbFpDGTEGasvBhGDq5XA@fakeemail.com,"libcutils: fs_config: alias ""system/<partitio…
10800 …n,fake_Ck5QidIRTuqsKvobuKU0AA@fakeemail.com,Have KCS.installCaCertificate() return the cert's alias
22190 …ibcxx,fake_1ViOpRpRTx6YQwQMN1mW9Q@fakeemail.com,Add experimental container alias templates for PMRs
26188 …form/development,fake_4dZW8zNjRpGYuq5Umf5eBA@fakeemail.com,vndk-def: Remove compute_closure() alias
32785 …atform/packages/apps/Settings,fake_OUDITKHUSL-yTt4gHeMWRQ@fakeemail.com,Remove some dashboard alias
34367 …s/apps/Settings,fake_fblvbNR2Tv-553Q0CtWj_A@fakeemail.com,Update activity alias for developer sett…
34646 …orm/packages/apps/Settings,fake_OUDITKHUSL-yTt4gHeMWRQ@fakeemail.com,Remove Battery Dashboad alias.
35165 …ZlKqg@fakeemail.com,"Add units for -atime and friends. (Also legacy -amin alias, but not in help t…
[all …]