/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/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/om/ |
D | IdmapManager.java | 93 boolean enforce = enforceOverlayable(overlayPackage); in createIdmap() 94 if (mIdmap2Service.verifyIdmap(overlayPath, policies, enforce, userId)) { in createIdmap() 97 return mIdmap2Service.createIdmap(targetPath, overlayPath, policies, enforce, in createIdmap()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1359 private void setVpnForcedLocked(boolean enforce) { in setVpnForcedLocked() argument 1370 if (enforce) { in setVpnForcedLocked() 1406 private boolean setAllowOnlyVpnForUids(boolean enforce, Collection<UidRange> ranges) { in setAllowOnlyVpnForUids() argument 1412 mNetd.setAllowOnlyVpnForUids(enforce, rangesArray); in setAllowOnlyVpnForUids() 1414 Log.e(TAG, "Updating blocked=" + enforce in setAllowOnlyVpnForUids() 1418 if (enforce) { in setAllowOnlyVpnForUids()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | descriptor.h | 1522 void EnforceWeakDependencies(bool enforce) { enforce_weak_ = enforce; } in EnforceWeakDependencies() argument
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBRootObject.m | 128 // This must be done in initialize to enforce thread safety of start up of
|
D | GPBMessage.m | 762 // This must be done in initialize to enforce thread safety of start up of
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 1888 private void enforce( in enforce() method in ContextImpl 1905 enforce(permission, in enforcePermission() 1914 enforce(permission, in enforceCallingPermission() 1924 enforce(permission, in enforceCallingOrSelfPermission()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 435 * but there will be a tool to enforce this restriction).
|