/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ActivitiesWatcher.java | 124 private void notifyWatcher(@NonNull Activity activity, @NonNull ActivityLifecycle lifecycle) { in notifyWatcher() argument 128 Log.d(TAG, "notifying watcher of " + className + " of " + lifecycle); in notifyWatcher() 129 watcher.notify(lifecycle); in notifyWatcher() 131 Log.v(TAG, lifecycle + ": no watcher for " + className); in notifyWatcher() 160 public void waitFor(@NonNull ActivityLifecycle lifecycle) throws InterruptedException { in waitFor() argument 161 final CountDownLatch latch = getLatch(lifecycle); in waitFor() 164 throw new IllegalStateException(lifecycle + " not called in " + mTimeoutMs + " ms"); in waitFor() 168 private CountDownLatch getLatch(@NonNull ActivityLifecycle lifecycle) { in getLatch() argument 169 switch (lifecycle) { in getLatch() 185 throw new IllegalArgumentException("unsupported lifecycle: " + lifecycle); in getLatch() [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ActivitiesWatcher.java | 124 private void notifyWatcher(@NonNull Activity activity, @NonNull ActivityLifecycle lifecycle) { in notifyWatcher() argument 128 Log.d(TAG, "notifying watcher of " + className + " of " + lifecycle); in notifyWatcher() 129 watcher.notify(lifecycle); in notifyWatcher() 131 Log.v(TAG, lifecycle + ": no watcher for " + className); in notifyWatcher() 160 public void waitFor(@NonNull ActivityLifecycle lifecycle) throws InterruptedException { in waitFor() argument 161 final CountDownLatch latch = getLatch(lifecycle); in waitFor() 164 throw new IllegalStateException(lifecycle + " not called in " + mTimeoutMs + " ms"); in waitFor() 168 private CountDownLatch getLatch(@NonNull ActivityLifecycle lifecycle) { in getLatch() argument 169 switch (lifecycle) { in getLatch() 185 throw new IllegalArgumentException("unsupported lifecycle: " + lifecycle); in getLatch() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleClientTestBase.java | 17 package android.server.wm.lifecycle; 21 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_ACTIVITY_RESULT; 22 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE; 23 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGE… 25 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_NEW_INTENT; 26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_PAUSE; 27 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_POST_CREATE; 28 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESTART; 29 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME; [all …]
|
D | ActivityLifecycleSplitScreenTests.java | 17 package android.server.wm.lifecycle; 23 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_ACTIVITY_RESULT; 24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE; 25 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGE… 27 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_PAUSE; 28 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_POST_CREATE; 29 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESTART; 30 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME; 31 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_START; [all …]
|
D | ActivityLifecycleKeyguardTests.java | 17 package android.server.wm.lifecycle; 22 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_PAUSE; 23 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESTART; 24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME; 25 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_START; 26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_STOP;
|
D | LifecycleVerifier.java | 17 package android.server.wm.lifecycle; 20 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE; 21 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 22 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGE… 23 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_PAUSE; 24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_POST_CREATE; 25 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESTART; 26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME; 27 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_START; 28 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_STOP; [all …]
|
D | ActivityLifecyclePipTests.java | 17 package android.server.wm.lifecycle; 23 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE; 24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 25 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_PAUSE; 26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESTART; 27 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME; 28 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_START; 29 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_STOP; 30 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.PRE_ON_CREATE;
|
D | ActivityLifecycleTests.java | 17 package android.server.wm.lifecycle; 24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_ACTIVITY_RESULT; 25 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE; 26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 27 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_NEW_INTENT; 28 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_PAUSE; 29 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_POST_CREATE; 30 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESTART; 31 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME; 32 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_START; [all …]
|
D | ActivityLifecycleTopResumedStateTests.java | 17 package android.server.wm.lifecycle; 24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_ACTIVITY_RESULT; 25 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE; 26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 27 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_NEW_INTENT; 28 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_PAUSE; 29 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_POST_CREATE; 30 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESTART; 31 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME; 32 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_START; [all …]
|
D | LifecycleTracker.java | 17 package android.server.wm.lifecycle; 22 import android.server.wm.lifecycle.LifecycleLog.ActivityCallback;
|
D | ActivityLifecycleFreeformTests.java | 17 package android.server.wm.lifecycle; 28 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME; 29 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_TOP_POSITION_LOST;
|
D | ActivityStarterTests.java | 17 package android.server.wm.lifecycle; 30 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME;
|
D | LifecycleLog.java | 17 package android.server.wm.lifecycle;
|
/cts/tests/app/src/android/app/cts/ |
D | AppTaskTests.java | 43 import androidx.test.runner.lifecycle.ActivityLifecycleCallback; 44 import androidx.test.runner.lifecycle.ActivityLifecycleMonitor; 45 import androidx.test.runner.lifecycle.ActivityLifecycleMonitorRegistry; 46 import androidx.test.runner.lifecycle.Stage;
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LaunchpadActivity.java | 220 private void addPossibleLifecycle(String debugName, String[] lifecycle) { in addPossibleLifecycle() argument 221 mLifecycleNames.put(lifecycle, debugName); in addPossibleLifecycle() 223 mExpectedLifecycle = lifecycle; in addPossibleLifecycle() 225 mOtherPossibleLifecycles.add(lifecycle); in addPossibleLifecycle()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LaunchpadActivity.java | 226 private void addPossibleLifecycle(String debugName, String[] lifecycle) { in addPossibleLifecycle() argument 227 mLifecycleNames.put(lifecycle, debugName); in addPossibleLifecycle() 229 mExpectedLifecycle = lifecycle; in addPossibleLifecycle() 231 mOtherPossibleLifecycles.add(lifecycle); in addPossibleLifecycle()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayPolicyTests.java | 40 import static android.server.wm.lifecycle.ActivityStarterTests.StandardActivity;
|