/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 30 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()
|
D | NetworkStateSnapshotTest.kt | 55 setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, true) in <lambda>()
|
D | NetworkProviderTest.kt | 161 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/ |
D | FakeSystemFacade.java | 4 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/ |
D | JobInfoRowArrayAdapter.java | 20 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/ |
D | MultipathPolicyTrackerTest.java | 21 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/ |
D | NetworkRequestTest.java | 23 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()
|
D | NetworkScoreTest.kt | 112 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in <lambda>()
|
D | NetworkAgentTest.kt | 39 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/ |
D | NetworkRequest.java | 26 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING; 193 NET_CAPABILITY_NOT_ROAMING,
|
D | NetworkCapabilities.java | 251 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()
|
D | NetworkState.java | 85 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING)) { in NetworkState()
|
/packages/modules/Connectivity/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()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdaterTest.kt | 32 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/ |
D | BluetoothTetheringNetworkFactory.java | 252 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in initNetworkCapabilities()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 179 || 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/ |
D | DownloadThread.java | 20 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/ |
D | NetworkStatsServiceTest.java | 1741 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/ |
D | NetworkTemplateTest.kt | 85 setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING, true) in buildMobileNetworkState()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 67 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/ |
D | WifiInjector.java | 98 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in makeBaseNetworkCapatibilitiesFilterBuilder()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 321 field public static final int NET_CAPABILITY_NOT_ROAMING = 18; // 0x12
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 138 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING) in makeNetworkCapabilitiesFilter()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 88 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/ |
D | NetworkMonitor.java | 1131 NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in buildDataStallDetectionStats()
|