Home
last modified time | relevance | path

Searched refs:LIFECYCLE_EVENT (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/androidx/lifecycle/testapp/
DTestObserver.java25 import static androidx.lifecycle.testapp.TestEvent.LIFECYCLE_EVENT;
44 mCollectedEvents.add(new Pair<>(LIFECYCLE_EVENT, ON_CREATE)); in create()
49 mCollectedEvents.add(new Pair<>(LIFECYCLE_EVENT, ON_START)); in start()
54 mCollectedEvents.add(new Pair<>(LIFECYCLE_EVENT, ON_RESUME)); in resume()
58 mCollectedEvents.add(new Pair<>(LIFECYCLE_EVENT, ON_PAUSE)); in pause()
63 mCollectedEvents.add(new Pair<>(LIFECYCLE_EVENT, ON_STOP)); in stop()
68 mCollectedEvents.add(new Pair<>(LIFECYCLE_EVENT, ON_DESTROY)); in destroy()
DTestEvent.java21 LIFECYCLE_EVENT, enumConstant
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DTestUtils.java29 import static androidx.lifecycle.testapp.TestEvent.LIFECYCLE_EVENT;
151 new Pair(LIFECYCLE_EVENT, ON_CREATE));
154 new Pair(LIFECYCLE_EVENT, ON_START));
157 new Pair(LIFECYCLE_EVENT, ON_RESUME));
159 Arrays.asList(new Pair(LIFECYCLE_EVENT, ON_PAUSE),
162 Arrays.asList(new Pair(LIFECYCLE_EVENT, ON_STOP),
165 Arrays.asList(new Pair(LIFECYCLE_EVENT, ON_DESTROY),
DPartiallyCoveredActivityTest.java29 import static androidx.lifecycle.testapp.TestEvent.LIFECYCLE_EVENT;
73 singletonList(new Pair<>(LIFECYCLE_EVENT, ON_STOP))),
76 new Pair<>(LIFECYCLE_EVENT, ON_START),
77 new Pair<>(LIFECYCLE_EVENT, ON_RESUME)),
/frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/
Dwriter.kt41 private val LIFECYCLE_EVENT = Lifecycle.Event::class.java constant
51 ClassName.get(LIFECYCLE_EVENT), "event").build()
81 beginControlFlow("if ($N == $T.$L)", EVENT_PARAM, LIFECYCLE_EVENT, event) in writeAdapter()