Searched refs:ActivityLifecycle (Results 1 – 11 of 11) sorted by relevance
56 notifyWatcher(activity, ActivityLifecycle.CREATED); in onActivityCreated()62 notifyWatcher(activity, ActivityLifecycle.STARTED); in onActivityStarted()68 notifyWatcher(activity, ActivityLifecycle.RESUMED); in onActivityResumed()74 notifyWatcher(activity, ActivityLifecycle.PAUSED); in onActivityPaused()80 notifyWatcher(activity, ActivityLifecycle.STOPPED); in onActivityStopped()86 notifyWatcher(activity, ActivityLifecycle.SAVE_INSTANCE); in onActivitySaveInstanceState()92 notifyWatcher(activity, ActivityLifecycle.DESTROYED); in onActivityDestroyed()124 private void notifyWatcher(@NonNull Activity activity, @NonNull ActivityLifecycle lifecycle) { in notifyWatcher()160 public void waitFor(@NonNull ActivityLifecycle lifecycle) throws InterruptedException { in waitFor()168 private CountDownLatch getLatch(@NonNull ActivityLifecycle lifecycle) { in getLatch()[all …]
18 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.DESTROYED;19 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.RESUMED;
21 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.DESTROYED;22 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.RESUMED;
28 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.DESTROYED;29 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.RESUMED;30 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.STARTED;
19 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.RESUMED;
27 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.DESTROYED;28 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.RESUMED;
37 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.DESTROYED;38 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.RESUMED;
36 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.DESTROYED;37 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.RESUMED;
30 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.RESUMED;
23 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.RESUMED;