Searched refs:BluetoothState (Results 1 – 4 of 4) sorted by relevance
37 BluetoothState.UNKNOWN,38 BluetoothState.DISABLED,39 BluetoothState.ENABLED,41 public @interface BluetoothState { annotation in BluetoothStateLiveData84 @BluetoothState int state = BluetoothState.UNKNOWN; in updateState()86 state = mBluetoothAdapter.isEnabled() ? BluetoothState.ENABLED in updateState()87 : BluetoothState.DISABLED; in updateState()
118 || bluetoothState != BluetoothStateLiveData.BluetoothState.DISABLED; in isBluetoothEnabled()
97 BluetoothStateLiveData.BluetoothState.DISABLED); in testOnBluetoothAdapterStateChange()103 BluetoothStateLiveData.BluetoothState.ENABLED); in testOnBluetoothAdapterStateChange()104 assertThat(valueCaptor.getValue()).isEqualTo(BluetoothStateLiveData.BluetoothState.ENABLED); in testOnBluetoothAdapterStateChange()
91 BluetoothStateLiveData.BluetoothState.DISABLED); in testDialerAppState_bluetoothNotEnabled_bluetoothError()106 BluetoothStateLiveData.BluetoothState.ENABLED); in testDialerAppState_noPairedDevices_bluetoothError()126 BluetoothStateLiveData.BluetoothState.ENABLED); in testDialerAppState_hfpNoConnected_bluetoothError()