Home
last modified time | relevance | path

Searched refs:enforceAnyPermissionOf (Results 1 – 7 of 7) sorted by relevance

/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DPermissionUtilsTest.kt29 import com.android.net.module.util.PermissionUtils.enforceAnyPermissionOf
52 enforceAnyPermissionOf(context, TEST_PERMISSION1, TEST_PERMISSION2) in testEnforceAnyPermissionOf()
57 enforceAnyPermissionOf(context, TEST_PERMISSION1, TEST_PERMISSION2) in testEnforceAnyPermissionOf()
62 enforceAnyPermissionOf(context, TEST_PERMISSION1, TEST_PERMISSION2) } in testEnforceAnyPermissionOf()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DPermissionUtils.java50 public static void enforceAnyPermissionOf(@NonNull Context context, in enforceAnyPermissionOf() method in PermissionUtils
81 enforceAnyPermissionOf(context, permissions.toArray(new String[0])); in enforceNetworkStackPermissionOr()
/frameworks/base/services/core/java/com/android/server/
DVcnManagementService.java786 PermissionUtils.enforceAnyPermissionOf( in addVcnUnderlyingNetworkPolicyListener()
814 PermissionUtils.enforceAnyPermissionOf( in removeVcnUnderlyingNetworkPolicyListener()
868 PermissionUtils.enforceAnyPermissionOf( in getUnderlyingNetworkPolicy()
DVpnManagerService.java21 import static com.android.net.module.util.PermissionUtils.enforceAnyPermissionOf;
942 enforceAnyPermissionOf(mContext, in enforceSettingsPermission()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java1980 private void enforceAnyPermissionOf(String... permissions) {
2001 enforceAnyPermissionOf(NETWORK_STATS_PROVIDER,
DNetworkPolicyManagerService.java2967 private void enforceAnyPermissionOf(String... permissions) {
2979 enforceAnyPermissionOf(CONNECTIVITY_INTERNAL, OBSERVE_NETWORK_POLICY);
2989 enforceAnyPermissionOf(CONNECTIVITY_INTERNAL, OBSERVE_NETWORK_POLICY);
/frameworks/base/services/
Dart-profile25473 HSPLcom/android/server/net/NetworkPolicyManagerService;->enforceAnyPermissionOf([Ljava/lang/String;…
25825 HSPLcom/android/server/net/NetworkStatsService;->enforceAnyPermissionOf([Ljava/lang/String;)V