Home
last modified time | relevance | path

Searched refs:BAL_BLOCK (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackgroundLaunchProcessControllerTests.java25 import static com.android.server.wm.BackgroundActivityStartController.BAL_BLOCK;
100 assertThat(balVerdict.getCode()).isEqualTo(BAL_BLOCK); in testNothingAllows()
DBackgroundActivityStartControllerTests.java22 import static com.android.server.wm.BackgroundActivityStartController.BAL_BLOCK;
252 assertThat(verdict.getCode()).isEqualTo(BackgroundActivityStartController.BAL_BLOCK); in testRegularActivityStart_noExemption_isBlocked()
255 new BalAllowedLog("package.app3/someClass", BAL_BLOCK)); in testRegularActivityStart_noExemption_isBlocked()
290 new BalAllowedLog("package.app3/someClass", BAL_BLOCK)); in testRegularActivityStart_notAllowed_isBlocked()
436 new BalAllowedLog("package.app3/someClass", BAL_BLOCK)); in testPendingIntent_allowedByCallerAndRealCallerButOptOut_isBlocked()
DBackgroundActivityStartControllerExemptionTests.java239 BackgroundActivityStartController.BAL_BLOCK); in testNoExemption()
241 BackgroundActivityStartController.BAL_BLOCK); in testNoExemption()
/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundActivityStartController.java131 @IntDef({BAL_BLOCK,
145 static final int BAL_BLOCK = 0; field in BackgroundActivityStartController
211 case BAL_BLOCK -> "BAL_BLOCK"; in balCodeToString()
561 static final BalVerdict BLOCK = new BalVerdict(BAL_BLOCK, false, "Blocked");
589 return mCode == BAL_BLOCK; in blocks()
619 if (mCode == BAL_BLOCK) { in toString()
638 if (mBasedOnRealCaller && mCode != BAL_BLOCK) { in getCode()
1714 state.mResultForCaller == null ? BAL_BLOCK : state.mResultForCaller.getRawCode(), in writeBalAllowedLog()
1717 state.mResultForRealCaller == null ? BAL_BLOCK in writeBalAllowedLog()
DActivityStarter.java78 import static com.android.server.wm.BackgroundActivityStartController.BAL_BLOCK;
2046 if (mBalCode == BAL_BLOCK && blockBalInTask in isAllowedToStart()
2622 if (mBalCode == BAL_BLOCK && !mService.isBackgroundActivityStartsEnabled()) { in setInitialState()