Searched refs:NET_CAPABILITY_FOREGROUND (Results 1 – 8 of 8) sorted by relevance
166 NET_CAPABILITY_FOREGROUND,297 public static final int NET_CAPABILITY_FOREGROUND = 19; field in NetworkCapabilities362 | (1 << NET_CAPABILITY_FOREGROUND)426 | (1 << NET_CAPABILITY_FOREGROUND)1910 case NET_CAPABILITY_FOREGROUND: return "FOREGROUND"; in capabilityNameOf()
60 // NET_CAPABILITY_FOREGROUND capability. A network with no foreground
114 NET_CAPABILITY_FOREGROUND = 19; enumerator
25 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND;408 nc.addCapability(NET_CAPABILITY_FOREGROUND); in testConnectivityManagedCapabilities()410 nc.removeCapability(NET_CAPABILITY_FOREGROUND); in testConnectivityManagedCapabilities()
51 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND;2222 callback.expectCapabilitiesWithout(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent, in testNetworkGoesIntoBackgroundAfterLinger()3303 return nc.hasCapability(NET_CAPABILITY_FOREGROUND); in isForegroundNetwork()3314 .addCapability(NET_CAPABILITY_FOREGROUND).build(); in testBackgroundNetworks()3344 callback.expectCapabilitiesWithout(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent); in testBackgroundNetworks()3357 cellCallback.expectCapabilitiesWith(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent); in testBackgroundNetworks()3358 callback.expectCapabilitiesWith(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent); in testBackgroundNetworks()3367 callback.expectCapabilitiesWithout(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent); in testBackgroundNetworks()
41 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND;1759 nc.addCapability(NET_CAPABILITY_FOREGROUND); in restrictBackgroundRequestForCaller()6244 if (!nc.hasCapability(NET_CAPABILITY_FOREGROUND)) { in getNetworkPermission()6299 newNc.removeCapability(NET_CAPABILITY_FOREGROUND); in mixInCapabilities()6301 newNc.addCapability(NET_CAPABILITY_FOREGROUND); in mixInCapabilities()7170 networkAgent.networkCapabilities.addCapability(NET_CAPABILITY_FOREGROUND); in updateNetworkInfo()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
30264 field public static final int NET_CAPABILITY_FOREGROUND = 19; // 0x13