Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java22 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()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DPermissions.java285 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()
DRoles.java101 sModeNameToMode.put(MODE_NAME_FOREGROUND, AppOpsManager.MODE_FOREGROUND); in sModeNameToMode.put() argument