Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java30 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
587 nc1.addCapability(NET_CAPABILITY_NOT_ROAMING); in testCombineCapabilities()
591 assertTrue(nc2.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testCombineCapabilities()
598 nc1.addForbiddenCapability(NET_CAPABILITY_NOT_ROAMING); in testCombineCapabilities()
602 nc1.removeForbiddenCapability(NET_CAPABILITY_NOT_ROAMING); in testCombineCapabilities()
781 nc1.addCapability(NET_CAPABILITY_NOT_ROAMING); in testSet()
785 assertTrue(nc2.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testSet()
792 nc1.addForbiddenCapability(NET_CAPABILITY_NOT_ROAMING); in testSet()
800 assertFalse(nc2.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testSet()
801 assertTrue(nc2.hasForbiddenCapability(NET_CAPABILITY_NOT_ROAMING)); in testSet()
DNetworkStateSnapshotTest.kt55 setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, true) in <lambda>()
DNetworkProviderTest.kt161 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in <lambda>()
311 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in <lambda>()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java4 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
102 if (!mIsRoaming) builder.addCapability(NET_CAPABILITY_NOT_ROAMING); in getNetworkCapabilities()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DJobInfoRowArrayAdapter.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
144 } else if (networkRequest.hasCapability(NET_CAPABILITY_NOT_ROAMING)) { in getNetworkType()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
252 capabilities.addCapability(NET_CAPABILITY_NOT_ROAMING); in testGetMultipathPreference()
265 capabilities.addCapability(NET_CAPABILITY_NOT_ROAMING); in testGetMultipathPreference()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java23 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
399 .addCapability(NET_CAPABILITY_NOT_ROAMING).build(); in testBypassingVcn()
464 NET_CAPABILITY_NOT_ROAMING }; in testGetCapabilities()
DNetworkScoreTest.kt112 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in <lambda>()
DNetworkAgentTest.kt39 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING in <lambda>()
408 addCapability(NET_CAPABILITY_NOT_ROAMING) in createNetworkAgent()
717 NET_CAPABILITY_NOT_ROAMING, in testSetUnderlyingNetworksAndVpnSpecifier()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java26 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
193 NET_CAPABILITY_NOT_ROAMING,
DNetworkCapabilities.java251 NET_CAPABILITY_NOT_ROAMING,
384 public static final int NET_CAPABILITY_NOT_ROAMING = 18; field in NetworkCapabilities
517 | (1 << NET_CAPABILITY_NOT_ROAMING)
571 | (1 << NET_CAPABILITY_NOT_ROAMING)
2126 case NET_CAPABILITY_NOT_ROAMING: return "NOT_ROAMING"; in capabilityNameOf()
DNetworkState.java85 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING)) { in NetworkState()
/packages/modules/Connectivity/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()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt32 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING
103 private val HOME_CAPABILITIES = NetworkCapabilities().addCapability(NET_CAPABILITY_NOT_ROAMING)
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactory.java252 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in initNetworkCapabilities()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java179 || c == NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING in isRequestableCapability()
276 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, "[NOT ROAMING]"); in sCapabilityNames.put() argument
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
720 if (!caps.hasCapability(NET_CAPABILITY_NOT_ROAMING) in checkConnectivity()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java1741 capabilities.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, true);
1756 capabilities.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, !isRoaming);
1772 capabilities.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, !isRoaming);
1787 capabilities.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, true);
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkTemplateTest.kt85 setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, true) in buildMobileNetworkState()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java67 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
7267 roaming |= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_ROAMING); in applyUnderlyingCapabilities()
7288 newNc.setCapability(NET_CAPABILITY_NOT_ROAMING, !roaming); in applyUnderlyingCapabilities()
7344 newNc.addCapability(NET_CAPABILITY_NOT_ROAMING); in mixInCapabilities()
7359 final boolean prevRoaming = !prevNc.hasCapability(NET_CAPABILITY_NOT_ROAMING); in updateNetworkInfoForRoamingAndSuspended()
7360 final boolean roaming = !newNc.hasCapability(NET_CAPABILITY_NOT_ROAMING); in updateNetworkInfoForRoamingAndSuspended()
7423 final boolean roamingChanged = prevNc.hasCapability(NET_CAPABILITY_NOT_ROAMING) in updateCapabilities()
7424 != newNc.hasCapability(NET_CAPABILITY_NOT_ROAMING); in updateCapabilities()
8458 newInfo.setRoaming(!nai.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in mixInInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiInjector.java98 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in makeBaseNetworkCapatibilitiesFilterBuilder()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt321 field public static final int NET_CAPABILITY_NOT_ROAMING = 18; // 0x12
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java138 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in makeNetworkCapabilitiesFilter()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java88 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
6306 mCellNetworkAgent.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in testStatsIfacesChanged()
6495 mCellNetworkAgent.addCapability(NET_CAPABILITY_NOT_ROAMING); in testNonVpnUnderlyingNetworks()
6504 assertFalse(nc.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testNonVpnUnderlyingNetworks()
6890 .addCapability(NET_CAPABILITY_NOT_ROAMING) in testApplyUnderlyingCapabilities()
6910 withNoUnderlying.addCapability(NET_CAPABILITY_NOT_ROAMING); in testApplyUnderlyingCapabilities()
6917 withMobileUnderlying.removeCapability(NET_CAPABILITY_NOT_ROAMING); in testApplyUnderlyingCapabilities()
6931 withWifiAndMobileUnderlying.removeCapability(NET_CAPABILITY_NOT_ROAMING); in testApplyUnderlyingCapabilities()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1131 NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in buildDataStallDetectionStats()

12