Searched refs:ALLOW_BAL (Results 1 – 8 of 8) sorted by relevance
19 import static android.app.BackgroundStartPrivileges.ALLOW_BAL;51 assertThat(ALLOW_BAL.getOriginatingToken()).isNull(); in backgroundStartPrivilege_getters_work()52 assertThat(ALLOW_BAL.allowsBackgroundActivityStarts()).isEqualTo(true); in backgroundStartPrivilege_getters_work()53 assertThat(ALLOW_BAL.allowsBackgroundFgsStarts()).isEqualTo(true); in backgroundStartPrivilege_getters_work()54 assertThat(ALLOW_BAL.allowsAny()).isEqualTo(true); in backgroundStartPrivilege_getters_work()55 assertThat(ALLOW_BAL.allowsNothing()).isEqualTo(false); in backgroundStartPrivilege_getters_work()78 assertThat(ALLOW_BAL.toString()).isNotEmpty(); in backgroundStartPrivilege_toString_returnsSomething()91 assertThat(BSP_ALLOW_A.merge(BSP_ALLOW_B)).isEqualTo(ALLOW_BAL); in backgroundStartPrivilege_mergeAB_resultsInAllowBal()96 assertThat(BSP_ALLOW_A.merge(ALLOW_BAL)).isEqualTo(ALLOW_BAL); in backgroundStartPrivilege_mergeAwithAllowBal_resultsInAllowBal()101 assertThat(BSP_ALLOW_A.merge(ALLOW_FGS)).isEqualTo(ALLOW_BAL); in backgroundStartPrivilege_mergeAwithAllowFgs_resultsInAllowBal()[all …]
36 public static final BackgroundStartPrivileges ALLOW_BAL = new BackgroundStartPrivileges( field in BackgroundStartPrivileges64 return ALLOW_BAL; in allowBackgroundActivityStarts()109 return ALLOW_BAL; in merge()
369 ? BackgroundStartPrivileges.ALLOW_BAL in getBackgroundStartPrivilegesAllowedByCaller()393 return BackgroundStartPrivileges.ALLOW_BAL; in getDefaultBackgroundStartPrivileges()
1221 return BackgroundStartPrivileges.ALLOW_BAL; in getBackgroundStartPrivilegesWithExclusiveToken()
14675 backgroundStartPrivileges = BackgroundStartPrivileges.ALLOW_BAL; in broadcastIntentLockedTraced()
660 doReturn(BackgroundStartPrivileges.ALLOW_BAL) in testHasImmediacyPrivilege()
1510 .setBackgroundStartPrivileges(BackgroundStartPrivileges.ALLOW_BAL) in startDreamActivityInternal()1661 .setBackgroundStartPrivileges(BackgroundStartPrivileges.ALLOW_BAL) in startActivityAsCaller()1707 .setBackgroundStartPrivileges(BackgroundStartPrivileges.ALLOW_BAL) in startVoiceActivity()1734 .setBackgroundStartPrivileges(BackgroundStartPrivileges.ALLOW_BAL) in startAssistantActivity()
1039 BackgroundStartPrivileges.ALLOW_BAL); in runAndVerifyBackgroundActivityStartsSubtest()