Searched refs:MODE_FOREGROUND (Results 1 – 8 of 8) sorted by relevance
442 case AppOpsManager.MODE_FOREGROUND: { in checkAppOpPermission()475 case AppOpsManager.MODE_FOREGROUND: in checkRuntimePermission()
20 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()
23 import static android.app.AppOpsManager.MODE_FOREGROUND;343 mAppOpsService.setMode(OP_COARSE_LOCATION, mMyUid, sMyPackageName, MODE_FOREGROUND); in setupProcStateTests()
32 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()
349 MODE_FOREGROUND396 public static final int MODE_FOREGROUND = 4; field in AppOpsManager7618 return mode == AppOpsManager.MODE_FOREGROUND ? AppOpsManager.MODE_ALLOWED : mode; in checkOpNoThrow()
1723 case AppOpsManager.MODE_FOREGROUND: return FrameworkStatsLog in modeToEnum()
3751 MODE_FOREGROUND = 3; // Allow-while-in-use (or allowed-one-time) enumerator
4398 field public static final int MODE_FOREGROUND = 4; // 0x4