Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DGrantPermissionsViewModel.kt262 val (groupName, isBackground) = key in <lambda>() constant
306 if (isBackground || groupState.group.hasPermWithBackgroundMode) { in <lambda>()
365 if (isBackground || groupState.group.hasPermWithBackgroundMode) { in <lambda>()
515 val isBackground = perm in group.backgroundPermNames in <lambda>() constant
516 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>() constant
650 if (isBackground && !group.foreground.isGranted && !hasForegroundRequest) { in <lambda>()
661 if (isBackground && group.background.isGranted || in <lambda>()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DTextureUploader.java70 int uploadQuota, boolean isBackground) { in upload() argument
88 if (isBackground) t.draw(canvas, 0, 0); in upload()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryChartPreferenceController.java542 private String buildUsageTimeInfo(long usageTimeInMs, boolean isBackground) { in buildUsageTimeInfo() argument
545 isBackground in buildUsageTimeInfo()
553 isBackground in buildUsageTimeInfo()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt523 private val isBackground: Boolean, in <lambda>() constant in com.android.permissioncontroller.permission.service.Grant
535 if (isBackground) { in <lambda>()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java325 if (isBackground(state.state)) { in assertBackgroundState()
342 if (!isBackground(state.state)) { in assertForegroundState()
373 protected boolean isBackground(int state) { in isBackground() method in AbstractRestrictBackgroundNetworkTestCase