Home
last modified time | relevance | path

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

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothDeviceTest.java81 private BluetoothDevice mFakeDevice; field in BluetoothDeviceTest
105 mFakeDevice = mAdapter.getRemoteDevice(mFakeDeviceAddress); in setUp()
129 assertNull(mFakeDevice.getAlias()); in setAlias_getAlias()
131 assertThrows(IllegalArgumentException.class, () -> mFakeDevice.setAlias("")); in setAlias_getAlias()
138 SecurityException.class, () -> mFakeDevice.setAlias(testDeviceAlias)); in setAlias_getAlias()
158 assertEquals(BluetoothStatusCodes.ERROR_DEVICE_NOT_BONDED, mFakeDevice in setAlias_getAlias()
164 assertNull(mFakeDevice.getAlias()); in setAlias_getAlias()
166 mFakeDevice.setAlias(testDeviceAlias)); in setAlias_getAlias()
175 assertEquals(BluetoothDevice.ADDRESS_TYPE_PUBLIC, mFakeDevice.getAddressType()); in getAddressType()
185 () -> mFakeDevice.getIdentityAddress()); in getIdentityAddress()
[all …]