Searched refs:createViewModel (Results 1 – 4 of 4) sorted by relevance
94 TermsViewModel viewModel = createViewModel(PARAMS_MANAGED_DEVICE_WITH_DISCLAIMERS); in getTerms_hasExpectedResults()105 TermsViewModel viewModel = createViewModel(PARAMS_MANAGED_DEVICE); in getGeneralDisclaimer_deviceOwner_hasExpectedContent()118 TermsViewModel viewModel = createViewModel(PARAMS_MANAGED_PROFILE); in getGeneralDisclaimer_workProfile_hasExpectedContent()130 TermsViewModel viewModel = createViewModel(PARAMS_MANAGED_DEVICE_WITH_DISCLAIMERS); in setTermExpanded_works()139 TermsViewModel viewModel = createViewModel(PARAMS_MANAGED_DEVICE_WITH_DISCLAIMERS); in setTermExpanded_invalidPosition_throwsException()147 TermsViewModel viewModel = createViewModel(PARAMS_MANAGED_DEVICE_WITH_DISCLAIMERS); in isTermExpanded_defaultsToFalse()154 TermsViewModel viewModel = createViewModel(PARAMS_MANAGED_DEVICE_WITH_DISCLAIMERS); in isTermExpanded_invalidPosition_throwsException()162 TermsViewModel viewModel = createViewModel(PARAMS_MANAGED_DEVICE_WITH_DISCLAIMERS); in getNumberOfReadTerms_works()171 TermsViewModel viewModel = createViewModel(PARAMS_MANAGED_DEVICE_WITH_DISCLAIMERS); in getNumberOfReadTerms_defaultsToZero()178 TermsViewModel viewModel = createViewModel(PARAMS_MANAGED_DEVICE_WITH_DISCLAIMERS); in getNumberOfReadTerms_toggleDisclaimer_retainsReadState()[all …]
61 private fun createViewModel() = SubscriptionInfoListViewModel(context as Application) in createViewModel() method70 createViewModel().subscriptionInfoListFlow.toListWithTimeout() in createViewModel()83 createViewModel().subscriptionInfoListFlow.toListWithTimeout() in <lambda>()98 createViewModel().subscriptionInfoListFlow.toListWithTimeout() in onSubscriptionsChanged_flagOffHasNonTerrestrialNetwork_filterNonTerrestrialNetwork()113 createViewModel().subscriptionInfoListFlow.toListWithTimeout() in onSubscriptionsChanged_flagOnHasNonTerrestrialNetwork_filterNonTerrestrialNetwork()
84 mViewModel = createViewModel(); in setUp()195 private RetryLaunchViewModel createViewModel() { in createViewModel() method in RetryLaunchViewModelTest
64 mSettingsCloudMediaViewModel = createViewModel(); in onAttach()216 private SettingsCloudMediaViewModel createViewModel() { in createViewModel() method in SettingsCloudMediaSelectFragment