Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1053 private void setVpnForcedLocked(boolean enforce) { in setVpnForcedLocked() argument
1055 if (enforce) { in setVpnForcedLocked()
1081 private boolean setAllowOnlyVpnForUids(boolean enforce, Collection<UidRange> ranges) { in setAllowOnlyVpnForUids() argument
1087 mNetd.setAllowOnlyVpnForUids(enforce, rangesArray); in setAllowOnlyVpnForUids()
1089 Log.e(TAG, "Updating blocked=" + enforce in setAllowOnlyVpnForUids()
1093 if (enforce) { in setAllowOnlyVpnForUids()
/frameworks/base/core/java/android/app/
DContextImpl.java1731 private void enforce( in enforce() method in ContextImpl
1748 enforce(permission, in enforcePermission()
1757 enforce(permission, in enforceCallingPermission()
1767 enforce(permission, in enforceCallingOrSelfPermission()