Searched refs:NET_CAPABILITY_FOREGROUND (Results 1 – 9 of 9) 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()3311 return nc.hasCapability(NET_CAPABILITY_FOREGROUND); in isForegroundNetwork()3322 .addCapability(NET_CAPABILITY_FOREGROUND).build(); in testBackgroundNetworks()3352 callback.expectCapabilitiesWithout(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent); in testBackgroundNetworks()3365 cellCallback.expectCapabilitiesWith(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent); in testBackgroundNetworks()3366 callback.expectCapabilitiesWith(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent); in testBackgroundNetworks()3375 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()6229 if (!nc.hasCapability(NET_CAPABILITY_FOREGROUND)) { in getNetworkPermission()6284 newNc.removeCapability(NET_CAPABILITY_FOREGROUND); in mixInCapabilities()6286 newNc.addCapability(NET_CAPABILITY_FOREGROUND); in mixInCapabilities()7155 networkAgent.networkCapabilities.addCapability(NET_CAPABILITY_FOREGROUND); in updateNetworkInfo()
29033 field public static final int NET_CAPABILITY_FOREGROUND = 19; // 0x13
29163 field public static final int NET_CAPABILITY_FOREGROUND = 19; // 0x13
44372 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_FOREGROUND:I