Home
last modified time | relevance | path

Searched refs:OWNER_CALLBACK (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/androidx/lifecycle/testapp/
DFrameworkLifecycleRegistryActivity.java19 import static androidx.lifecycle.testapp.TestEvent.OWNER_CALLBACK;
55 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_CREATE)); in onCreate()
62 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_START)); in onStart()
68 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_RESUME)); in onResume()
74 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_DESTROY)); in onDestroy()
81 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_STOP)); in onStop()
87 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_PAUSE)); in onPause()
DCollectingSupportActivity.java19 import static androidx.lifecycle.testapp.TestEvent.OWNER_CALLBACK;
50 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Event.ON_CREATE)); in onCreate()
67 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Event.ON_START)); in onStart()
73 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Event.ON_RESUME)); in onResume()
79 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Event.ON_DESTROY)); in onDestroy()
85 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Event.ON_STOP)); in onStop()
91 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Event.ON_PAUSE)); in onPause()
DCollectingSupportFragment.java18 import static androidx.lifecycle.testapp.TestEvent.OWNER_CALLBACK;
47 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_CREATE)); in onCreate()
74 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_START)); in onStart()
80 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_RESUME)); in onResume()
86 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_DESTROY)); in onDestroy()
92 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_STOP)); in onStop()
98 mCollectedEvents.add(new Pair<>(OWNER_CALLBACK, Lifecycle.Event.ON_PAUSE)); in onPause()
DTestEvent.java20 OWNER_CALLBACK, enumConstant
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DTestUtils.java30 import static androidx.lifecycle.testapp.TestEvent.OWNER_CALLBACK;
150 Arrays.asList(new Pair(OWNER_CALLBACK, ON_CREATE),
153 Arrays.asList(new Pair(OWNER_CALLBACK, ON_START),
156 Arrays.asList(new Pair(OWNER_CALLBACK, ON_RESUME),
160 new Pair(OWNER_CALLBACK, ON_PAUSE));
163 new Pair(OWNER_CALLBACK, ON_STOP));
166 new Pair(OWNER_CALLBACK, ON_DESTROY));
DPartiallyCoveredActivityTest.java30 import static androidx.lifecycle.testapp.TestEvent.OWNER_CALLBACK;
75 asList(new Pair<>(OWNER_CALLBACK, ON_RESUME),