/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 1630 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/ |
D | IdmapDaemon.java | 106 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()
|
D | IdmapManager.java | 83 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/ |
D | TestablePermissions.java | 69 public void enforce(String permission) { in enforce() method in TestablePermissions 75 public void enforce(Uri uri, int modeFlags) { in enforce() method in TestablePermissions
|
D | TestableContext.java | 358 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/ |
D | CompatConfig.java | 164 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/ |
D | OverrideAllowedState.java | 105 public void enforce(long changeId, String packageName) in enforce() method in OverrideAllowedState
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1496 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/ |
D | ContextImpl.java | 1937 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/ |
D | NeuralNetworks.t | 526 * application should enforce the ordering by ensuring that one execution
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 489 * but there will be a tool to enforce this restriction).
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 1187 HSPLandroid/app/ContextImpl;->enforce(Ljava/lang/String;IZILjava/lang/String;)V
|
D | hiddenapi-greylist-max-o.txt | 4656 Landroid/app/ContextImpl;->enforce(Ljava/lang/String;IZILjava/lang/String;)V
|