/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/ |
D | NetworkMonitorUtils.java | 63 if (nc.hasCapability(NET_CAPABILITY_INTERNET) in isPrivateDnsValidationRequired() 64 && nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED) in isPrivateDnsValidationRequired() 65 && nc.hasCapability(NET_CAPABILITY_TRUSTED)) { in isPrivateDnsValidationRequired() 78 if (nc.hasTransport(TRANSPORT_TEST) && nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED) && ( in isPrivateDnsValidationRequired() 95 return isPrivateDnsValidationRequired(nc) && nc.hasCapability(NET_CAPABILITY_NOT_VPN); in isValidationRequired()
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | ContextualWifiSlice.java | 89 && !nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL) in hasInternetAccess() 90 && !nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_PARTIAL_CONNECTIVITY) in hasInternetAccess() 91 && nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in hasInternetAccess()
|
D | WifiScanWorker.java | 221 mIsCaptivePortal = nc.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in onCapabilitiesChanged() 222 mHasPartialConnectivity = nc.hasCapability(NET_CAPABILITY_PARTIAL_CONNECTIVITY); in onCapabilitiesChanged() 223 mIsValidated = nc.hasCapability(NET_CAPABILITY_VALIDATED); in onCapabilitiesChanged()
|
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | JobInfoRowArrayAdapter.java | 142 } else if (networkRequest.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_METERED)) { in getNetworkType() 144 } else if (networkRequest.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_ROAMING)) { in getNetworkType()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderImpl.java | 124 return mNetworkCapabilities.hasCapability(cap) != nc.hasCapability(cap);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapConnection.java | 172 if (hasCapability(ImapConstants.CAPABILITY_STARTTLS)) { in maybeDoStartTls() 306 private boolean hasCapability(String capability) { in hasCapability() method in ImapConnection
|
/packages/modules/ExtServices/src/android/ext/services/watchdog/ |
D | NetworkChecker.java | 86 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)) { in onCapabilitiesChanged()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 725 if (!caps.hasCapability(NET_CAPABILITY_NOT_ROAMING) in checkConnectivity() 729 if (!caps.hasCapability(NET_CAPABILITY_NOT_METERED) in checkConnectivity()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 623 return capabilities.hasCapability(NET_CAPABILITY_INTERNET) in isConnectedToInternet() 624 && capabilities.hasCapability(NET_CAPABILITY_VALIDATED); in isConnectedToInternet()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiUtils.java | 114 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)); in canSignIntoNetwork()
|
D | WifiNoInternetDialog.java | 103 if (mNetwork.equals(network) && nc.hasCapability(NET_CAPABILITY_VALIDATED)) { in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiUtils.java | 114 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)); in canSignIntoNetwork()
|
D | WifiNoInternetDialog.java | 102 if (mNetwork.equals(network) && nc.hasCapability(NET_CAPABILITY_VALIDATED)) { in onCreate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiUtil.java | 153 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)); in canSignIntoNetwork()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceController.java | 235 return mNetworkCapabilities.hasCapability(cap) != nc.hasCapability(cap);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/ |
D | WifiDetailPreferenceController.java | 236 return mNetworkCapabilities.hasCapability(cap) != nc.hasCapability(cap);
|
/packages/modules/NetworkStack/src/com/android/networkstack/ |
D | NetworkStackNotifier.java | 82 return mNetworkCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in isValidated()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/ |
D | TestableNetworkCallbackTest.kt | 165 caps.hasCapability(NOT_METERED) && in <lambda>()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1120 final boolean isRoaming = !mNetworkCapabilities.hasCapability( in buildDataStallDetectionStats() 1778 || !mNetworkCapabilities.hasCapability(NET_CAPABILITY_NOT_METERED) in needEvaluatingBandwidth() 3335 if (!mNetworkCapabilities.hasCapability(NET_CAPABILITY_NOT_METERED) in isDataStall()
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 252 if (network.equals(mNetwork) && nc.hasCapability(NET_CAPABILITY_VALIDATED)) { in handleCapabilitiesChanged()
|