Searched refs:SoftRestrictedPermissionPolicy (Results 1 – 3 of 3) sorted by relevance
49 public abstract class SoftRestrictedPermissionPolicy { class55 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()
161 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()
102 import com.android.server.policy.SoftRestrictedPermissionPolicy;2158 if (bp.isSoftRestricted() && !SoftRestrictedPermissionPolicy.forPermission(mContext, in grantRuntimePermission()