Home
last modified time | relevance | path

Searched refs:CREATED (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
DGameSessionTest.java206 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_FullLifecycle_ExpectedLifecycleCalls()
208 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_FullLifecycle_ExpectedLifecycleCalls()
230 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_DestroyedWhenFocused_ExpectedLifecycleCalls()
245 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_FocusCycled_ExpectedLifecycleCalls()
262 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_MultipleFocusAndUnfocusCalls_ExpectedLifecycleCalls()
277 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_CreatedAfterFocused_ExpectedLifecycleCalls()
279 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_CreatedAfterFocused_ExpectedLifecycleCalls()
289 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_UnfocusedWithoutFocused_ExpectedLifecycleCalls()
299 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_NeverFocused_ExpectedLifecycleCalls()
309 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_MultipleFocusCalls_ExpectedLifecycleCalls()
[all …]
/frameworks/base/core/java/android/app/
DLocalActivityManager.java71 static final int CREATED = 2; // Created, not started or resumed. field in LocalActivityManager
208 case CREATED: in moveToState()
232 if (desiredState == CREATED) { in moveToState()
235 r.curState = CREATED; in moveToState()
245 if (desiredState == CREATED) { in moveToState()
250 r.curState = CREATED; in moveToState()
527 mCurState = CREATED; in dispatchCreate()
628 mCurState = CREATED; in dispatchStop()
632 moveToState(r, CREATED); in dispatchStop()
DFragmentManager.java1172 if ((!f.mAdded || f.mDetached) && newState > Fragment.CREATED) { in moveToState()
1173 newState = Fragment.CREATED; in moveToState()
1178 newState = Fragment.CREATED; in moveToState()
1240 if (f.mTarget.mState < Fragment.CREATED) { in moveToState()
1241 moveToState(f.mTarget, Fragment.CREATED, 0, 0, true); in moveToState()
1265 f.mState = Fragment.CREATED; in moveToState()
1270 case Fragment.CREATED: in moveToState()
1276 if (newState > Fragment.CREATED) { in moveToState()
1431 case Fragment.CREATED: in moveToState()
1432 if (newState < Fragment.CREATED) { in moveToState()
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DDreamUniverse.kt47 lifecycle.currentState = Lifecycle.State.CREATED in onCreate()
55 lifecycle.currentState = Lifecycle.State.CREATED in onStop()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/
DRepeatWhenAttachedTest.kt119 assertThat(block.latestLifecycleState).isEqualTo(Lifecycle.State.CREATED) in repeatWhenAttached_viewStartsDetached_runsBlockWhenAttached()
131 assertThat(block.latestLifecycleState).isEqualTo(Lifecycle.State.CREATED) in repeatWhenAttached_viewAlreadyAttached_immediatelyRunsBlock()
157 assertThat(block.latestLifecycleState).isEqualTo(Lifecycle.State.CREATED) in repeatWhenAttached_startsWithFocusButInvisible_CREATED()
203 assertThat(block.latestLifecycleState).isEqualTo(Lifecycle.State.CREATED) in repeatWhenAttached_gainsFocusButInvisible_CREATED()
254 assertThat(block.invocations[1].lifecycleState).isEqualTo(Lifecycle.State.CREATED) in repeatWhenAttached_viewGetsReattached_recreatesAlifecycle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/binder/
DComposeBouncerViewBinder.kt37 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
58 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DJavaAdapter.kt73 state: Lifecycle.State = Lifecycle.State.CREATED, in collectFlow()
90 state: Lifecycle.State = Lifecycle.State.CREATED, in collectFlow()
/frameworks/base/core/java/android/service/games/
DGameSession.java118 CREATED, enumConstant
156 moveToState(LifecycleState.CREATED); in doCreate()
198 if (newLifecycleState == LifecycleState.CREATED) { in moveToState()
210 case CREATED: in moveToState()
/frameworks/base/core/tests/coretests/src/android/window/
DBackNavigationTest.java75 mScenario.moveToState(Lifecycle.State.CREATED); in registerCallback_created()
84 mScenario.moveToState(Lifecycle.State.CREATED); in registerCallback_resumed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/lifecycle/
DRepeatWhenAttached.kt169 registry.currentState = Lifecycle.State.CREATED in onCreate()
189 view.windowVisibility != View.VISIBLE -> Lifecycle.State.CREATED in updateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/ui/binder/
DSmartspaceViewBinder.kt37 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/ui/binder/
DUdfpsAccessibilityOverlayBinder.kt42 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DLightRevealScrimViewBinder.kt31 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
DDeviceEntryIconViewBinder.kt90 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
189 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
DKeyguardClockViewBinder.kt57 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
63 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
DKeyguardSmartspaceViewBinder.kt44 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
DKeyguardBlueprintViewBinder.kt48 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/compose/
DLifecycleEffectTest.kt56 testLifecycleOwner.currentState = Lifecycle.State.CREATED in onStop_isCalled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/
DSharedNotificationContainerBinder.kt65 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
98 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
DNotificationScrollViewBinder.kt65 repeatOnLifecycle(Lifecycle.State.CREATED) { bind() } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DGlanceableHubContainerController.kt196 repeatOnLifecycle(Lifecycle.State.CREATED) { in communalAvailable()
242 lifecycleRegistry.currentState = Lifecycle.State.CREATED in initView()
348 lifecycleRegistry.currentState = Lifecycle.State.CREATED in disposeView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DUdfpsTouchOverlayBinder.kt47 repeatOnLifecycle(Lifecycle.State.CREATED) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DAccessPointControllerImplTest.kt94 assertThat(controller.lifecycle.currentState).isEqualTo(Lifecycle.State.CREATED) in testInitialLifecycleStateCreated()
108 assertThat(controller.lifecycle.currentState).isEqualTo(Lifecycle.State.CREATED) in testLifecycleBackToCreatedAfterRemovingOnlyCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DAccessPointControllerImpl.java80 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.CREATED)); in AccessPointControllerImpl()
137 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.CREATED)); in removeAccessPointCallback()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/touch/
DCommunalTouchHandlerTest.java70 when(mLifecycle.getCurrentState()).thenReturn(Lifecycle.State.CREATED); in setup()

123