Home
last modified time | relevance | path

Searched refs:newLifecycleState (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/service/games/
DGameSession.java182 public void moveToState(LifecycleState newLifecycleState) { in moveToState() argument
184 Slog.d(TAG, "moveToState: " + mLifecycleState + " -> " + newLifecycleState); in moveToState()
191 if (mLifecycleState == newLifecycleState) { in moveToState()
198 if (newLifecycleState == LifecycleState.CREATED) { in moveToState()
200 } else if (newLifecycleState == LifecycleState.DESTROYED) { in moveToState()
205 Slog.d(TAG, "Ignoring moveToState: INITIALIZED -> " + newLifecycleState); in moveToState()
211 if (newLifecycleState == LifecycleState.TASK_FOCUSED) { in moveToState()
213 } else if (newLifecycleState == LifecycleState.DESTROYED) { in moveToState()
217 Slog.d(TAG, "Ignoring moveToState: CREATED -> " + newLifecycleState); in moveToState()
223 if (newLifecycleState == LifecycleState.TASK_UNFOCUSED) { in moveToState()
[all …]
/frameworks/base/core/java/android/app/
DActivityThread.java759 public void setState(@LifecycleState int newLifecycleState) { in setState() argument
760 mLifecycleState = newLifecycleState; in setState()