Searched refs:BluetoothState (Results 1 – 6 of 6) sorted by relevance
22 BluetoothState.UNKNOWN,23 BluetoothState.DISABLED,24 BluetoothState.ENABLED,26 public @interface BluetoothState { annotation
79 @BluetoothState int state = BluetoothState.UNKNOWN; in updateState()81 state = mBluetoothAdapter.isEnabled() ? BluetoothState.ENABLED in updateState()82 : BluetoothState.DISABLED; in updateState()
33 import com.android.car.dialer.bluetooth.BluetoothState;81 mBluetoothStateLiveData.setValue(BluetoothState.DISABLED); in testDialerAppState_bluetoothNotEnabled_bluetoothError()93 mBluetoothStateLiveData.setValue(BluetoothState.ENABLED); in testDialerAppState_noPairedDevices_bluetoothError()106 mBluetoothStateLiveData.setValue(BluetoothState.ENABLED); in testDialerAppState_hfpNoConnected_bluetoothError()121 mBluetoothStateLiveData.setValue(BluetoothState.ENABLED); in testDialerAppState_bluetoothAllSet_dialerAppNoError()
39 import com.android.car.dialer.bluetooth.BluetoothState;78 mFakeHfpManager.getBluetoothStateLiveData().postValue(BluetoothState.DISABLED); in bluetoothDisabled_displayErrorMsg()86 mFakeHfpManager.getBluetoothStateLiveData().postValue(BluetoothState.ENABLED); in noPairedDevices_displayErrorMsg()
95 assertThat(valueCaptor.getValue()).isEqualTo(BluetoothState.DISABLED); in testOnBluetoothAdapterStateChange()102 assertThat(mBluetoothStateLiveData.getValue()).isEqualTo(BluetoothState.ENABLED); in testOnBluetoothAdapterStateChange()103 assertThat(valueCaptor.getValue()).isEqualTo(BluetoothState.ENABLED); in testOnBluetoothAdapterStateChange()
28 import com.android.car.dialer.bluetooth.BluetoothState;122 return bluetoothState == null || bluetoothState != BluetoothState.DISABLED; in isBluetoothEnabled()