Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DPermissionUtilsTest.kt28 import com.android.net.module.util.PermissionUtils.enforceAnyPermissionOf
82 enforceAnyPermissionOf(mockContext, TEST_PERMISSION1, TEST_PERMISSION2) in testEnforceAnyPermissionOf()
89 enforceAnyPermissionOf(mockContext, TEST_PERMISSION1, TEST_PERMISSION2) in testEnforceAnyPermissionOf()
94 enforceAnyPermissionOf(mockContext, TEST_PERMISSION1, TEST_PERMISSION2) in testEnforceAnyPermissionOf()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DPermissionUtils.java78 public static void enforceAnyPermissionOf(@NonNull Context context, in enforceAnyPermissionOf() method in PermissionUtils
109 enforceAnyPermissionOf(context, permissions.toArray(new String[0])); in enforceNetworkStackPermissionOr()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1117 private void enforceAnyPermissionOf(String... permissions) { in enforceAnyPermissionOf() method in WifiServiceImpl
7602 enforceAnyPermissionOf(android.Manifest.permission.NETWORK_SETTINGS,
7843 enforceAnyPermissionOf(android.Manifest.permission.NETWORK_SETTINGS,
7858 enforceAnyPermissionOf(android.Manifest.permission.NETWORK_SETTINGS,
8110 enforceAnyPermissionOf(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION);
8130 enforceAnyPermissionOf(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION);
8644 enforceAnyPermissionOf(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION);
8672 enforceAnyPermissionOf(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION);
8708 enforceAnyPermissionOf(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION);
8728 enforceAnyPermissionOf(android.Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION);
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java131 import static com.android.net.module.util.PermissionUtils.enforceAnyPermissionOf;
3725 enforceAnyPermissionOf(mContext,
3731 enforceAnyPermissionOf(mContext,
3741 enforceAnyPermissionOf(mContext,
3749 enforceAnyPermissionOf(mContext,
3758 enforceAnyPermissionOf(mContext,
8843 enforceAnyPermissionOf(mContext, Manifest.permission.MANAGE_TEST_NETWORKS);
11678 enforceAnyPermissionOf(mContext, android.Manifest.permission.NETWORK_SETTINGS,
12547 enforceAnyPermissionOf(mContext,
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java3354 PermissionUtils.enforceAnyPermissionOf(mContext, NETWORK_STATS_PROVIDER,
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java777 private void enforceAnyPermissionOf(String... permissions) { in enforceAnyPermissionOf() method in WifiP2pServiceImpl
785 enforceAnyPermissionOf( in enforceNetworkStackOrLocationHardwarePermission()