Searched refs:maxConnectionState (Results 1 – 2 of 2) sorted by relevance
68 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTING)84 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_DISCONNECTED)101 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTING)109 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTING)114 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTING)123 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTING)128 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTED)134 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTED)144 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTED)149 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTED)[all …]
75 var maxConnectionState = regex80 .maxOf { it.maxConnectionState }87 connectedDevices.isEmpty() && maxConnectionState == BluetoothAdapter.STATE_CONNECTED91 maxConnectionState = BluetoothAdapter.STATE_DISCONNECTED94 ConnectionStatusModel(maxConnectionState, connectedDevices)101 val maxConnectionState: Int,