Home
last modified time | relevance | path

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

12

/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/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/companion/java/com/android/server/companion/utils/
DUtils.java62 final String alias = btDevice.getAlias(); in btDeviceToString()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCsipDeviceManagerTest.java108 when(mDevice1.getAlias()).thenReturn(DEVICE_ALIAS_1); in setUp()
109 when(mDevice2.getAlias()).thenReturn(DEVICE_ALIAS_2); in setUp()
110 when(mDevice3.getAlias()).thenReturn(DEVICE_ALIAS_3); in setUp()
DCachedBluetoothDeviceManagerTest.java118 when(mDevice1.getAlias()).thenReturn(DEVICE_ALIAS_1); in setUp()
119 when(mDevice2.getAlias()).thenReturn(DEVICE_ALIAS_2); in setUp()
120 when(mDevice3.getAlias()).thenReturn(DEVICE_ALIAS_3); in setUp()
270 when(mDevice1.getAlias()).thenReturn(newAliasName); in onDeviceNameUpdated_validName_nameUpdated()
DCachedBluetoothDeviceTest.java1570 when(mDevice.getAlias()).thenReturn(DEVICE_ALIAS); in deviceName_testAliasNameAvailable()
1593 doAnswer(invocation -> alias[0]).when(mDevice).getAlias(); in deviceName_testRenameDevice()
1710 when(mDevice.getAlias()).thenReturn(DEVICE_NAME); in getName_aliasNameNotNull_returnAliasName()
1717 when(mDevice.getAlias()).thenReturn(null); in getName_aliasNameIsNull_returnAddress()
1725 when(mDevice.getAlias()).thenReturn(DEVICE_NAME); in setName_setDeviceNameIsNotNull()
1748 when(mDevice.getAlias()).thenReturn(DEVICE_NAME); in setName_memberDeviceNameIsSet()
1749 when(mSubDevice.getAlias()).thenReturn(DEVICE_NAME); in setName_memberDeviceNameIsSet()
1760 when(mDevice.getAlias()).thenReturn(DEVICE_NAME); in setName_subDeviceNameIsSet()
1761 when(mSubDevice.getAlias()).thenReturn(DEVICE_NAME); in setName_subDeviceNameIsSet()
DHearingAidDeviceManagerTest.java135 when(mDevice1.getAlias()).thenReturn(DEVICE_ALIAS_1); in setUp()
136 when(mDevice2.getAlias()).thenReturn(DEVICE_ALIAS_2); in setUp()
/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.java123 new ComponentName(context, CaptivePortalLoginActivity.getAlias(context)), in onEnableDefaultURLHandler()
131 new ComponentName(context, CaptivePortalLoginActivity.getAlias(context)), in onDisableDefaultURLHandler()
DCaptivePortalLoginActivity.java461 public static String getAlias(Context context) { in getAlias() method in CaptivePortalLoginActivity
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java681 String grantAlias = getAlias(userId, uid, alias); in importKeyMaterials()
696 private @Nullable String getAlias(int userId, int uid, String alias) { in getAlias() method in RecoverableKeyStoreManager
770 return getAlias(userId, uid, alias); in generateKeyWithMetadata()
842 return getAlias(userId, uid, alias); in importKeyWithMetadata()
858 return getAlias(userId, uid, alias); in getKey()
909 String alias = applicationKey.getAlias(); in recoverApplicationKeys()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java583 assertEquals(TEST_APP_KEY_ALIAS, keyData.getAlias()); in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
584 assertThat(keyData.getAlias()).isEqualTo(keyData.getAlias()); in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
608 assertThat(keyData.getAlias()).isEqualTo(TEST_APP_KEY_ALIAS); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNullKeyMetadata()
632 assertThat(keyData.getAlias()).isEqualTo(TEST_APP_KEY_ALIAS); in run_sendsEncryptedKeysIfAvailableToSync_withCertPath_withNonNullKeyMetadata()
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilterUtils.java136 return firstNotEmpty(device.getAlias(), device.getAddress()); in getDeviceDisplayNameInternal()
/frameworks/base/media/java/android/media/flags/
Dmedia_better_together.aconfig68 description: "Use BluetoothDevice.getAlias to populate the name of Bluetooth MediaRoute2Infos."
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializer.java101 writePropertyTag(xmlSerializer, TAG_ALIAS, applicationKey.getAlias()); in writeApplicationKeyProperties()
/frameworks/base/services/core/java/com/android/server/media/
DBluetoothDeviceRoutesManager.java262 ? device.getAlias() in getDeviceName()
DLegacyBluetoothRouteController.java289 ? device.getAlias() in createBluetoothRoute()
/frameworks/native/include/input/
DInputDevice.h290 inline const std::string& getAlias() const { return mAlias; } in getAlias() function
/frameworks/av/media/libstagefright/xmlparser/api/
Dcurrent.txt152 method public java.util.List<media.codecs.Alias> getAlias();
/frameworks/base/services/core/java/com/android/server/am/
DComponentAliasResolver.java388 public T getAlias() { in getAlias() method in ComponentAliasResolver.Resolution
DActiveServices.java4853 return new ServiceLookupResult(r, resolution.getAlias()); in retrieveServiceLocked()
5105 return new ServiceLookupResult(r, resolution.getAlias()); in retrieveServiceLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java259 String name = device.getAlias(); in getName()
DCachedBluetoothDevice.java634 final String aliasName = mDevice.getAlias(); in getName()
707 return !TextUtils.isEmpty(mDevice.getAlias()); in hasHumanReadableName()

12