Home
last modified time | relevance | path

Searched refs:MODE_FOREGROUND (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/content/
DPermissionChecker.java442 case AppOpsManager.MODE_FOREGROUND: { in checkAppOpPermission()
475 case AppOpsManager.MODE_FOREGROUND: in checkRuntimePermission()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java20 import static android.app.AppOpsManager.MODE_FOREGROUND;
723 appOpMode = shouldGrantBackgroundAppOp ? MODE_ALLOWED : MODE_FOREGROUND; in addPermissionAppOp()
737 case MODE_FOREGROUND: in addPermissionAppOp()
850 setUidMode(opCode, uid, MODE_FOREGROUND, packageName); in setUidModeForeground()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java23 import static android.app.AppOpsManager.MODE_FOREGROUND;
343 mAppOpsService.setMode(OP_COARSE_LOCATION, mMyUid, sMyPackageName, MODE_FOREGROUND); in setupProcStateTests()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java32 import static android.app.AppOpsManager.MODE_FOREGROUND;
535 if (mode == MODE_FOREGROUND) { in evalMode()
623 if (opModes.valueAt(i) == AppOpsManager.MODE_FOREGROUND) { in evalForegroundOps()
635 if (ops.valueAt(j).mode == AppOpsManager.MODE_FOREGROUND) { in evalForegroundOps()
2384 && mode != AppOpsManager.MODE_FOREGROUND; in updatePermissionRevokedCompat()
3744 && uidState.opModes.get(code) == AppOpsManager.MODE_FOREGROUND) { in commitUidPendingStateLocked()
3762 if (op.mode == AppOpsManager.MODE_FOREGROUND) { in commitUidPendingStateLocked()
5479 || dumpMode == AppOpsManager.MODE_FOREGROUND)) { in dump()
/frameworks/base/core/java/android/app/
DAppOpsManager.java349 MODE_FOREGROUND
396 public static final int MODE_FOREGROUND = 4; field in AppOpsManager
7618 return mode == AppOpsManager.MODE_FOREGROUND ? AppOpsManager.MODE_ALLOWED : mode; in checkOpNoThrow()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java1723 case AppOpsManager.MODE_FOREGROUND: return FrameworkStatsLog in modeToEnum()
/frameworks/base/cmds/statsd/src/
Datoms.proto3751 MODE_FOREGROUND = 3; // Allow-while-in-use (or allowed-one-time) enumerator
/frameworks/base/api/
Dcurrent.txt4398 field public static final int MODE_FOREGROUND = 4; // 0x4