Searched refs:foregroundPermission (Results 1 – 3 of 3) sorted by relevance
201 String foregroundPermission = foregroundPermissions.get(i); in grantSingle() local203 if (isPermissionAndAppOpGranted(packageName, foregroundPermission, context)) { in grantSingle()294 String foregroundPermission = foregroundPermissions.get(i); in isPermissionAndAppOpGranted() local296 String foregroundAppOp = getPermissionAppOp(foregroundPermission); in isPermissionAndAppOpGranted()346 String foregroundPermission = foregroundPermissions.get(i); in grantPermissionAndAppOp() local348 String foregroundAppOp = getPermissionAppOp(foregroundPermission); in grantPermissionAndAppOp()521 String foregroundPermission = foregroundPermissions.get(i); in revokePermissionAndAppOp() local523 if (!isPermissionAndAppOpGranted(packageName, foregroundPermission, context)) { in revokePermissionAndAppOp()527 String foregroundAppOp = getPermissionAppOp(foregroundPermission); in revokePermissionAndAppOp()661 private static String getBackgroundPermission(@NonNull String foregroundPermission, in getBackgroundPermission() argument[all …]
716 Permission foregroundPermission = foregroundPermissions.get(i); in allowAppOp() local717 if (foregroundPermission.isAppOpAllowed()) { in allowAppOp()718 wasChanged |= setAppOpMode(foregroundPermission.getAppOp(), uid, MODE_ALLOWED); in allowAppOp()919 Permission foregroundPermission = foregroundPermissions.get(i); in disallowAppOp() local920 if (foregroundPermission.isAppOpAllowed()) { in disallowAppOp()921 wasChanged |= setAppOpMode(foregroundPermission.getAppOp(), uid, in disallowAppOp()
66 public void addForegroundPermissions(Permission foregroundPermission) { in addForegroundPermissions() argument70 mForegroundPermissions.add(foregroundPermission); in addForegroundPermissions()