Home
last modified time | relevance | path

Searched refs:ViewModelActivity (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
DViewModelTest.java35 import androidx.fragment.app.test.ViewModelActivity;
36 import androidx.fragment.app.test.ViewModelActivity.ViewModelFragment;
54 public ActivityTestRule<ViewModelActivity> mActivityRule =
55 new ActivityTestRule<>(ViewModelActivity.class);
75 final ViewModelActivity[] viewModelActivity = new ViewModelActivity[1]; in testSameActivityViewModels()
85 ViewModelActivity.FRAGMENT_TAG_1); in testSameActivityViewModels()
87 ViewModelActivity.FRAGMENT_TAG_2); in testSameActivityViewModels()
107 ViewModelActivity.FRAGMENT_TAG_1); in testSameActivityViewModels()
109 ViewModelActivity.FRAGMENT_TAG_2); in testSameActivityViewModels()
126 final ViewModelActivity[] viewModelActivity = new ViewModelActivity[1]; in testSameFragmentViewModels()
[all …]
/frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/
DViewModelTest.java37 import androidx.lifecycle.viewmodeltest.ViewModelActivity;
38 import androidx.lifecycle.viewmodeltest.ViewModelActivity.ViewModelFragment;
53 public ActivityTestRule<ViewModelActivity> mActivityRule =
54 new ActivityTestRule<>(ViewModelActivity.class);
62 final ViewModelActivity[] viewModelActivity = new ViewModelActivity[1]; in ensureSameViewHolders()
68 ViewModelActivity.FRAGMENT_TAG_1); in ensureSameViewHolders()
70 ViewModelActivity.FRAGMENT_TAG_2); in ensureSameViewHolders()
88 ViewModelActivity.FRAGMENT_TAG_1); in ensureSameViewHolders()
90 ViewModelActivity.FRAGMENT_TAG_2); in ensureSameViewHolders()
117 final ViewModelActivity activity = mActivityRule.getActivity(); in testOnClear()
[all …]
/frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/viewmodeltest/
DViewModelActivity.java27 public class ViewModelActivity extends FragmentActivity { class
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/test/
DViewModelActivity.java27 public class ViewModelActivity extends FragmentActivity { class