Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND;
279 NET_CAPABILITY_FOREGROUND,
DNetworkCapabilities.java447 NET_CAPABILITY_FOREGROUND,
590 public static final int NET_CAPABILITY_FOREGROUND = 19; field in NetworkCapabilities
783 (1L << NET_CAPABILITY_FOREGROUND) |
831 (1L << NET_CAPABILITY_FOREGROUND) |
2620 case NET_CAPABILITY_FOREGROUND: return "FOREGROUND"; in capabilityNameOf()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java179 || c == NetworkCapabilities.NET_CAPABILITY_FOREGROUND in isRequestableCapability()
263 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_FOREGROUND, "[FOREGROUND]"); in sCapabilityNames.put() argument
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java27 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND;
578 nc.addCapability(NET_CAPABILITY_FOREGROUND); in testConnectivityManagedCapabilities()
580 nc.removeCapability(NET_CAPABILITY_FOREGROUND); in testConnectivityManagedCapabilities()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java381 case NetworkCapabilities.NET_CAPABILITY_FOREGROUND: in networkCapabilityToString()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java80 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND;
2468 .hasCapability(NET_CAPABILITY_FOREGROUND));
2471 nc.hasCapability(NET_CAPABILITY_FOREGROUND));
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java77 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND;
3132 nc.addCapability(NET_CAPABILITY_FOREGROUND);
7000 if (!nai.networkCapabilities.hasCapability(NET_CAPABILITY_FOREGROUND)) {
9434 if (!nc.hasCapability(NET_CAPABILITY_FOREGROUND)) {
9559 newNc.removeCapability(NET_CAPABILITY_FOREGROUND);
9561 newNc.addCapability(NET_CAPABILITY_FOREGROUND);
11201 networkAgent.networkCapabilities.addCapability(NET_CAPABILITY_FOREGROUND);
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java105 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND;
2818 .addCapability(NET_CAPABILITY_FOREGROUND).build(), fgMobileListenCallback);
3886 c -> !c.hasCapability(NET_CAPABILITY_FOREGROUND));
5807 return nc.hasCapability(NET_CAPABILITY_FOREGROUND);
5822 .addCapability(NET_CAPABILITY_FOREGROUND).build();
5852 callback.expectCaps(mCellAgent, c -> !c.hasCapability(NET_CAPABILITY_FOREGROUND));
5865 cellCallback.expectCaps(mCellAgent, c -> c.hasCapability(NET_CAPABILITY_FOREGROUND));
5866 callback.expectCaps(mCellAgent, c -> c.hasCapability(NET_CAPABILITY_FOREGROUND));
5875 callback.expectCaps(mCellAgent, c -> !c.hasCapability(NET_CAPABILITY_FOREGROUND));
/packages/modules/Connectivity/framework/api/
Dcurrent.txt330 field public static final int NET_CAPABILITY_FOREGROUND = 19; // 0x13
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt672 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_FOREGROUND:I