Home
last modified time | relevance | path

Searched refs:enforce (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/os/storage/
DStorageManager.java1630 public static boolean checkPermissionAndAppOp(Context context, boolean enforce, in checkPermissionAndAppOp() argument
1632 return checkPermissionAndAppOp(context, enforce, pid, uid, packageName, permission, op, in checkPermissionAndAppOp()
1640 public static boolean checkPermissionAndCheckOp(Context context, boolean enforce, in checkPermissionAndCheckOp() argument
1642 return checkPermissionAndAppOp(context, enforce, pid, uid, packageName, permission, op, in checkPermissionAndCheckOp()
1650 private static boolean checkPermissionAndAppOp(Context context, boolean enforce, in checkPermissionAndAppOp() argument
1653 if (enforce) { in checkPermissionAndAppOp()
1669 if (enforce) { in checkPermissionAndAppOp()
1683 if (enforce) { in checkPermissionAndAppOp()
1696 private boolean checkPermissionAndAppOp(boolean enforce, in checkPermissionAndAppOp() argument
1698 return checkPermissionAndAppOp(mContext, enforce, pid, uid, packageName, permission, op); in checkPermissionAndAppOp()
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DIdmapDaemon.java106 String createIdmap(String targetPath, String overlayPath, int policies, boolean enforce, in createIdmap() argument
109 return mService.createIdmap(targetPath, overlayPath, policies, enforce, userId); in createIdmap()
119 boolean verifyIdmap(String overlayPath, int policies, boolean enforce, int userId) in verifyIdmap() argument
122 return mService.verifyIdmap(overlayPath, policies, enforce, userId); in verifyIdmap()
DIdmapManager.java83 boolean enforce = enforceOverlayable(overlayPackage); in createIdmap()
84 if (mIdmapDaemon.verifyIdmap(overlayPath, policies, enforce, userId)) { in createIdmap()
88 enforce, userId) != null; in createIdmap()
/frameworks/base/tests/testables/src/android/testing/
DTestablePermissions.java69 public void enforce(String permission) { in enforce() method in TestablePermissions
75 public void enforce(Uri uri, int modeFlags) { in enforce() method in TestablePermissions
DTestableContext.java358 mTestablePermissions.enforce(permission); in enforceCallingOrSelfPermission()
367 mTestablePermissions.enforce(permission); in enforceCallingPermission()
376 mTestablePermissions.enforce(permission); in enforcePermission()
401 mTestablePermissions.enforce(uri, modeFlags); in enforceCallingOrSelfUriPermission()
435 mTestablePermissions.enforce(uri, modeFlags); in enforceCallingUriPermission()
444 mTestablePermissions.enforce(uri, modeFlags); in enforceUriPermission()
454 mTestablePermissions.enforce(uri, modeFlags); in enforceUriPermission()
/frameworks/base/services/core/java/com/android/server/compat/
DCompatConfig.java164 allowedState.enforce(changeId, packageName); in addOverride()
249 allowedState.enforce(changeId, packageName); in removeOverride()
300 allowedState.enforce(change.getId(), packageName); in removePackageOverrides()
/frameworks/base/core/java/com/android/internal/compat/
DOverrideAllowedState.java105 public void enforce(long changeId, String packageName) in enforce() method in OverrideAllowedState
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1496 private void setVpnForcedLocked(boolean enforce) {
1507 if (enforce) {
1553 private boolean setAllowOnlyVpnForUids(boolean enforce, Collection<UidRange> ranges) {
1559 mNetd.setAllowOnlyVpnForUids(enforce, rangesArray);
1561 Log.e(TAG, "Updating blocked=" + enforce
1565 if (enforce) {
/frameworks/base/core/java/android/app/
DContextImpl.java1937 private void enforce( in enforce() method in ContextImpl
1954 enforce(permission, in enforcePermission()
1963 enforce(permission, in enforceCallingPermission()
1973 enforce(permission, in enforceCallingOrSelfPermission()
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t526 * application should enforce the ordering by ensuring that one execution
/frameworks/base/cmds/statsd/src/
Datoms.proto489 * but there will be a tool to enforce this restriction).
/frameworks/base/config/
Dboot-image-profile.txt1187 HSPLandroid/app/ContextImpl;->enforce(Ljava/lang/String;IZILjava/lang/String;)V
Dhiddenapi-greylist-max-o.txt4656 Landroid/app/ContextImpl;->enforce(Ljava/lang/String;IZILjava/lang/String;)V