Searched refs:APP_SWITCH_ALLOW (Results 1 – 5 of 5) sorted by relevance
19 import static com.android.server.wm.ActivityTaskManagerService.APP_SWITCH_ALLOW;149 mAppSwitchState = APP_SWITCH_ALLOW; in testBoundByForeground()163 mAppSwitchState = APP_SWITCH_ALLOW; in testForegroundTask()176 mAppSwitchState = APP_SWITCH_ALLOW; in testGracePeriod()
19 import static com.android.server.wm.ActivityTaskManagerService.APP_SWITCH_ALLOW;254 when(mService.getBalAppSwitchesState()).thenReturn(APP_SWITCH_ALLOW); in testCaller_appHasVisibleWindow()286 when(mService.getBalAppSwitchesState()).thenReturn(APP_SWITCH_ALLOW); in testRealCaller_appHasVisibleWindow()326 when(mService.getBalAppSwitchesState()).thenReturn(APP_SWITCH_ALLOW); in testCaller_appAllowedByBLPC()360 when(mService.getBalAppSwitchesState()).thenReturn(APP_SWITCH_ALLOW); in testRealCaller_appAllowedByBLPC()407 when(mService.getBalAppSwitchesState()).thenReturn(APP_SWITCH_ALLOW); in testRealCaller_appAllowedByBLPCforOtherProcess()
24 import static com.android.server.wm.ActivityTaskManagerService.APP_SWITCH_ALLOW;134 if (appSwitchState == APP_SWITCH_ALLOW) { in areBackgroundActivityStartsAllowed()
40 import static com.android.server.wm.ActivityTaskManagerService.APP_SWITCH_ALLOW;805 final boolean appSwitchAllowedOrFg = state.mAppSwitchState == APP_SWITCH_ALLOW in checkBackgroundActivityStartAllowedByCaller()917 final boolean appSwitchAllowedOrFg = state.mAppSwitchState == APP_SWITCH_ALLOW in checkBackgroundActivityStartAllowedBySender()
536 private volatile int mAppSwitchesState = APP_SWITCH_ALLOW;548 static final int APP_SWITCH_ALLOW = 2; field in ActivityTaskManagerService553 APP_SWITCH_ALLOW,1342 mAppSwitchesState = APP_SWITCH_ALLOW; in startActivityIntentSender()4095 mAppSwitchesState = APP_SWITCH_ALLOW; in resumeAppSwitches()