Searched refs:appSwitchState (Results 1 – 3 of 3) sorted by relevance
75 int appSwitchState, boolean isCheckingForFgsStart, in areBackgroundActivityStartsAllowed() argument81 if (appSwitchState == APP_SWITCH_ALLOW) { in areBackgroundActivityStartsAllowed()117 && (appSwitchState == APP_SWITCH_ALLOW || appSwitchState == APP_SWITCH_FG_ONLY)) { in areBackgroundActivityStartsAllowed()
519 boolean areBackgroundActivityStartsAllowed(int appSwitchState) { in areBackgroundActivityStartsAllowed() argument520 return areBackgroundActivityStartsAllowed(appSwitchState, in areBackgroundActivityStartsAllowed()524 private boolean areBackgroundActivityStartsAllowed(int appSwitchState, in areBackgroundActivityStartsAllowed() argument527 appSwitchState, isCheckingForFgsStart, hasActivityInVisibleTask(), in areBackgroundActivityStartsAllowed()
1280 final int appSwitchState = mService.getBalAppSwitchesState(); in shouldAbortBackgroundActivityStart() local1294 appSwitchState == APP_SWITCH_ALLOW || appSwitchState == APP_SWITCH_FG_ONLY; in shouldAbortBackgroundActivityStart()1405 if (callerApp.areBackgroundActivityStartsAllowed(appSwitchState)) { in shouldAbortBackgroundActivityStart()1419 && proc.areBackgroundActivityStartsAllowed(appSwitchState)) { in shouldAbortBackgroundActivityStart()1433 + "; appSwitchState: " + appSwitchState in shouldAbortBackgroundActivityStart()