Searched refs:MODE_FOREGROUND (Results 1 – 3 of 3) sorted by relevance
22 import static android.app.AppOpsManager.MODE_FOREGROUND;282 appOpAllowed = appOpsMode == MODE_ALLOWED || appOpsMode == MODE_FOREGROUND; in create()729 wasChanged = setAppOpMode(permission.getAppOp(), uid, MODE_FOREGROUND); in allowAppOp()734 wasChanged = setAppOpMode(permission.getAppOp(), uid, MODE_FOREGROUND); in allowAppOp()922 MODE_FOREGROUND); in disallowAppOp()
285 return appOpMode == AppOpsManager.MODE_FOREGROUND in isPermissionAndAppOpGranted()334 appOpMode = AppOpsManager.MODE_FOREGROUND; in grantPermissionAndAppOp()506 if (!isRuntimePermissionsSupported && (appOpMode == AppOpsManager.MODE_FOREGROUND in revokePermissionAndAppOp()532 AppOpsManager.MODE_FOREGROUND, context); in revokePermissionAndAppOp()
101 sModeNameToMode.put(MODE_NAME_FOREGROUND, AppOpsManager.MODE_FOREGROUND); in sModeNameToMode.put() argument