Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DSoftRestrictedPermissionPolicy.java49 public abstract class SoftRestrictedPermissionPolicy { class
55 private static final SoftRestrictedPermissionPolicy DUMMY_POLICY =
56 new SoftRestrictedPermissionPolicy() {
125 public static @NonNull SoftRestrictedPermissionPolicy forPermission(@NonNull Context context, in forPermission()
178 return new SoftRestrictedPermissionPolicy() { in forPermission()
226 return new SoftRestrictedPermissionPolicy() { in forPermission()
DPermissionPolicyService.java161 SoftRestrictedPermissionPolicy policy = in onStart()
162 SoftRestrictedPermissionPolicy.forPermission(null, null, null, in onStart()
583 final SoftRestrictedPermissionPolicy policy = in addOpIfRestricted()
584 SoftRestrictedPermissionPolicy.forPermission(mContext, pkg.applicationInfo, in addOpIfRestricted()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java102 import com.android.server.policy.SoftRestrictedPermissionPolicy;
2158 if (bp.isSoftRestricted() && !SoftRestrictedPermissionPolicy.forPermission(mContext, in grantRuntimePermission()