Searched refs:ActivityState (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | FrameRateOverrideCtsActivity.java | 68 private enum ActivityState { RUNNING, PAUSED, DESTROYED } enum in FrameRateOverrideCtsActivity 69 private ActivityState mActivityState; 168 mActivityState = ActivityState.DESTROYED; in onDestroy() 177 mActivityState = ActivityState.PAUSED; in onPause() 186 mActivityState = ActivityState.RUNNING; in onResume() 202 ActivityState.DESTROYED); in waitForPreconditions() 203 if (mSurface == null || mActivityState != ActivityState.RUNNING) { in waitForPreconditions() 206 mSurface != null, mActivityState == ActivityState.RUNNING)); in waitForPreconditions() 210 while (mSurface == null || mActivityState != ActivityState.RUNNING) { in waitForPreconditions() 214 mSurface != null, mActivityState == ActivityState.RUNNING), in waitForPreconditions() [all …]
|
D | FrameRateCtsActivity.java | 83 private enum ActivityState { RUNNING, PAUSED, DESTROYED } enum in FrameRateCtsActivity 85 private ActivityState mActivityState; 395 mActivityState = ActivityState.DESTROYED; in onDestroy() 404 mActivityState = ActivityState.PAUSED; in onPause() 413 mActivityState = ActivityState.RUNNING; in onResume() 484 ActivityState.DESTROYED); in waitForPreconditions() 485 if (mSurface == null || mActivityState != ActivityState.RUNNING) { in waitForPreconditions() 489 mSurface != null, mActivityState == ActivityState.RUNNING)); in waitForPreconditions() 493 while (mSurface == null || mActivityState != ActivityState.RUNNING) { in waitForPreconditions() 497 mSurface != null, mActivityState == ActivityState.RUNNING), in waitForPreconditions() [all …]
|
/cts/tests/tests/gameframerate/src/ |
D | GameFrameRateCtsActivity.java | 73 private enum ActivityState { RUNNING, PAUSED, DESTROYED } enum in GameFrameRateCtsActivity 74 private ActivityState mActivityState; 178 mActivityState = ActivityState.DESTROYED; in onDestroy() 187 mActivityState = ActivityState.PAUSED; in onPause() 196 mActivityState = ActivityState.RUNNING; in onResume() 219 if (mSurface == null || mActivityState != ActivityState.RUNNING) { in waitForPreconditions() 222 mSurface != null, mActivityState == ActivityState.RUNNING)); in waitForPreconditions() 226 while (mSurface == null || mActivityState != ActivityState.RUNNING) { in waitForPreconditions() 230 mSurface != null, mActivityState == ActivityState.RUNNING), in waitForPreconditions() 245 while (mSurface != null && mActivityState == ActivityState.RUNNING) { in waitForPreconditionViolation() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | Persistence.java | 532 private final List<ActivityState> mActivities = new ArrayList<>(); 537 final ActivityState activity = in TaskState() 538 ActivityState.fromJson((JSONObject) jsonActivities.get(i)); in TaskState() 554 this.mActivities.add(new ActivityState(activity)); in TaskState() 561 for (ActivityState activity : mActivities) { in toJson() 573 public List<ActivityState> getActivities() { in getActivities() 592 public static class ActivityState { class in Persistence 605 public ActivityState(String name, String state) { in ActivityState() method in Persistence.ActivityState 610 public ActivityState(WindowManagerState.Activity activity) { in ActivityState() method in Persistence.ActivityState 620 static ActivityState fromJson(JSONObject object) throws JSONException { in fromJson() [all …]
|