Home
last modified time | relevance | path

Searched refs:enforce (Results 1 – 10 of 10) 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/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/om/
DIdmapManager.java93 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/
DVpn.java1359 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/
Ddescriptor.h1522 void EnforceWeakDependencies(bool enforce) { enforce_weak_ = enforce; } in EnforceWeakDependencies() argument
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBRootObject.m128 // This must be done in initialize to enforce thread safety of start up of
DGPBMessage.m762 // This must be done in initialize to enforce thread safety of start up of
/frameworks/base/core/java/android/app/
DContextImpl.java1888 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/
Datoms.proto435 * but there will be a tool to enforce this restriction).