Home
last modified time | relevance | path

Searched refs:PERMISSION_MAINLINE_NETWORK_STACK (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DNetworkStackTest.java21 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK;
53 when(mCtx.checkCallingOrSelfPermission(eq(PERMISSION_MAINLINE_NETWORK_STACK))) in testCheckNetworkStackPermission()
59 when(mCtx.checkCallingOrSelfPermission(eq(PERMISSION_MAINLINE_NETWORK_STACK))) in testCheckNetworkStackPermission()
/frameworks/base/core/java/android/net/
DNetworkStack.java43 public static final String PERMISSION_MAINLINE_NETWORK_STACK = field in NetworkStack
73 permissions.add(PERMISSION_MAINLINE_NETWORK_STACK); in checkNetworkStackPermissionOr()
DConnectivityManager.java4140 @RequiresPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK)
4155 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK,
/frameworks/base/services/net/java/android/net/
DNetworkStackClient.java19 import static android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK;
333 pm.checkPermission(PERMISSION_MAINLINE_NETWORK_STACK, comp.getPackageName()); in checkNetworkStackPermission()
336 "Network stack does not have permission " + PERMISSION_MAINLINE_NETWORK_STACK); in checkNetworkStackPermission()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java484 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, uid) in checkMainlineNetworkStackPermission()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1947 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceSettingsPermission()
1953 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in checkSettingsPermission()
1960 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, pid, uid); in checkSettingsPermission()
1972 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceConnectivityInternalPermission()
1986 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in enforceNetworkStackSettingsOrSetup()
1992 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in checkNetworkStackPermission()
1998 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK); in checkNetworkSignalStrengthWakeupPermission()
3493 mContext.enforceCallingOrSelfPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, in startCaptivePortalAppInternal()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java685 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, MANAGED_PROFILE_UID)) in testEnforceCanAccessScanResults_LocationModeDisabledHasMainlineNetworkStack()
/frameworks/base/api/
Dtest-current.txt1350 …method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void…
1414 …field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_…
Dsystem-current.txt4013 …method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, "and…
4014 …method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void…
4151 …field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_…
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java384 if (NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK.equals(permission)) return; in enforceCallingOrSelfPermission()