Home
last modified time | relevance | path

Searched refs:BAL_ALLOW_VISIBLE_WINDOW (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackgroundActivityStartControllerLogTests.java20 import static com.android.server.wm.BackgroundActivityStartController.BAL_ALLOW_VISIBLE_WINDOW;
92 BalVerdict finalVerdict = new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, false, "visible"); in intent_visible_noLog()
168 BalVerdict finalVerdict = new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, false, in pendingIntent_realCallerOnly_visible_noLog()
178 BalVerdict finalVerdict = new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, false, "visible"); in pendingIntent_callerOnly_visible_noLog()
DBackgroundActivityStartControllerTests.java21 import static com.android.server.wm.BackgroundActivityStartController.BAL_ALLOW_VISIBLE_WINDOW;
299 BalVerdict callerVerdict = new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, false, in testRegularActivityStart_allowedByCaller_isAllowed()
334 BalVerdict realCallerVerdict = new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, false, in testRegularActivityStart_allowedByRealCaller_isAllowed()
369 new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, false, "RealCallerIsVisible"); in testRegularActivityStart_allowedByCallerAndRealCaller_returnsCallerVerdict()
407 new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, false, "RealCallerIsVisible"); in testPendingIntent_allowedByCallerAndRealCallerButOptOut_isBlocked()
446 new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, false, "CallerIsVisible"); in testPendingIntent_allowedByCallerAndOptIn_isAllowed()
483 new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, false, "RealCallerIsVisible"); in testPendingIntent_allowedByRealCallerAndOptIn_isAllowed()
DBackgroundLaunchProcessControllerTests.java24 import static com.android.server.wm.BackgroundActivityStartController.BAL_ALLOW_VISIBLE_WINDOW;
158 assertThat(balVerdict.getCode()).isEqualTo(BAL_ALLOW_VISIBLE_WINDOW); in testBoundByForeground()
DBackgroundActivityStartControllerExemptionTests.java24 import static com.android.server.wm.BackgroundActivityStartController.BAL_ALLOW_VISIBLE_WINDOW;
273 BAL_ALLOW_VISIBLE_WINDOW); in testCaller_appHasVisibleWindow()
305 BAL_ALLOW_VISIBLE_WINDOW); in testRealCaller_appHasVisibleWindow()
/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundActivityStartController.java135 BAL_ALLOW_VISIBLE_WINDOW,
164 static final int BAL_ALLOW_VISIBLE_WINDOW = field in BackgroundActivityStartController
210 case BAL_ALLOW_VISIBLE_WINDOW -> "BAL_ALLOW_VISIBLE_WINDOW"; in balCodeToString()
808 return new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, in checkBackgroundActivityStartAllowedByCaller()
922 return new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, in checkBackgroundActivityStartAllowedBySender()
933 return new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, in checkBackgroundActivityStartAllowedBySender()
1044 || balCode == BAL_ALLOW_VISIBLE_WINDOW in checkActivityAllowedToStart()
1268 || balCode == BAL_ALLOW_VISIBLE_WINDOW in checkActivityAllowedToClearTask()
1574 if (balCode == BAL_ALLOW_VISIBLE_WINDOW || balCode == BAL_ALLOW_NON_APP_VISIBLE_WINDOW in getDebugInfoForActivitySecurity()
1688 if (finalVerdict.getRawCode() == BAL_ALLOW_VISIBLE_WINDOW) { in shouldLogStats()
DBackgroundLaunchProcessController.java29 import static com.android.server.wm.BackgroundActivityStartController.BAL_ALLOW_VISIBLE_WINDOW;
123 return new BalVerdict(BAL_ALLOW_VISIBLE_WINDOW, /*background*/ false, in areBackgroundActivityStartsAllowed()
/frameworks/proto_logging/stats/atoms/framework/
Dframework_extension_atoms.proto87 BAL_ALLOW_VISIBLE_WINDOW = 4; enumerator