Searched refs:getBondState (Results 1 – 9 of 9) sorted by relevance
55 assertThat(device.getBondState()).isEqualTo(BOND_NONE); in canSetAndGetBondState()58 assertThat(device.getBondState()).isEqualTo(BOND_BONDED); in canSetAndGetBondState()
89 protected int getBondState() { in getBondState() method in ShadowBluetoothDevice
78 if (device.getBondState() != BluetoothDevice.BOND_BONDED) { in onReceive()
366 if (!Utils.waitUntil(() -> device.getBondState() == BluetoothDevice.BOND_BONDED, 120)) { in btPairDevice()382 () -> device.getBondState() == BluetoothDevice.BOND_NONE, 30)) { in btUnpairDevice()
78 assertThat(device.getBondState()).isEqualTo(BOND_NONE); in canSetAndGetBondState()81 assertThat(device.getBondState()).isEqualTo(BOND_BONDED); in canSetAndGetBondState()396 assertThrows(SecurityException.class, device::getBondState); in getBondState_noBluetoothConnectPermission_throwsException()
394 assertThat(remoteDevice2.getBondState()).isEqualTo(BluetoothDevice.BOND_NONE); in testGetRemoteDevice_sameState()396 assertThat(remoteDevice2.getBondState()).isEqualTo(BluetoothDevice.BOND_BONDED); in testGetRemoteDevice_sameState()
217 protected int getBondState() { in getBondState() method in ShadowBluetoothDevice
138 MbsEnums.BLUETOOTH_DEVICE_BOND_STATE.getString(data.getBondState()); in serializeBluetoothDevice()
527 deviceInfo.put("state", data.getBondState()); in buildJsonBluetoothDevice()