Searched refs:waitForActivityFocused (Results 1 – 3 of 3) sorted by relevance
148 boolean result = waitForActivityFocused(APP_A_BACKGROUND_ACTIVITY); in testBackgroundActivityBlocked()182 boolean firstResult = waitForActivityFocused(APP_A_FOREGROUND_ACTIVITY); in testBackgroundActivityNotBlockedWithinGracePeriod()191 boolean secondResult = waitForActivityFocused(APP_A_BACKGROUND_ACTIVITY); in testBackgroundActivityNotBlockedWithinGracePeriod()206 boolean result = waitForActivityFocused(APP_A_BACKGROUND_ACTIVITY); in testBackgroundActivityNotBlockedWhenSystemAlertWindowGranted()217 boolean result = waitForActivityFocused(APP_A_FOREGROUND_ACTIVITY); in testBackgroundActivityNotBlockedWhenForegroundActivityExists()225 result = waitForActivityFocused(APP_A_BACKGROUND_ACTIVITY); in testBackgroundActivityNotBlockedWhenForegroundActivityExists()240 boolean result = waitForActivityFocused(APP_A_BACKGROUND_ACTIVITY); in testActivityNotBlockedWhenForegroundActivityLaunch()254 boolean result = waitForActivityFocused(ACTIVITY_FOCUS_TIMEOUT_MS, in testActivityBroughtToTopOfTaskWhenLaunchedInTheBackground()264 result = waitForActivityFocused(APP_A_FOREGROUND_ACTIVITY); in testActivityBroughtToTopOfTaskWhenLaunchedInTheBackground()266 result = waitForActivityFocused(APP_A_BACKGROUND_ACTIVITY); in testActivityBroughtToTopOfTaskWhenLaunchedInTheBackground()[all …]
128 waitForActivityFocused(ACTIVITY_FOCUS_TIMEOUT_MS, Components.CLICKABLE_TOAST_ACTIVITY); in testToastWindowIsNotClickable()
330 protected boolean waitForActivityFocused(int timeoutMs, ComponentName componentName) { in waitForActivityFocused() method in ActivityManagerTestBase