Searched refs:PERMISSION_MAINLINE_NETWORK_STACK (Results 1 – 10 of 10) sorted by relevance
21 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()
43 public static final String PERMISSION_MAINLINE_NETWORK_STACK = field in NetworkStack73 permissions.add(PERMISSION_MAINLINE_NETWORK_STACK); in checkNetworkStackPermissionOr()
4140 @RequiresPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK)4155 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK,
19 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()
484 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, uid) in checkMainlineNetworkStackPermission()
1947 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()
685 NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, MANAGED_PROFILE_UID)) in testEnforceCanAccessScanResults_LocationModeDisabledHasMainlineNetworkStack()
1350 …method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void…1414 …field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_…
4013 …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_…
384 if (NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK.equals(permission)) return; in enforceCallingOrSelfPermission()