/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/keys/ |
D | RecoverableKeyStoreSecondaryKeyManagerTest.java | 80 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()
|
D | RecoverableKeyStoreSecondaryKeyTest.java | 73 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/ |
D | WrappedApplicationKeyTest.java | 54 assertEquals(ALIAS, buildTestKey().getAlias()); in build_setsAlias() 79 assertEquals(ALIAS, readFromParcel.getAlias()); in writeToParcel_writesAliasToParcel()
|
D | KeyChainSnapshotTest.java | 102 assertEquals(KEY_ALIAS, wrappedApplicationKey.getAlias()); in build_setsWrappedApplicationKeys() 169 assertEquals(KEY_ALIAS, wrappedApplicationKey.getAlias()); in writeToParcel_writesWrappedApplicationKeys()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreECDSASignatureSpi.java | 158 key.getAlias(), null, null, key.getUid(), keyCharacteristics); in initKey() 160 throw getKeyStore().getInvalidKeyException(key.getAlias(), key.getUid(), errorCode); in initKey()
|
D | AndroidKeyStoreKey.java | 37 String getAlias() { in getAlias() method in AndroidKeyStoreKey
|
D | KeyStoreCryptoOperationUtils.java | 54 keyStore.getInvalidKeyException(key.getAlias(), key.getUid(), beginOpResultCode); in getInvalidKeyExceptionForInit()
|
D | AndroidKeyStoreRSACipherSpi.java | 418 keystoreKey.getAlias(), null, null, keystoreKey.getUid(), keyCharacteristics); in initKey() 421 keystoreKey.getAlias(), keystoreKey.getUid(), errorCode); in initKey()
|
D | AndroidKeyStoreKeyFactorySpi.java | 66 String keyAliasInKeystore = keystorePrivateKey.getAlias(); in engineGetKeySpec()
|
D | AndroidKeyStoreProvider.java | 218 publicKey.getAlias(), publicKey.getUid(), ((ECKey) publicKey).getParams()); in getAndroidKeyStorePrivateKey() 221 publicKey.getAlias(), publicKey.getUid(), ((RSAKey) publicKey).getModulus()); in getAndroidKeyStorePrivateKey()
|
D | AndroidKeyStoreHmacSpi.java | 167 mKey.getAlias(), in ensureKeystoreOperationInitialized()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotSerializerTest.java | 141 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/ |
D | RecoverableKeyStoreManager.java | 645 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/services/backup/java/com/android/server/backup/encryption/keys/ |
D | RecoverableKeyStoreSecondaryKey.java | 57 public String getAlias() { in getAlias() method in RecoverableKeyStoreSecondaryKey
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManagerTest.java | 98 when(mDevice1.getAlias()).thenReturn(DEVICE_ALIAS_1); in setUp() 99 when(mDevice2.getAlias()).thenReturn(DEVICE_ALIAS_2); in setUp() 100 when(mDevice3.getAlias()).thenReturn(DEVICE_ALIAS_3); in setUp() 227 when(mDevice1.getAlias()).thenReturn(newAliasName); in onDeviceNameUpdated_validName_nameUpdated()
|
D | CachedBluetoothDeviceTest.java | 702 when(mDevice.getAlias()).thenReturn(DEVICE_ALIAS); in deviceName_testAliasNameAvailable() 725 doAnswer(invocation -> alias[0]).when(mDevice).getAlias(); in deviceName_testRenameDevice() 842 when(mDevice.getAlias()).thenReturn(DEVICE_NAME); in getName_aliasNameNotNull_returnAliasName() 849 when(mDevice.getAlias()).thenReturn(null); in getName_aliasNameIsNull_returnAddress() 857 when(mDevice.getAlias()).thenReturn(DEVICE_NAME); in setName_setDeviceNameIsNotNull()
|
D | HearingAidDeviceManagerTest.java | 78 when(mDevice1.getAlias()).thenReturn(DEVICE_ALIAS_1); in setUp() 79 when(mDevice2.getAlias()).thenReturn(DEVICE_ALIAS_2); in setUp()
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | WrappedApplicationKey.java | 132 public @NonNull String getAlias() { in getAlias() method in WrappedApplicationKey
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySnapshotStorageTest.java | 181 assertEquals(b.getAlias(), a.getAlias()); in assertWrappedApplicationKeysAreEqual()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 123 new ComponentName(context, CaptivePortalLoginActivity.getAlias(context)), in onEnableDefaultURLHandler() 131 new ComponentName(context, CaptivePortalLoginActivity.getAlias(context)), in onDisableDefaultURLHandler()
|
/frameworks/native/include/input/ |
D | InputDevice.h | 93 inline const std::string& getAlias() const { return mAlias; } in getAlias() function
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncTaskTest.java | 553 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/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 358 final String aliasName = mDevice.getAlias(); in getName() 416 return !TextUtils.isEmpty(mDevice.getAlias()); in hasHumanReadableName() 565 Log.e(TAG, "updating profiles for " + mDevice.getAlias() + ", " + mDevice); in updateProfiles()
|
D | CachedBluetoothDeviceManager.java | 169 String name = device.getAlias(); in getName()
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothDeviceFilterUtils.java | 132 return firstNotEmpty(device.getAlias(), device.getAddress()); in getDeviceDisplayNameInternal()
|