Home
last modified time | relevance | path

Searched refs:getAliasName (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManagerTest.java98 when(mDevice1.getAliasName()).thenReturn(DEVICE_ALIAS_1); in setUp()
99 when(mDevice2.getAliasName()).thenReturn(DEVICE_ALIAS_2); in setUp()
100 when(mDevice3.getAliasName()).thenReturn(DEVICE_ALIAS_3); in setUp()
227 when(mDevice1.getAliasName()).thenReturn(newAliasName); in onDeviceNameUpdated_validName_nameUpdated()
DCachedBluetoothDeviceTest.java702 when(mDevice.getAliasName()).thenReturn(DEVICE_ALIAS); in deviceName_testAliasNameAvailable()
725 doAnswer(invocation -> alias[0]).when(mDevice).getAliasName(); in deviceName_testRenameDevice()
842 when(mDevice.getAliasName()).thenReturn(DEVICE_NAME); in getName_aliasNameNotNull_returnAliasName()
849 when(mDevice.getAliasName()).thenReturn(null); in getName_aliasNameIsNull_returnAddress()
857 when(mDevice.getAliasName()).thenReturn(DEVICE_NAME); in setName_setDeviceNameIsNotNull()
DHearingAidDeviceManagerTest.java78 when(mDevice1.getAliasName()).thenReturn(DEVICE_ALIAS_1); in setUp()
79 when(mDevice2.getAliasName()).thenReturn(DEVICE_ALIAS_2); in setUp()
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilterUtils.java132 return firstNotEmpty(device.getAliasName(), device.getAddress()); in getDeviceDisplayNameInternal()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java371 final String aliasName = mDevice.getAliasName(); in getName()
429 return !TextUtils.isEmpty(mDevice.getAliasName()); in hasHumanReadableName()
576 Log.e(TAG, "updating profiles for " + mDevice.getAliasName() + ", " + mDevice); in updateProfiles()
DCachedBluetoothDeviceManager.java169 String name = device.getAliasName(); in getName()
/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java1104 public String getAliasName() { in getAliasName() method in BluetoothDevice