Searched refs:enforce (Results 1 – 2 of 2) sorted by relevance
1053 private void setVpnForcedLocked(boolean enforce) { in setVpnForcedLocked() argument1055 if (enforce) { in setVpnForcedLocked()1081 private boolean setAllowOnlyVpnForUids(boolean enforce, Collection<UidRange> ranges) { in setAllowOnlyVpnForUids() argument1087 mNetd.setAllowOnlyVpnForUids(enforce, rangesArray); in setAllowOnlyVpnForUids()1089 Log.e(TAG, "Updating blocked=" + enforce in setAllowOnlyVpnForUids()1093 if (enforce) { in setAllowOnlyVpnForUids()
1731 private void enforce( in enforce() method in ContextImpl1748 enforce(permission, in enforcePermission()1757 enforce(permission, in enforceCallingPermission()1767 enforce(permission, in enforceCallingOrSelfPermission()