Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java20 import static android.app.AppOpsManager.MODE_FOREGROUND;
756 appOpMode = shouldGrantBackgroundAppOp ? MODE_ALLOWED : MODE_FOREGROUND; in addPermissionAppOp()
770 case MODE_FOREGROUND: in addPermissionAppOp()
883 setUidMode(opCode, uid, MODE_FOREGROUND, packageName); in setUidModeForeground()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java21 import static android.app.AppOpsManager.MODE_FOREGROUND;
336 mAppOpsService.setMode(OP_COARSE_LOCATION, mMyUid, sMyPackageName, MODE_FOREGROUND); in setupProcStateTests()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java440 case AppOpsManager.MODE_FOREGROUND: in checkCallingOrSelfUseIccAuthWithDeviceIdentifier()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java37 import static android.app.AppOpsManager.MODE_FOREGROUND;
579 if (mode == MODE_FOREGROUND) { in evalMode()
647 if (opModes.valueAt(i) == AppOpsManager.MODE_FOREGROUND) { in evalForegroundOps()
659 if (ops.valueAt(j).mode == AppOpsManager.MODE_FOREGROUND) { in evalForegroundOps()
2727 && mode != AppOpsManager.MODE_FOREGROUND; in updatePermissionRevokedCompat()
4434 && uidState.opModes.get(code) == AppOpsManager.MODE_FOREGROUND) { in commitUidPendingStateLocked()
4452 if (op.mode == AppOpsManager.MODE_FOREGROUND) { in commitUidPendingStateLocked()
6274 || dumpMode == AppOpsManager.MODE_FOREGROUND)) { in dump()
6570 if (op == null || (op.mode != MODE_ALLOWED && op.mode != MODE_FOREGROUND)) {
/frameworks/base/core/java/android/app/
DAppOpsManager.java374 MODE_FOREGROUND
421 public static final int MODE_FOREGROUND = 4; field in AppOpsManager
8539 return mode == AppOpsManager.MODE_FOREGROUND ? AppOpsManager.MODE_ALLOWED : mode; in checkOpNoThrow()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java2507 case AppOpsManager.MODE_FOREGROUND: return FrameworkStatsLog in modeToEnum()
/frameworks/proto_logging/stats/
Datoms.proto4458 MODE_FOREGROUND = 3; // Allow-while-in-use (or allowed-one-time) enumerator
/frameworks/base/core/api/
Dcurrent.txt4556 field public static final int MODE_FOREGROUND = 4; // 0x4