Searched refs:getAliasName (Results 1 – 7 of 7) sorted by relevance
98 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()
702 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()
78 when(mDevice1.getAliasName()).thenReturn(DEVICE_ALIAS_1); in setUp()79 when(mDevice2.getAliasName()).thenReturn(DEVICE_ALIAS_2); in setUp()
132 return firstNotEmpty(device.getAliasName(), device.getAddress()); in getDeviceDisplayNameInternal()
371 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()
169 String name = device.getAliasName(); in getName()
1104 public String getAliasName() { in getAliasName() method in BluetoothDevice