Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_NOT_ROAMING (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java30 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 …]
DNetworkProviderTest.kt120 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in <lambda>()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java21 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()
DVpnTest.java27 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/
DGnssNetworkConnectivityHandler.java125 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/
DNetworkState.java57 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING)) { in NetworkState()
DNetworkCapabilities.java165 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()
DNetworkIdentity.java193 NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in buildNetworkIdentity()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java19 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/
DTetheringNotificationUpdaterTest.kt32 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/
DJobInfo.java21 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/
DNetworkTemplateTest.kt69 setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, true) in buildMobileNetworkState()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java24 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
270 !nc.hasCapability(NET_CAPABILITY_NOT_ROAMING), in getTemplateMatchingNetworkIdentity()
DVpn.java23 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/
DEthernetTracker.java467 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/
Dnetworkcapabilities.proto110 NET_CAPABILITY_NOT_ROAMING = 18; enumerator
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java1455 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/
DConnectivityService.java45 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/
DNetworkPolicyManagerServiceTest.java21 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/
DWifiAwareDataPathStateManager.java151 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in start()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java51 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/
DWifiAwareDataPathStateManagerTest.java1713 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in getDirectNetworkRequestMore()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1437 result.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, in getNetworkCapabilities()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java844 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in ClientModeImpl()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java4838 mCellNetworkAgent.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in testStatsIfacesChanged()

12