Home
last modified time | relevance | path

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

/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/
DTelecomActivityViewModelTest.java54 private TelecomActivityViewModel mTelecomActivityViewModel;
80 TelecomActivityViewModel.DialerAppState.BLUETOOTH_ERROR); in testDialerAppState_defaultBluetoothAdapterIsNull_bluetoothError()
96 TelecomActivityViewModel.DialerAppState.BLUETOOTH_ERROR); in testDialerAppState_bluetoothNotEnabled_bluetoothError()
115 TelecomActivityViewModel.DialerAppState.BLUETOOTH_ERROR); in testDialerAppState_noPairedDevices_bluetoothError()
138 TelecomActivityViewModel.DialerAppState.BLUETOOTH_ERROR); in testDialerAppState_hfpNoConnected_bluetoothError()
154 TelecomActivityViewModel.NO_BT_ERROR); in testDialerAppState_bluetoothAllSet_dialerAppStateDefault()
156 TelecomActivityViewModel.DialerAppState.DEFAULT); in testDialerAppState_bluetoothAllSet_dialerAppStateDefault()
169 mTelecomActivityViewModel = new TelecomActivityViewModel((Application) mContext); in initializeViewModel()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java93 TelecomActivityViewModel viewModel = ViewModelProviders.of(this).get( in onCreate()
94 TelecomActivityViewModel.class); in onCreate()
137 if (TelecomActivityViewModel.DialerAppState.BLUETOOTH_ERROR in handleIntent()
154 if (TelecomActivityViewModel.DialerAppState.BLUETOOTH_ERROR in handleIntent()
164 if (TelecomActivityViewModel.DialerAppState.BLUETOOTH_ERROR in handleIntent()
189 @TelecomActivityViewModel.DialerAppState int dialerAppState) { in updateCurrentFragment()
193 TelecomActivityViewModel.DialerAppState.DEFAULT != dialerAppState; in updateCurrentFragment()
200 case TelecomActivityViewModel.DialerAppState.BLUETOOTH_ERROR: in updateCurrentFragment()
204 case TelecomActivityViewModel.DialerAppState.EMERGENCY_DIALPAD: in updateCurrentFragment()
208 case TelecomActivityViewModel.DialerAppState.DEFAULT: in updateCurrentFragment()
DTelecomActivityViewModel.java47 public class TelecomActivityViewModel extends AndroidViewModel { class
76 public TelecomActivityViewModel(Application application) { in TelecomActivityViewModel() method in TelecomActivityViewModel
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/
DNoHfpFragment.java37 import com.android.car.dialer.ui.TelecomActivityViewModel;
98 TelecomActivityViewModel viewModel = ViewModelProviders.of(getActivity()).get( in onCreateView()
99 TelecomActivityViewModel.class); in onCreateView()
104 TelecomActivityViewModel.DialerAppState.EMERGENCY_DIALPAD)); in onCreateView()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerBaseFragment.java33 import com.android.car.dialer.ui.TelecomActivityViewModel;
81 TelecomActivityViewModel viewModel = ViewModelProviders.of(getActivity()).get( in setupToolbar()
82 TelecomActivityViewModel.class); in setupToolbar()