Searched refs:BluetoothStateLiveData (Results 1 – 5 of 5) sorted by relevance
54 private BluetoothStateLiveData mBluetoothStateLiveData;66 mBluetoothStateLiveData = new BluetoothStateLiveData(RuntimeEnvironment.application); in setup()97 BluetoothStateLiveData.BluetoothState.DISABLED); in testOnBluetoothAdapterStateChange()103 BluetoothStateLiveData.BluetoothState.ENABLED); in testOnBluetoothAdapterStateChange()104 assertThat(valueCaptor.getValue()).isEqualTo(BluetoothStateLiveData.BluetoothState.ENABLED); in testOnBluetoothAdapterStateChange()
23 import com.android.car.dialer.livedata.BluetoothStateLiveData;37 private BluetoothStateLiveData mBluetoothStateLiveData;96 public BluetoothStateLiveData getBluetoothStateLiveData() { in getBluetoothStateLiveData()98 mBluetoothStateLiveData = new BluetoothStateLiveData(mContext); in getBluetoothStateLiveData()
36 import com.android.car.dialer.livedata.BluetoothStateLiveData;59 private BluetoothStateLiveData mBluetoothStateLiveData;91 BluetoothStateLiveData.BluetoothState.DISABLED); in testDialerAppState_bluetoothNotEnabled_bluetoothError()106 BluetoothStateLiveData.BluetoothState.ENABLED); in testDialerAppState_noPairedDevices_bluetoothError()126 BluetoothStateLiveData.BluetoothState.ENABLED); in testDialerAppState_hfpNoConnected_bluetoothError()
33 public class BluetoothStateLiveData extends LiveData<Integer> { class62 public BluetoothStateLiveData(Context context) { in BluetoothStateLiveData() method in BluetoothStateLiveData
45 private BluetoothStateLiveData mBluetoothStateLiveData;118 || bluetoothState != BluetoothStateLiveData.BluetoothState.DISABLED; in isBluetoothEnabled()