Searched refs:BAL_BLOCK (Results 1 – 5 of 5) sorted by relevance
25 import static com.android.server.wm.BackgroundActivityStartController.BAL_BLOCK;100 assertThat(balVerdict.getCode()).isEqualTo(BAL_BLOCK); in testNothingAllows()
22 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()
239 BackgroundActivityStartController.BAL_BLOCK); in testNoExemption()241 BackgroundActivityStartController.BAL_BLOCK); in testNoExemption()
131 @IntDef({BAL_BLOCK,145 static final int BAL_BLOCK = 0; field in BackgroundActivityStartController211 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()
78 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()