Home
last modified time | relevance | path

Searched refs:BluetoothStateLiveData (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/
DBluetoothStateLiveDataTest.java54 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()
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DUiBluetoothMonitor.java23 import com.android.car.dialer.livedata.BluetoothStateLiveData;
37 private BluetoothStateLiveData mBluetoothStateLiveData;
96 public BluetoothStateLiveData getBluetoothStateLiveData() { in getBluetoothStateLiveData()
98 mBluetoothStateLiveData = new BluetoothStateLiveData(mContext); in getBluetoothStateLiveData()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/
DTelecomActivityViewModelTest.java36 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()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DBluetoothStateLiveData.java33 public class BluetoothStateLiveData extends LiveData<Integer> { class
62 public BluetoothStateLiveData(Context context) { in BluetoothStateLiveData() method in BluetoothStateLiveData
DBluetoothErrorStringLiveData.java45 private BluetoothStateLiveData mBluetoothStateLiveData;
118 || bluetoothState != BluetoothStateLiveData.BluetoothState.DISABLED; in isBluetoothEnabled()