Home
last modified time | relevance | path

Searched refs:allowsBackgroundFgsStarts (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/app/
DBackgroundStartPrivileges.java90 boolean allowsBackgroundFgsStarts = in merge()
91 this.allowsBackgroundFgsStarts() || other.allowsBackgroundFgsStarts(); in merge()
95 && this.mAllowsBackgroundForegroundServiceStarts == allowsBackgroundFgsStarts) { in merge()
100 && other.mAllowsBackgroundForegroundServiceStarts == allowsBackgroundFgsStarts) { in merge()
105 allowsBackgroundFgsStarts, this.mOriginatingToken); in merge()
110 } else if (allowsBackgroundFgsStarts) { in merge()
150 public boolean allowsBackgroundFgsStarts() { in allowsBackgroundFgsStarts() method in BackgroundStartPrivileges
/frameworks/base/core/tests/coretests/src/android/app/
DBackgroundStartPrivilegesTest.java53 assertThat(ALLOW_BAL.allowsBackgroundFgsStarts()).isEqualTo(true); in backgroundStartPrivilege_getters_work()
59 assertThat(ALLOW_FGS.allowsBackgroundFgsStarts()).isEqualTo(true); in backgroundStartPrivilege_getters_work()
65 assertThat(NONE.allowsBackgroundFgsStarts()).isEqualTo(false); in backgroundStartPrivilege_getters_work()
71 assertThat(BSP_ALLOW_A.allowsBackgroundFgsStarts()).isEqualTo(true); in backgroundStartPrivilege_getters_work()
/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundLaunchProcessController.java174 if (mBackgroundStartPrivileges.valueAt(i).allowsBackgroundFgsStarts()) { in isBackgroundStartAllowedByToken()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java8754 if (backgroundStartPrivileges.allowsBackgroundFgsStarts()) { in shouldAllowFgsStartForegroundNoBindingCheckLocked()