Home
last modified time | relevance | path

Searched refs:TestEvent (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DTestUtils.java29 import static androidx.lifecycle.testapp.TestEvent.LIFECYCLE_EVENT;
30 import static androidx.lifecycle.testapp.TestEvent.OWNER_CALLBACK;
42 import androidx.lifecycle.testapp.TestEvent;
149 static final List<Pair<TestEvent, Lifecycle.Event>> CREATE =
152 static final List<Pair<TestEvent, Lifecycle.Event>> START =
155 static final List<Pair<TestEvent, Lifecycle.Event>> RESUME =
158 static final List<Pair<TestEvent, Lifecycle.Event>> PAUSE =
161 static final List<Pair<TestEvent, Lifecycle.Event>> STOP =
164 static final List<Pair<TestEvent, Lifecycle.Event>> DESTROY =
DPartiallyCoveredActivityTest.java29 import static androidx.lifecycle.testapp.TestEvent.LIFECYCLE_EVENT;
30 import static androidx.lifecycle.testapp.TestEvent.OWNER_CALLBACK;
51 import androidx.lifecycle.testapp.TestEvent;
90 private static final List<Pair<TestEvent, Lifecycle.Event>>[] EXPECTED =
149 List<Pair<TestEvent, Lifecycle.Event>> expected; in runTest()
DActivityFullLifecycleTest.java39 import androidx.lifecycle.testapp.TestEvent;
73 List<Pair<TestEvent, Event>> results = owner.copyCollectedEvents(); in testFullLifecycle()
/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/androidx/lifecycle/testapp/
DTestObserver.java25 import static androidx.lifecycle.testapp.TestEvent.LIFECYCLE_EVENT;
36 private final List<Pair<TestEvent, Event>> mCollectedEvents;
38 TestObserver(List<Pair<TestEvent, Event>> collectedEvents) { in TestObserver() argument
DFrameworkLifecycleRegistryActivity.java19 import static androidx.lifecycle.testapp.TestEvent.OWNER_CALLBACK;
48 private List<Pair<TestEvent, Lifecycle.Event>> mCollectedEvents = new ArrayList<>();
91 public List<Pair<TestEvent, Lifecycle.Event>> copyCollectedEvents() { in copyCollectedEvents()
DCollectingSupportActivity.java19 import static androidx.lifecycle.testapp.TestEvent.OWNER_CALLBACK;
40 private final List<Pair<TestEvent, Event>> mCollectedEvents = new ArrayList<>();
97 public List<Pair<TestEvent, Event>> copyCollectedEvents() { in copyCollectedEvents()
DCollectingSupportFragment.java18 import static androidx.lifecycle.testapp.TestEvent.OWNER_CALLBACK;
40 private final List<Pair<TestEvent, Lifecycle.Event>> mCollectedEvents =
102 public List<Pair<TestEvent, Lifecycle.Event>> copyCollectedEvents() { in copyCollectedEvents()
DTestEvent.java19 public enum TestEvent { enum
DCollectingLifecycleOwner.java35 List<Pair<TestEvent, Lifecycle.Event>> copyCollectedEvents(); in copyCollectedEvents()