Searched refs:NET_CAPABILITY_FOREGROUND (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkRequest.java | 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND; 188 NET_CAPABILITY_FOREGROUND,
|
D | NetworkCapabilities.java | 252 NET_CAPABILITY_FOREGROUND, 390 public static final int NET_CAPABILITY_FOREGROUND = 19; field in NetworkCapabilities 518 | (1 << NET_CAPABILITY_FOREGROUND) 557 | (1 << NET_CAPABILITY_FOREGROUND) 2127 case NET_CAPABILITY_FOREGROUND: return "FOREGROUND"; in capabilityNameOf()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 180 || c == NetworkCapabilities.NET_CAPABILITY_FOREGROUND in isRequestableCapability() 267 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_FOREGROUND, "[FOREGROUND]"); in sCapabilityNames.put() argument
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 25 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND; 495 nc.addCapability(NET_CAPABILITY_FOREGROUND); in testConnectivityManagedCapabilities() 497 nc.removeCapability(NET_CAPABILITY_FOREGROUND); in testConnectivityManagedCapabilities()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 49 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND; 2075 .hasCapability(NET_CAPABILITY_FOREGROUND)); 2078 nc.hasCapability(NET_CAPABILITY_FOREGROUND));
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 62 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND; 2276 nc.addCapability(NET_CAPABILITY_FOREGROUND); in restrictBackgroundRequestForCaller() 5150 if (!nai.networkCapabilities.hasCapability(NET_CAPABILITY_FOREGROUND)) { in queryUserAccess() 7189 if (!nc.hasCapability(NET_CAPABILITY_FOREGROUND)) { in getNetworkPermission() 7330 newNc.removeCapability(NET_CAPABILITY_FOREGROUND); in mixInCapabilities() 7332 newNc.addCapability(NET_CAPABILITY_FOREGROUND); in mixInCapabilities() 8482 networkAgent.networkCapabilities.addCapability(NET_CAPABILITY_FOREGROUND); in updateNetworkInfo()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 79 import static android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND; 2191 .addCapability(NET_CAPABILITY_FOREGROUND).build(), fgMobileListenCallback); in testNewNetworkInactive_bgNetwork() 2997 callback.expectCapabilitiesWithout(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent, in testNetworkGoesIntoBackgroundAfterLinger() 4588 return nc.hasCapability(NET_CAPABILITY_FOREGROUND); in isForegroundNetwork() 4603 .addCapability(NET_CAPABILITY_FOREGROUND).build(); in testBackgroundNetworks() 4633 callback.expectCapabilitiesWithout(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent); in testBackgroundNetworks() 4646 cellCallback.expectCapabilitiesWith(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent); in testBackgroundNetworks() 4647 callback.expectCapabilitiesWith(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent); in testBackgroundNetworks() 4656 callback.expectCapabilitiesWithout(NET_CAPABILITY_FOREGROUND, mCellNetworkAgent); in testBackgroundNetworks()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 310 field public static final int NET_CAPABILITY_FOREGROUND = 19; // 0x13
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 672 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_FOREGROUND:I
|