Home
last modified time | relevance | path

Searched refs:isActivityResumed (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DLockTaskUtilityActivity.java37 private static volatile boolean isActivityResumed; field in LockTaskUtilityActivity
42 isActivityResumed = newValue; in setIsActivityResumed()
50 if (!isActivityResumed) { in waitUntilActivityResumed()
53 return isActivityResumed; in waitUntilActivityResumed()
60 if (isActivityResumed) { in waitUntilActivityPaused()
63 return !isActivityResumed; in waitUntilActivityPaused()
/cts/tests/tests/appop/src/android/app/appops/cts/
DUidStateForceActivity.kt29 private var isActivityResumed = false variable
36 if (!isActivityResumed) { in waitForResumed()
63 isActivityResumed = true in onResume()
72 isActivityResumed = false in onPause()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DActivityEmbeddingUtil.java26 import static android.server.wm.jetpack.utils.WindowManagerJetpackTestBase.isActivityResumed;
153 assertFalse(isActivityResumed(activityLaunchingFrom)); in startActivityAndVerifyNotSplit()
420 allActivitiesResumed &= WindowManagerJetpackTestBase.isActivityResumed(activity); in waitForResumed()
DWindowManagerJetpackTestBase.java386 public static boolean isActivityResumed(Activity activity) { in isActivityResumed() method in WindowManagerJetpackTestBase