Searched refs:TelecomActivityViewModel (Results 1 – 5 of 5) sorted by relevance
54 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()
93 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()
47 public class TelecomActivityViewModel extends AndroidViewModel { class76 public TelecomActivityViewModel(Application application) { in TelecomActivityViewModel() method in TelecomActivityViewModel
37 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()
33 import com.android.car.dialer.ui.TelecomActivityViewModel;81 TelecomActivityViewModel viewModel = ViewModelProviders.of(getActivity()).get( in setupToolbar()82 TelecomActivityViewModel.class); in setupToolbar()