Searched refs:isBackground (Results 1 – 5 of 5) sorted by relevance
262 val (groupName, isBackground) = key in <lambda>() constant306 if (isBackground || groupState.group.hasPermWithBackgroundMode) { in <lambda>()365 if (isBackground || groupState.group.hasPermWithBackgroundMode) { in <lambda>()515 val isBackground = perm in group.backgroundPermNames in <lambda>() constant516 val groupStateInfo = groupStates.getOrPut(group.permGroupName to isBackground) { in <lambda>()517 GroupState(group, isBackground) in <lambda>()523 isBackground), STATE_UNKNOWN) in <lambda>()642 val isBackground = perm in group.backgroundPermNames in <lambda>() constant650 if (isBackground && !group.foreground.isGranted && !hasForegroundRequest) { in <lambda>()661 if (isBackground && group.background.isGranted || in <lambda>()[all …]
70 int uploadQuota, boolean isBackground) { in upload() argument88 if (isBackground) t.draw(canvas, 0, 0); in upload()
542 private String buildUsageTimeInfo(long usageTimeInMs, boolean isBackground) { in buildUsageTimeInfo() argument545 isBackground in buildUsageTimeInfo()553 isBackground in buildUsageTimeInfo()
523 private val isBackground: Boolean, in <lambda>() constant in com.android.permissioncontroller.permission.service.Grant535 if (isBackground) { in <lambda>()
325 if (isBackground(state.state)) { in assertBackgroundState()342 if (!isBackground(state.state)) { in assertForegroundState()373 protected boolean isBackground(int state) { in isBackground() method in AbstractRestrictBackgroundNetworkTestCase