/frameworks/base/tests/net/java/android/net/ |
D | NetworkCapabilitiesTest.java | 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET; 53 assertEquals((1 << NET_CAPABILITY_INTERNET) & RESTRICTED_CAPABILITIES, 0); in testMaybeMarkCapabilitiesRestricted() 60 netCap.addCapability(NET_CAPABILITY_INTERNET); in testMaybeMarkCapabilitiesRestricted() 66 netCap.addCapability(NET_CAPABILITY_INTERNET); in testMaybeMarkCapabilitiesRestricted() 71 netCap.addCapability(NET_CAPABILITY_INTERNET); in testMaybeMarkCapabilitiesRestricted() 78 netCap.addCapability(NET_CAPABILITY_INTERNET); in testMaybeMarkCapabilitiesRestricted() 84 netCap.addCapability(NET_CAPABILITY_INTERNET); in testMaybeMarkCapabilitiesRestricted()
|
D | ConnectivityManagerTest.java | 23 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET; 70 NET_CAPABILITY_INTERNET, in verifyUnrestrictedNetworkCapabilities() 84 assertFalse(nc.hasCapability(NET_CAPABILITY_INTERNET)); in verifyRestrictedMobileNetworkCapabilities() 133 assertFalse(nc.hasCapability(NET_CAPABILITY_INTERNET)); in testNetworkCapabilitiesForTypeMobileMms() 145 assertFalse(nc.hasCapability(NET_CAPABILITY_INTERNET)); in testNetworkCapabilitiesForTypeMobileSupl() 162 assertFalse(nc.hasCapability(NET_CAPABILITY_INTERNET)); in testNetworkCapabilitiesForTypeWifiP2p()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 55 CELL_CAPABILITIES.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); 58 WIFI_CAPABILITIES.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET);
|
/frameworks/base/core/java/android/net/ |
D | NetworkCapabilities.java | 153 public static final int NET_CAPABILITY_INTERNET = 12; field in NetworkCapabilities 251 (1 << NET_CAPABILITY_INTERNET) | 860 case NET_CAPABILITY_INTERNET: capabilities += "INTERNET"; break; in toString()
|
D | ConnectivityManager.java | 1288 } else if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in inferLegacyTypeForNetworkCapabilities() 1321 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in legacyTypeForNetworkCapabilities() 1475 type, NetworkCapabilities.NET_CAPABILITY_INTERNET)); in networkCapabilitiesForType()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | ProvisionObserver.java | 58 && nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in onStartJob()
|
D | CaptivePortalLoginActivity.java | 254 && nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in getNetworkForCaptivePortal() 265 .addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) in requestNetworkForCaptivePortal()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 37 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET; 138 if (!nai.networkCapabilities.hasCapability(NET_CAPABILITY_INTERNET)) return; in showNotification()
|
D | NetworkAgentInfo.java | 432 networkCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in ignoreWifiUnvalidationPenalty()
|
D | Vpn.java | 673 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in agentConnect() 675 mNetworkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in agentConnect()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcRequest.java | 83 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in apnIdForNetworkRequest()
|
D | TelephonyNetworkFactory.java | 120 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in makeNetworkFilter()
|
D | ApnContext.java | 581 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in apnIdForNetworkRequest()
|
D | DataConnection.java | 880 result.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in getNetworkCapabilities() 890 result.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in getNetworkCapabilities()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | ConnectivityServiceMock.java | 19 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET; 959 netCap.addCapability(NET_CAPABILITY_INTERNET); in addDefaultRequest()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactoryTest.java | 114 addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET). in makeSubSpecificDefaultRequest()
|
D | DcTrackerTest.java | 758 .addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET).build(); in testDDSResetAutoAttach()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 451 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in initNetworkCapabilities()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSwitcher.java | 147 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in PhoneSwitcher()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 156 addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET). in makeSubSpecificDefaultRequest()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 396 assertFalse(mNetworkCapabilities.hasCapability(NET_CAPABILITY_INTERNET)); in connect() 416 addCapability(NET_CAPABILITY_INTERNET); in connect() 1634 if (capability != NET_CAPABILITY_INTERNET) { in tryNetworkFactoryRequests() 1713 tryNetworkFactoryRequests(NET_CAPABILITY_INTERNET); in testNetworkFactoryRequests() 2360 .addCapability(NET_CAPABILITY_INTERNET); in testMobileDataAlwaysOn()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 28 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET; 846 netCap.addCapability(NET_CAPABILITY_INTERNET); in createInternetRequestForTransport()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateMachine.java | 940 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in WifiStateMachine()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 17122 field public static final int NET_CAPABILITY_INTERNET = 12; // 0xc
|
/frameworks/base/api/ |
D | current.txt | 25576 field public static final int NET_CAPABILITY_INTERNET = 12; // 0xc
|