/frameworks/base/keystore/java/android/security/ |
H A D | KeyChainAliasCallback.java | 29 * Called with the alias of the certificate chosen by the user, or 32 public void alias(String alias); argument
|
H A D | AndroidKeyStore.java | 59 * This is built on top of Android's keystore daemon. The convention of alias 78 public Key engineGetKey(String alias, char[] password) throws NoSuchAlgorithmException, argument 80 if (!isKeyEntry(alias)) { 86 return engine.getPrivateKeyById(Credentials.USER_PRIVATE_KEY + alias); 95 public Certificate[] engineGetCertificateChain(String alias) { argument 96 if (alias == null) { 97 throw new NullPointerException("alias == null"); 100 final X509Certificate leaf = (X509Certificate) engineGetCertificate(alias); 107 final byte[] caBytes = mKeyStore.get(Credentials.CA_CERTIFICATE + alias); 128 public Certificate engineGetCertificate(String alias) { argument 169 getModificationDate(String alias) argument 179 engineGetCreationDate(String alias) argument 198 engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument 211 setPrivateKeyEntry(String alias, PrivateKey key, Certificate[] chain, KeyStoreParameter params) argument 344 engineSetKeyEntry(String alias, byte[] userKey, Certificate[] chain) argument 350 engineSetCertificateEntry(String alias, Certificate cert) argument 374 engineDeleteEntry(String alias) argument 410 engineContainsAlias(String alias) argument 426 engineIsKeyEntry(String alias) argument 430 isKeyEntry(String alias) argument 438 isCertificateEntry(String alias) argument 447 engineIsCertificateEntry(String alias) argument 531 engineSetEntry(String alias, Entry entry, ProtectionParameter param) argument [all...] |
H A D | Credentials.java | 214 * particular {@code alias}. All three can exist for any given alias. 217 static boolean deleteAllTypesForAlias(KeyStore keystore, String alias) { argument 222 return keystore.delKey(Credentials.USER_PRIVATE_KEY + alias) 223 | deleteCertificateTypesForAlias(keystore, alias); 228 * particular {@code alias}. All three can exist for any given alias. 231 static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias) { argument 236 return keystore.delete(Credentials.USER_CERTIFICATE + alias) 237 | keystore.delete(Credentials.CA_CERTIFICATE + alias); [all...] |
H A D | KeyChain.java | 59 * certificate chains. The chosen alias will be returned by the 60 * callback {@link KeyChainAliasCallback#alias}, or null if no private 69 * <p>An application may remember the value of a selected alias to 71 * choosePrivateKeyAlias} on subsequent connections. If the alias is 118 public static final String EXTRA_ALIAS = "alias"; 145 * <p>{@link #EXTRA_NAME} may be used to provide a default alias 164 * <p>{@link #EXTRA_NAME} may be used to provide a default alias 195 * default alias name for credentials being installed. 210 * Launches an {@code Activity} for the user to select the alias 212 * selected alias o 243 choosePrivateKeyAlias(Activity activity, KeyChainAliasCallback response, String[] keyTypes, Principal[] issuers, String host, int port, String alias) argument 284 alias(String alias) argument 297 getPrivateKey(Context context, String alias) argument 332 getCertificateChain(Context context, String alias) argument [all...] |
H A D | KeyPairGeneratorSpec.java | 226 * Returns the alias that will be used in the {@code java.security.KeyStore} 361 * Sets the alias to be used to retrieve the key later from a 365 public Builder setAlias(String alias) { argument 366 if (alias == null) { 367 throw new NullPointerException("alias == null"); 369 mKeystoreAlias = alias;
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageKeySetData.java | 72 public void addDefinedKeySet(long ks, String alias) { argument 82 mKeySetAliases.put(alias, ks); 96 for (String alias : mKeySetAliases.keySet()) { 97 if (mKeySetAliases.get(alias) == ks) { 98 mKeySetAliases.remove(alias);
|
H A D | KeySetManager.java | 100 * alias by that package. 103 Set<PublicKey> keys, String alias) { 104 if ((packageName == null) || (keys == null) || (alias == null)) { 115 pkg.keySetData.addDefinedKeySet(id, alias); 189 * Fetches the KeySet that a given package refers to by the provided alias. 192 * Returns null if the alias isn't known to us. 194 public KeySet getKeySetByAliasAndPackageName(String packageName, String alias) { argument 203 long keySetId = p.keySetData.getAliases().get(alias); 102 addDefinedKeySetToPackage(String packageName, Set<PublicKey> keys, String alias) argument
|
/frameworks/ex/common/java/com/android/common/content/ |
H A D | ProjectionMap.java | 37 public Builder add(String alias, String expression) { argument 38 mMap.putColumn(alias, expression + " AS " + alias); 79 private void putColumn(String alias, String column) { argument 80 super.put(alias, column);
|
/frameworks/native/libs/input/ |
H A D | InputDevice.cpp | 145 const InputDeviceIdentifier& identifier, const String8& alias, bool isExternal) { 150 mAlias = alias; 144 initialize(int32_t id, int32_t generation, int32_t controllerNumber, const InputDeviceIdentifier& identifier, const String8& alias, bool isExternal) argument
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManager.java | 374 * @param alias The alias name by which to remember the device, or null 375 * or empty if no alias should be used. 378 public void renameWifiDisplay(String deviceAddress, String alias) { argument 379 mGlobal.renameWifiDisplay(deviceAddress, alias);
|
H A D | DisplayManagerGlobal.java | 337 public void renameWifiDisplay(String deviceAddress, String alias) { argument 343 mDm.renameWifiDisplay(deviceAddress, alias); 346 + " with alias " + alias + ".", ex);
|
/frameworks/base/keystore/tests/src/android/security/ |
H A D | AndroidKeyPairGeneratorTest.java | 465 private void assertKeyPairCorrect(KeyPair pair, String alias, String keyType, int keySize, argument 500 final byte[] userCertBytes = mAndroidKeyStore.get(Credentials.USER_CERTIFICATE + alias); 531 final byte[] caCerts = mAndroidKeyStore.get(Credentials.CA_CERTIFICATE + alias); 534 final byte[] pubKeyBytes = mAndroidKeyStore.getPubkey(Credentials.USER_PRIVATE_KEY + alias);
|
H A D | AndroidKeyStoreTest.java | 1119 final String alias = aliases.nextElement(); 1120 assertTrue("The alias should be in the expected set", expectedSet.contains(alias)); 1121 expectedSet.remove(alias); 1175 assertFalse("Should not contain unadded certificate alias", 1303 assertEquals("Stored certificate alias should be found", TEST_ALIAS_1, 1323 assertEquals("Stored certificate alias should be found", TEST_ALIAS_1, 1348 assertEquals("Stored certificate alias should be found", TEST_ALIAS_2, 1361 assertNull("Stored certificate alias should not be found", 1376 assertNull("Stored certificate alias shoul 2335 generateCertificate(android.security.KeyStore keyStore, String alias, BigInteger serialNumber, X500Principal subjectDN, Date notBefore, Date notAfter) argument [all...] |
/frameworks/base/services/java/com/android/server/display/ |
H A D | WifiDisplayAdapter.java | 250 public void requestRenameLocked(String address, String alias) { argument 252 Slog.d(TAG, "requestRenameLocked: address=" + address + ", alias=" + alias); 255 if (alias != null) { 256 alias = alias.trim(); 257 if (alias.isEmpty() || alias.equals(address)) { 258 alias = null; 263 if (display != null && !Objects.equal(display.getDeviceAlias(), alias)) { [all...] |
H A D | DisplayManagerService.java | 614 public void renameWifiDisplay(String address, String alias) { argument 625 mWifiDisplayAdapter.requestRenameLocked(address, alias);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiEnterpriseConfig.java | 388 * Set CA certificate alias. 393 * @param alias identifies the certificate 396 public void setCaCertificateAlias(String alias) { argument 397 setFieldValue(CA_CERT_KEY, alias, CA_CERT_PREFIX); 401 * Get CA certificate alias 402 * @return alias to the CA certificate 442 * Set Client certificate alias. 447 * @param alias identifies the certificate 450 public void setClientCertificateAlias(String alias) { argument 451 setFieldValue(CLIENT_CERT_KEY, alias, CLIENT_CERT_PREFI [all...] |
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonRelocator.cpp | 280 // output all other alias symbols if any 286 const ResolveInfo* alias = *it; local 287 if (alias!=&pSym && alias->isDyn()) { 289 alias->name(), 290 (ResolveInfo::Type)alias->type(), 293 alias->size(), // size 296 (ResolveInfo::Visibility)alias->other());
|
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86Relocator.cpp | 149 // output all other alias symbols if any 155 const ResolveInfo* alias = *it; local 156 if (alias!=&pSym && alias->isDyn()) { 158 alias->name(), 159 (ResolveInfo::Type)alias->type(), 162 alias->size(), // size 165 (ResolveInfo::Visibility)alias->other());
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothDevice.java | 165 * Broadcast Action: Indicates the alias of a remote device has been 666 * Get the Bluetooth alias of the remote device. 669 * @return the Bluetooth alias, or null if no alias or there was a problem 684 * Set the Bluetooth alias of the remote device. 686 * <p>This methoid overwrites the alias. The changed 687 * alias is saved in the local storage so that the change 693 public boolean setAlias(String alias) { argument 699 return sService.setRemoteAlias(this, alias); 705 * Get the Bluetooth alias o [all...] |
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 923 String8 alias = mContext->getPolicy()->getDeviceAlias(mIdentifier); local 924 if (mAlias != alias) { 925 mAlias = alias;
|