Home
last modified time | relevance | path

Searched refs:getAlias (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/keys/
DRecoverableKeyStoreSecondaryKeyManagerTest.java80 assertThat(key.getAlias()).startsWith(BACKUP_KEY_ALIAS_PREFIX); in generate_generatesKeyWithExpectedPrefix()
88 assertThat(key.getAlias()).hasLength(BACKUP_KEY_ALIAS_LENGTH); in generate_generatesKeyWithExpectedLength()
107 mRecoverableKeyStoreSecondaryKeyManager.get(key.getAlias()); in get_getsKeyGeneratedByController()
110 assertThat(retrievedKey.get().getAlias()).isEqualTo(key.getAlias()); in get_getsKeyGeneratedByController()
143 mRecoverableKeyStoreSecondaryKeyManager.remove(key.getAlias()); in remove_removesKeyFromRecoverableStore()
146 .doesNotContain(key.getAlias()); in remove_removesKeyFromRecoverableStore()
DRecoverableKeyStoreSecondaryKeyTest.java73 public void getAlias() { in getAlias() method in RecoverableKeyStoreSecondaryKeyTest
74 String alias = mSecondaryKey.getAlias(); in getAlias()
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DWrappedApplicationKeyTest.java54 assertEquals(ALIAS, buildTestKey().getAlias()); in build_setsAlias()
79 assertEquals(ALIAS, readFromParcel.getAlias()); in writeToParcel_writesAliasToParcel()
DKeyChainSnapshotTest.java102 assertEquals(KEY_ALIAS, wrappedApplicationKey.getAlias()); in build_setsWrappedApplicationKeys()
169 assertEquals(KEY_ALIAS, wrappedApplicationKey.getAlias()); in writeToParcel_writesWrappedApplicationKeys()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreECDSASignatureSpi.java158 key.getAlias(), null, null, key.getUid(), keyCharacteristics); in initKey()
160 throw getKeyStore().getInvalidKeyException(key.getAlias(), key.getUid(), errorCode); in initKey()
DAndroidKeyStoreKey.java37 String getAlias() { in getAlias() method in AndroidKeyStoreKey
DKeyStoreCryptoOperationUtils.java54 keyStore.getInvalidKeyException(key.getAlias(), key.getUid(), beginOpResultCode); in getInvalidKeyExceptionForInit()
DAndroidKeyStoreRSACipherSpi.java418 keystoreKey.getAlias(), null, null, keystoreKey.getUid(), keyCharacteristics); in initKey()
421 keystoreKey.getAlias(), keystoreKey.getUid(), errorCode); in initKey()
DAndroidKeyStoreKeyFactorySpi.java66 String keyAliasInKeystore = keystorePrivateKey.getAlias(); in engineGetKeySpec()
DAndroidKeyStoreProvider.java218 publicKey.getAlias(), publicKey.getUid(), ((ECKey) publicKey).getParams()); in getAndroidKeyStorePrivateKey()
221 publicKey.getAlias(), publicKey.getUid(), ((RSAKey) publicKey).getModulus()); in getAndroidKeyStorePrivateKey()
DAndroidKeyStoreHmacSpi.java167 mKey.getAlias(), in ensureKeystoreOperationInitialized()
DAndroidKeyStoreSignatureSpiBase.java203 mKey.getAlias(), in ensureKeystoreOperationInitialized()
DAndroidKeyStoreSecretKeyFactorySpi.java65 String keyAliasInKeystore = keystoreKey.getAlias(); in engineGetKeySpec()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java141 assertThat(roundTripKeys().get(0).getAlias()).isEqualTo(TEST_KEY_1_ALIAS); in roundTripKeys_0_persistsAlias()
162 assertThat(roundTripKeys().get(1).getAlias()).isEqualTo(TEST_KEY_2_ALIAS); in roundTripKeys_1_persistsAlias()
183 assertThat(roundTripKeys().get(2).getAlias()).isEqualTo(TEST_KEY_3_ALIAS); in roundTripKeys_2_persistsAlias()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java645 String grantAlias = getAlias(userId, uid, alias); in importKeyMaterials()
660 private @Nullable String getAlias(int userId, int uid, String alias) { in getAlias() method in RecoverableKeyStoreManager
734 return getAlias(userId, uid, alias); in generateKeyWithMetadata()
806 return getAlias(userId, uid, alias); in importKeyWithMetadata()
822 return getAlias(userId, uid, alias); in getKey()
873 String alias = applicationKey.getAlias(); in recoverApplicationKeys()
/frameworks/base/telephony/java/android/telephony/ims/
DRcsParticipant.java63 public String getAlias() throws RcsMessageStoreException { in getAlias() method in RcsParticipant
/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/
DRecoverableKeyStoreSecondaryKey.java57 public String getAlias() { in getAlias() method in RecoverableKeyStoreSecondaryKey
/frameworks/base/core/java/android/security/keystore/recovery/
DWrappedApplicationKey.java132 public @NonNull String getAlias() { in getAlias() method in WrappedApplicationKey
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorageTest.java181 assertEquals(b.getAlias(), a.getAlias()); in assertWrappedApplicationKeysAreEqual()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java124 new ComponentName(context, CaptivePortalLoginActivity.getAlias(context)), in onEnableDefaultURLHandler()
132 new ComponentName(context, CaptivePortalLoginActivity.getAlias(context)), in onDisableDefaultURLHandler()
/frameworks/native/include/input/
DInputDevice.h93 inline const std::string& getAlias() const { return mAlias; } in getAlias() function
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java553 assertEquals(TEST_APP_KEY_ALIAS, keyData.getAlias()); in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
554 assertThat(keyData.getAlias()).isEqualTo(keyData.getAlias()); in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
578 assertThat(keyData.getAlias()).isEqualTo(TEST_APP_KEY_ALIAS); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNullKeyMetadata()
602 assertThat(keyData.getAlias()).isEqualTo(TEST_APP_KEY_ALIAS); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNonNullKeyMetadata()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializer.java103 writePropertyTag(xmlSerializer, TAG_ALIAS, applicationKey.getAlias()); in writeApplicationKeyProperties()
/frameworks/av/media/libstagefright/xmlparser/api/
Dcurrent.txt130 method public java.util.List<media.codecs.Alias> getAlias();
/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java1055 public String getAlias() { in getAlias() method in BluetoothDevice
1105 String name = getAlias(); in getAliasName()

12