Searched refs:ActivityState (Results 1 – 2 of 2) sorted by relevance
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 Persistence605 public ActivityState(String name, String state) { in ActivityState() method in Persistence.ActivityState610 public ActivityState(WindowManagerState.Activity activity) { in ActivityState() method in Persistence.ActivityState620 static ActivityState fromJson(JSONObject object) throws JSONException { in fromJson()[all …]
76 private enum ActivityState { RUNNING, PAUSED, DESTROYED } enum in FrameRateCtsActivity78 private ActivityState mActivityState;373 mActivityState = ActivityState.DESTROYED; in onDestroy()382 mActivityState = ActivityState.PAUSED; in onPause()391 mActivityState = ActivityState.RUNNING; in onResume()460 "Activity was unexpectedly destroyed", mActivityState != ActivityState.DESTROYED); in waitForPreconditions()461 if (mSurface == null || mActivityState != ActivityState.RUNNING) { in waitForPreconditions()465 mSurface != null, mActivityState == ActivityState.RUNNING)); in waitForPreconditions()469 while (mSurface == null || mActivityState != ActivityState.RUNNING) { in waitForPreconditions()473 mSurface != null, mActivityState == ActivityState.RUNNING), in waitForPreconditions()[all …]