Home
last modified time | relevance | path

Searched refs:DESTROYED (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java51 WindowState.DESTROYED})
73 int DESTROYED = 4; field
112 case WindowState.DESTROYED: in setToken()
177 case WindowState.DESTROYED: in show()
191 updateWindowState(WindowState.DESTROYED); in dismissForDestroyIfNecessary()
211 updateWindowState(WindowState.DESTROYED); in dismissForDestroyIfNecessary()
218 updateWindowState(WindowState.DESTROYED); in dismissForDestroyIfNecessary()
220 case WindowState.DESTROYED: in dismissForDestroyIfNecessary()
248 case WindowState.DESTROYED: in stateToString()
/frameworks/base/core/java/android/service/games/
DGameSession.java124 DESTROYED enumConstant
162 moveToState(LifecycleState.DESTROYED); in doDestroy()
200 } else if (newLifecycleState == LifecycleState.DESTROYED) { in moveToState()
213 } else if (newLifecycleState == LifecycleState.DESTROYED) { in moveToState()
225 } else if (newLifecycleState == LifecycleState.DESTROYED) { in moveToState()
238 } else if (newLifecycleState == LifecycleState.DESTROYED) { in moveToState()
247 case DESTROYED: in moveToState()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionWindow.java57 WindowState.DESTROYED})
79 int DESTROYED = 4; field
121 case WindowState.DESTROYED: in setToken()
285 case WindowState.DESTROYED: in show()
314 case WindowState.DESTROYED: in stateToString()
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
DLoginTest.java18 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.DESTROYED;
136 watcher.waitFor(DESTROYED); in testActivityLaunchTime()
168 watcher.waitFor(DESTROYED); in testSendEventLatency()
/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
DGameSessionTest.java209 mGameSession.moveToState(GameSession.LifecycleState.DESTROYED); in moveState_FullLifecycle_ExpectedLifecycleCalls()
220 mGameSession.moveToState(GameSession.LifecycleState.DESTROYED); in moveState_DestroyedWhenInitialized_ExpectedLifecycleCalls()
232 mGameSession.moveToState(GameSession.LifecycleState.DESTROYED); in moveState_DestroyedWhenFocused_ExpectedLifecycleCalls()
300 mGameSession.moveToState(GameSession.LifecycleState.DESTROYED); in moveState_NeverFocused_ExpectedLifecycleCalls()
350 mGameSession.moveToState(GameSession.LifecycleState.DESTROYED); in moveState_FocusWhenDestroyed_ExpectedLifecycleCalls()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/
DRepeatWhenAttachedTest.kt237 assertThat(block.latestLifecycleState).isEqualTo(Lifecycle.State.DESTROYED) in repeatWhenAttached_viewGetsDetached_destroysTheLifecycle()
253 assertThat(block.invocations[0].lifecycleState).isEqualTo(Lifecycle.State.DESTROYED) in repeatWhenAttached_viewGetsReattached_recreatesAlifecycle()
268 assertThat(block.latestLifecycleState).isEqualTo(Lifecycle.State.DESTROYED) in repeatWhenAttached_disposeAttached()
295 assertThat(block.latestLifecycleState).isEqualTo(Lifecycle.State.DESTROYED) in repeatWhenAttached_disposePreviouslyAttachedNowDetached()
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/
DGraphicsActivity.java90 private enum ActivityState { RUNNING, PAUSED, DESTROYED } enumConstant
357 mActivityState = ActivityState.DESTROYED; in onDestroy()
426 "Activity was unexpectedly destroyed", mActivityState, ActivityState.DESTROYED); in waitForPreconditions()
443 "Activity was unexpectedly destroyed", mActivityState, ActivityState.DESTROYED); in waitForPreconditions()
453 "Activity was unexpectedly destroyed", mActivityState, ActivityState.DESTROYED); in waitForPreconditionViolation()
463 "Activity was unexpectedly destroyed", mActivityState, ActivityState.DESTROYED); in waitForPreconditionViolation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java18 import static androidx.lifecycle.Lifecycle.State.DESTROYED;
470 if (mLifecycle.getCurrentState().equals(DESTROYED)) return; in handleSetListeningInternal()
484 if (mLifecycle.getCurrentState().equals(DESTROYED)) return; in handleSetListeningInternal()
519 mLifecycle.setCurrentState(DESTROYED); in handleDestroy()
/frameworks/base/core/java/android/app/
DLocalActivityManager.java74 static final int DESTROYED = 5; // No longer with us. field in LocalActivityManager
136 if (r.curState == RESTORED || r.curState == DESTROYED) { in moveToState()
424 r.curState = DESTROYED; in performDestroy()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DInternalWindowOperationPerfTest.java91 mActivityRule.waitForIdleSync(Stage.DESTROYED); in testLaunchAndFinishActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackControllerTest.java92 owner.setState(Lifecycle.State.DESTROYED); in testCallbackIsRemovedOnDestroy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java18 import static androidx.lifecycle.Lifecycle.State.DESTROYED;
353 assertNotEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testHandleDestroyLifecycle()
358 assertEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testHandleDestroyLifecycle()
409 assertNotEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testListeningFalse_stateNotDestroyed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/lifecycle/
DRepeatWhenAttached.kt178 registry.currentState = Lifecycle.State.DESTROYED in onDestroy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsRequestDialogTest.kt129 assertNotEquals(Lifecycle.State.DESTROYED, in testActivityNotFinished()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/
DDreamOverlayServiceTest.kt482 assertThat(lifecycleRegistry.currentState).isEqualTo(Lifecycle.State.DESTROYED) in testDestroy()
499 assertThat(lifecycleRegistry.currentState).isEqualTo(Lifecycle.State.DESTROYED) in testDoNotRemoveViewOnDestroyIfOverlayNotStarted()
804 Lifecycle.State.DESTROYED in testLifecycle_destroyedAfterOnDestroy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DAccessPointControllerImpl.java102 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.DESTROYED)); in finalize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModel.kt119 if (lifecycleOwner.lifecycle.currentState == Lifecycle.State.DESTROYED) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePanelDialog.java208 mLifecycleRegistry.setCurrentState(Lifecycle.State.DESTROYED); in stop()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ambient/touch/
DTouchMonitorTest.java602 environment.updateLifecycle(Lifecycle.State.DESTROYED); in testDestroyWithActiveSessions()
660 environment.updateLifecycle(Lifecycle.State.DESTROYED); in testOnRemovedCallbackOnStopMonitoring()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java87 import static com.android.server.wm.ActivityRecord.State.DESTROYED;
491 activity.setState(DESTROYED, "Testing"); in testDestroyedActivityNotScheduleConfigChanged()
1733 assertEquals(DESTROYED, activity.getState()); in testDestroyImmediately_hadApp_notFinishing()
1749 assertEquals(DESTROYED, activity.getState()); in testDestroyImmediately_noApp_finishing()
1767 assertEquals(DESTROYED, activity.getState()); in testDestroyImmediately_noApp_notFinishing()
1786 assertEquals(DESTROYED, activity.getState()); in testRemoveImmediately()
1803 assertEquals(DESTROYED, activity.getState()); in testRemoveFromHistory()
1841 activity.setState(DESTROYED, "test"); in testDestroyed_destroyed()
2274 verifyProcessInfoUpdate(activity, DESTROYED, in testProcessInfoUpdateWhenSetState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayService.java332 setLifecycleStateLocked(Lifecycle.State.DESTROYED); in onDestroy()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessController.java31 import static com.android.server.wm.ActivityRecord.State.DESTROYED;
1111 if (r.finishing || r.isState(DESTROYING, DESTROYED)) { in releaseSomeActivities()
1245 ActivityRecord.State bestInvisibleState = DESTROYED; in computeProcessActivityState()
DActivityRecord.java162 import static com.android.server.wm.ActivityRecord.State.DESTROYED;
624 DESTROYED, enumConstant
4084 if (isState(DESTROYING, DESTROYED)) { in destroyImmediately()
4135 setState(DESTROYED, in destroyImmediately()
4147 setState(DESTROYED, "destroyActivityLocked. not finishing and had no app"); in destroyImmediately()
4167 setState(DESTROYED, "removeFromHistory"); in removeFromHistory()
4231 if (!isState(DESTROYING, DESTROYED)) { in destroyed()
4267 setState(DESTROYED, "cleanUp"); in cleanUp()
4458 if (mState != DESTROYED) { in removeImmediately()
6046 case DESTROYED: in setState()
[all …]
/frameworks/av/services/audioflinger/
DEffects.cpp142 case DESTROYED: in setEnabled_l()
186 case DESTROYED: in isEnabled()
346 mState = DESTROYED; in removeHandle_l()
681 if (mState == DESTROYED || mEffectInterface == 0 || mInBuffer == 0 || mOutBuffer == 0) { in process()
1171 if (mState == DESTROYED || mEffectInterface == 0) { in command()
1259 case DESTROYED: in isProcessEnabled()
DIAfEffect.h100 DESTROYED enumerator

12