/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 30 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 487 nc1.addCapability(NET_CAPABILITY_NOT_ROAMING); in testCombineCapabilities() 491 assertTrue(nc2.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testCombineCapabilities() 495 nc1.addUnwantedCapability(NET_CAPABILITY_NOT_ROAMING); in testCombineCapabilities() 500 assertTrue(nc2.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testCombineCapabilities() 501 assertTrue(nc2.hasUnwantedCapability(NET_CAPABILITY_NOT_ROAMING)); in testCombineCapabilities() 654 nc1.addCapability(NET_CAPABILITY_NOT_ROAMING); in testSet() 658 assertTrue(nc2.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testSet() 662 nc1.addUnwantedCapability(NET_CAPABILITY_NOT_ROAMING); in testSet() 668 assertFalse(nc2.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testSet() [all …]
|
D | NetworkProviderTest.kt | 120 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in <lambda>()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 238 capabilities.addCapability(NET_CAPABILITY_NOT_ROAMING); in testGetMultipathPreference() 251 capabilities.addCapability(NET_CAPABILITY_NOT_ROAMING); in testGetMultipathPreference()
|
D | VpnTest.java | 27 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 610 .addCapability(NET_CAPABILITY_NOT_ROAMING) in testCapabilities() 626 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testCapabilities() 641 assertFalse(caps.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testCapabilities() 653 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testCapabilities() 665 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testCapabilities() 680 assertFalse(caps.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testCapabilities()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssNetworkConnectivityHandler.java | 125 NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in hasCapabilitiesChanged() 138 if (capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING)) { in getCapabilityFlags() 351 NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING), /* isRoaming */
|
/frameworks/base/core/java/android/net/ |
D | NetworkState.java | 57 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING)) { in NetworkState()
|
D | NetworkCapabilities.java | 165 NET_CAPABILITY_NOT_ROAMING, 291 public static final int NET_CAPABILITY_NOT_ROAMING = 18; field in NetworkCapabilities 361 | (1 << NET_CAPABILITY_NOT_ROAMING) 440 | (1 << NET_CAPABILITY_NOT_ROAMING) 1909 case NET_CAPABILITY_NOT_ROAMING: return "NOT_ROAMING"; in capabilityNameOf()
|
D | NetworkIdentity.java | 193 NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in buildNetworkIdentity()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdater.java | 19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 183 && !capabilities.hasCapability(NET_CAPABILITY_NOT_ROAMING); in onUpstreamCapabilitiesChanged()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdaterTest.kt | 32 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING 93 private val HOME_CAPABILITIES = NetworkCapabilities().addCapability(NET_CAPABILITY_NOT_ROAMING)
|
/frameworks/base/core/java/android/app/job/ |
D | JobInfo.java | 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 464 } else if (networkRequest.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_ROAMING)) { in getNetworkType() 1135 builder.addCapability(NET_CAPABILITY_NOT_ROAMING); in setRequiredNetworkType()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkTemplateTest.kt | 69 setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, true) in buildMobileNetworkState()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 24 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 270 !nc.hasCapability(NET_CAPABILITY_NOT_ROAMING), in getTemplateMatchingNetworkIdentity()
|
D | Vpn.java | 23 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 381 roaming |= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_ROAMING); in applyUnderlyingCapabilities() 402 caps.setCapability(NET_CAPABILITY_NOT_ROAMING, !roaming); in applyUnderlyingCapabilities()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetTracker.java | 467 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in createDefaultNetworkCapabilities() 556 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in createNetworkCapabilities()
|
/frameworks/base/core/proto/android/net/ |
D | networkcapabilities.proto | 110 NET_CAPABILITY_NOT_ROAMING = 18; enumerator
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 1455 capabilities.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, true); 1473 capabilities.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, !isRoaming); 1485 capabilities.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, true);
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 45 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 1272 capabilities.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, in getFilteredNetworkState() 6298 newNc.addCapability(NET_CAPABILITY_NOT_ROAMING); in mixInCapabilities() 6337 final boolean prevRoaming = !prevNc.hasCapability(NET_CAPABILITY_NOT_ROAMING); in updateCapabilities() 6338 final boolean roaming = !newNc.hasCapability(NET_CAPABILITY_NOT_ROAMING); in updateCapabilities() 6368 final boolean roamingChanged = prevNc.hasCapability(NET_CAPABILITY_NOT_ROAMING) != in updateCapabilities() 6369 newNc.hasCapability(NET_CAPABILITY_NOT_ROAMING); in updateCapabilities() 7130 newInfo.setRoaming(!nai.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in mixInInfo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 1839 nc.addCapability(NET_CAPABILITY_NOT_ROAMING); in buildNetworkCapabilities()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 151 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in start()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 51 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 1113 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); 1995 if (!state.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_ROAMING)) {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 1713 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in getDirectNetworkRequestMore()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 1437 result.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, in getNetworkCapabilities()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 844 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in ClientModeImpl()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4838 mCellNetworkAgent.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in testStatsIfacesChanged()
|