Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DConnectivitySampleMetricsTest.kt10 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING in <lambda>()
98 .addCapability(NET_CAPABILITY_NOT_ROAMING) in testSampleConnectivityState_Network()
110 .addCapability(NET_CAPABILITY_NOT_ROAMING) in testSampleConnectivityState_Network()
124 .addCapability(NET_CAPABILITY_NOT_ROAMING) in testSampleConnectivityState_Network()
/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/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSCaptivePortalAppTest.kt33 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING
69 addCapability(NET_CAPABILITY_NOT_ROAMING) in keepScore()
DCSSatelliteNetworkTest.kt29 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING
219 addCapability(NET_CAPABILITY_NOT_ROAMING) in satelliteNc()
DCSLocalAgentTests.kt30 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING
73 addCapability(NET_CAPABILITY_NOT_ROAMING) in <lambda>()
/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/common/java/android/net/
DNetworkCapabilitiesTest.java33 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
839 nc1.addCapability(NET_CAPABILITY_NOT_ROAMING); in testSet()
843 assertTrue(nc2.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testSet()
850 nc1.addForbiddenCapability(NET_CAPABILITY_NOT_ROAMING); in testSet()
858 assertFalse(nc2.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testSet()
859 assertTrue(nc2.hasForbiddenCapability(NET_CAPABILITY_NOT_ROAMING)); in testSet()
1481 .addForbiddenCapability(NET_CAPABILITY_NOT_ROAMING) in testInvalidCapability()
1490 .addForbiddenCapability(NET_CAPABILITY_NOT_ROAMING) in testInvalidCapability()
DNetworkStateSnapshotTest.kt56 setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, true) in <lambda>()
DNetworkProviderTest.kt162 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in <lambda>()
311 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
268 capabilities.addCapability(NET_CAPABILITY_NOT_ROAMING); in prepareGetMultipathPreferenceTest()
281 capabilities.addCapability(NET_CAPABILITY_NOT_ROAMING); in prepareGetMultipathPreferenceTest()
/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/framework/src/android/net/
DNetworkRequest.java27 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
284 NET_CAPABILITY_NOT_ROAMING,
DNetworkState.java85 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING)) { in NetworkState()
DNetworkCapabilities.java446 NET_CAPABILITY_NOT_ROAMING,
584 public static final int NET_CAPABILITY_NOT_ROAMING = 18; field in NetworkCapabilities
782 (1L << NET_CAPABILITY_NOT_ROAMING) |
845 (1L << NET_CAPABILITY_NOT_ROAMING) |
2619 case NET_CAPABILITY_NOT_ROAMING: return "NOT_ROAMING"; in capabilityNameOf()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java24 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING;
439 .addCapability(NET_CAPABILITY_NOT_ROAMING).build(); in testBypassingVcn()
504 NET_CAPABILITY_NOT_ROAMING }; in testGetCapabilities()
DNetworkScoreTest.kt131 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in <lambda>()
DDscpPolicyTest.kt37 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING in <lambda>()
266 addCapability(NET_CAPABILITY_NOT_ROAMING) in <lambda>()
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactory.java273 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in initNetworkCapabilities()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java178 || c == NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING in isRequestableCapability()
272 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;
721 if (!caps.hasCapability(NET_CAPABILITY_NOT_ROAMING) in checkConnectivity()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetTrackerTest.java173 return builder.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in makeEthernetCapabilitiesBuilder()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/
DCSTestHelpers.kt79 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in <lambda>()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetTracker.java781 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in createDefaultNetworkCapabilities()
866 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in createNetworkCapabilities()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkIdentity.java403 NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING)); in setNetworkStateSnapshot()

12