Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackgroundLaunchProcessControllerTests.java23 import static com.android.server.wm.BackgroundActivityStartController.BAL_ALLOW_PERMISSION;
112 assertThat(balVerdict.getCode()).isEqualTo(BAL_ALLOW_PERMISSION); in testInstrumenting()
129 assertThat(balVerdict.getCode()).isEqualTo(BAL_ALLOW_PERMISSION); in testAllowedByTokenNoCallback()
144 assertThat(balVerdict.getCode()).isEqualTo(BAL_ALLOW_PERMISSION); in testAllowedByToken()
DBackgroundActivityStartControllerExemptionTests.java22 import static com.android.server.wm.BackgroundActivityStartController.BAL_ALLOW_PERMISSION;
498 BAL_ALLOW_PERMISSION); in testCaller_balPermission()
534 BAL_ALLOW_PERMISSION); in testRealCaller_balPermission()
698 BAL_ALLOW_PERMISSION); in testCaller_isExemptFromBgStartRestriction()
DBackgroundActivityStartControllerTests.java20 import static com.android.server.wm.BackgroundActivityStartController.BAL_ALLOW_PERMISSION;
367 new BalVerdict(BAL_ALLOW_PERMISSION, false, "CallerHasPermission"); in testRegularActivityStart_allowedByCallerAndRealCaller_returnsCallerVerdict()
405 new BalVerdict(BAL_ALLOW_PERMISSION, false, "CallerhasPermission"); in testPendingIntent_allowedByCallerAndRealCallerButOptOut_isBlocked()
/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundLaunchProcessController.java28 import static com.android.server.wm.BackgroundActivityStartController.BAL_ALLOW_PERMISSION;
108 return new BalVerdict(BAL_ALLOW_PERMISSION, /*background*/ true, in areBackgroundActivityStartsAllowed()
113 return new BalVerdict(BAL_ALLOW_PERMISSION, /*background*/ true, in areBackgroundActivityStartsAllowed()
DBackgroundActivityStartController.java137 BAL_ALLOW_PERMISSION,
175 static final int BAL_ALLOW_PERMISSION = field in BackgroundActivityStartController
207 case BAL_ALLOW_PERMISSION -> "BAL_ALLOW_PERMISSION"; in balCodeToString()
850 return new BalVerdict(BAL_ALLOW_PERMISSION, in checkBackgroundActivityStartAllowedByCaller()
891 return new BalVerdict(BAL_ALLOW_PERMISSION, /*background*/ true, in checkBackgroundActivityStartAllowedByCaller()
941 return new BalVerdict(BAL_ALLOW_PERMISSION, in checkBackgroundActivityStartAllowedBySender()
1041 || balCode == BAL_ALLOW_PERMISSION in checkActivityAllowedToStart()
1266 || balCode == BAL_ALLOW_PERMISSION in checkActivityAllowedToClearTask()
1677 if (code == BAL_ALLOW_PERMISSION || code == BAL_ALLOW_FOREGROUND in statsLog()