/frameworks/base/core/java/android/net/ |
D | NetworkRequest.java | 34 public final NetworkCapabilities networkCapabilities; field in NetworkRequest 112 networkCapabilities = nc; in NetworkRequest() 121 networkCapabilities = new NetworkCapabilities(that.networkCapabilities); in NetworkRequest() 280 dest.writeParcelable(networkCapabilities, flags); in writeToParcel() 358 ", " + networkCapabilities.toString() + " ]"; in toString() 367 Objects.equals(that.networkCapabilities, this.networkCapabilities)); in equals() 371 return Objects.hash(requestId, legacyType, networkCapabilities, type); in hashCode()
|
D | NetworkState.java | 32 public final NetworkCapabilities networkCapabilities; field in NetworkState 38 NetworkCapabilities networkCapabilities, Network network, String subscriberId, in NetworkState() argument 42 this.networkCapabilities = networkCapabilities; in NetworkState() 51 networkCapabilities = in.readParcelable(null); in NetworkState() 66 out.writeParcelable(networkCapabilities, flags); in writeToParcel()
|
D | IConnectivityManager.aidl | 145 NetworkRequest requestNetwork(in NetworkCapabilities networkCapabilities, in requestNetwork() argument 148 NetworkRequest pendingRequestForNetwork(in NetworkCapabilities networkCapabilities, in pendingRequestForNetwork() argument 153 NetworkRequest listenForNetwork(in NetworkCapabilities networkCapabilities, in listenForNetwork() argument 156 void pendingListenForNetwork(in NetworkCapabilities networkCapabilities, in pendingListenForNetwork() argument
|
D | NetworkCapabilities.java | 346 long networkCapabilities = this.mNetworkCapabilities; in satisfiedByNetCapabilities() local 348 networkCapabilities = networkCapabilities & ~MUTABLE_CAPABILITIES; in satisfiedByNetCapabilities() 350 return ((nc.mNetworkCapabilities & networkCapabilities) == networkCapabilities); in satisfiedByNetCapabilities()
|
D | ConnectivityManager.java | 1371 NetworkCapabilities networkCapabilities; field in ConnectivityManager.LegacyRequest 1413 sendExpireMsgForFeature(l.networkCapabilities, l.expireSequenceNumber, l.delay); in renewRequestLocked() 1436 l.networkCapabilities = netCap; in requestNetworkForFeatureLocked() 2622 NetworkCapabilities networkCapabilities) {} in onCapabilitiesChanged() argument 2890 sendRequestForNetwork(request.networkCapabilities, networkCallback, timeoutMs, REQUEST, in requestNetwork() 2925 inferLegacyTypeForNetworkCapabilities(request.networkCapabilities)); in requestNetwork() 2956 inferLegacyTypeForNetworkCapabilities(request.networkCapabilities)); in requestNetwork() 3034 mService.pendingRequestForNetwork(request.networkCapabilities, operation); in requestNetwork() 3079 sendRequestForNetwork(request.networkCapabilities, networkCallback, 0, LISTEN, TYPE_NONE); in registerNetworkCallback() 3116 mService.pendingListenForNetwork(request.networkCapabilities, operation); in registerNetworkCallback()
|
D | NetworkFactory.java | 233 n.request.networkCapabilities.satisfiedByNetworkCapabilities( in evalRequest() 239 (n.score > mScore || n.request.networkCapabilities.satisfiedByNetworkCapabilities( in evalRequest()
|
D | NetworkAgent.java | 375 public void sendNetworkCapabilities(NetworkCapabilities networkCapabilities) { in sendNetworkCapabilities() argument 379 new NetworkCapabilities(networkCapabilities)); in sendNetworkCapabilities()
|
D | NetworkIdentity.java | 188 metered = !state.networkCapabilities.hasCapability( in buildNetworkIdentity()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkAgentInfo.java | 126 public NetworkCapabilities networkCapabilities; field in NetworkAgentInfo 262 networkCapabilities = nc; in NetworkAgentInfo() 392 request.networkCapabilities.satisfiedByNetworkCapabilities(networkCapabilities); in satisfies() 397 request.networkCapabilities.satisfiedByImmutableNetworkCapabilities( in satisfiesImmutableCapabilitiesOf() 398 networkCapabilities); in satisfiesImmutableCapabilitiesOf() 402 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN); in isVPN() 431 boolean isWifi = networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI) && in ignoreWifiUnvalidationPenalty() 432 networkCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in ignoreWifiUnvalidationPenalty() 460 new NetworkCapabilities(networkCapabilities), network, subscriberId, null); in getNetworkState() 558 "nc{" + networkCapabilities + "} Score{" + getCurrentScore() + "} " + in toString()
|
D | LingerMonitor.java | 108 return nai.networkCapabilities.hasTransport(transport); in hasTransport() 247 boolean forceToast = fromNai.networkCapabilities.hasCapability( in noteLingerDefaultNetwork()
|
D | NetworkNotificationManager.java | 84 if (nai.networkCapabilities.hasTransport(i)) return i; in getFirstTransportType() 136 if (!nai.networkCapabilities.hasCapability(NET_CAPABILITY_INTERNET)) return; in showNotification()
|
D | NetworkMonitor.java | 531 if (!mDefaultRequest.networkCapabilities.satisfiedByNetworkCapabilities( in processMessage() 532 mNetworkAgentInfo.networkCapabilities)) { in processMessage()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1343 if (nai.networkCapabilities != null) { in getNetworkCapabilitiesInternal() 1344 return new NetworkCapabilities(nai.networkCapabilities); in getNetworkCapabilitiesInternal() 1763 if (networkAgent.networkCapabilities.hasTransport( in setupDataActivityTracking() 1769 } else if (networkAgent.networkCapabilities.hasTransport( in setupDataActivityTracking() 1795 final NetworkCapabilities caps = networkAgent.networkCapabilities; in removeDataActivityTracking() 2156 final NetworkCapabilities networkCapabilities = (NetworkCapabilities) msg.obj; in maybeHandleNetworkAgentMessage() local 2157 if (networkCapabilities.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL) || in maybeHandleNetworkAgentMessage() 2158 networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED) || in maybeHandleNetworkAgentMessage() 2159 networkCapabilities.hasCapability(NET_CAPABILITY_FOREGROUND)) { in maybeHandleNetworkAgentMessage() 2162 updateCapabilities(nai.getCurrentScore(), nai, networkCapabilities); in maybeHandleNetworkAgentMessage() local [all …]
|
D | TelephonyRegistry.java | 1003 NetworkCapabilities networkCapabilities, int networkType, boolean roaming) { in notifyDataConnection() argument 1006 networkCapabilities, networkType, roaming); in notifyDataConnection() 1011 LinkProperties linkProperties, NetworkCapabilities networkCapabilities, in notifyDataConnectionForSubscriber() argument 1049 mDataConnectionNetworkCapabilities[phoneId] = networkCapabilities; in notifyDataConnectionForSubscriber() 1092 apnType, linkProperties, networkCapabilities, roaming, subId); in notifyDataConnectionForSubscriber() 1442 NetworkCapabilities networkCapabilities, boolean roaming, int subId) { in broadcastDataConnectionStateChanged() argument 1462 if (networkCapabilities != null) { in broadcastDataConnectionStateChanged() 1463 intent.putExtra(PhoneConstants.DATA_NETWORK_CAPABILITIES_KEY, networkCapabilities); in broadcastDataConnectionStateChanged()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | IPv6TetheringCoordinator.java | 106 new NetworkCapabilities(ns.networkCapabilities), in setUpstreamNetworkState() 168 (ns.linkProperties != null) && (ns.networkCapabilities != null) && in canTetherIPv6() 175 ns.networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR); in canTetherIPv6() 272 ns.networkCapabilities, in toDebugString()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 76 mWifiNai.networkCapabilities = WIFI_CAPABILITIES; in setUp() 78 mCellNai.networkCapabilities = CELL_CAPABILITIES; in setUp() 134 mWifiNai.networkCapabilities = new NetworkCapabilities(); in testNotificationsNotShownIfNoInternetCapability() 135 mWifiNai.networkCapabilities .addTransportType(NetworkCapabilities.TRANSPORT_WIFI); in testNotificationsNotShownIfNoInternetCapability()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | ConnectivityServiceMock.java | 763 public NetworkRequest requestNetwork(NetworkCapabilities networkCapabilities, in requestNetwork() argument 765 networkCapabilities = new NetworkCapabilities(networkCapabilities); in requestNetwork() 771 NetworkRequest networkRequest = new NetworkRequest(networkCapabilities, legacyType, in requestNetwork() 788 public NetworkRequest pendingRequestForNetwork(NetworkCapabilities networkCapabilities, in pendingRequestForNetwork() argument 799 public NetworkRequest listenForNetwork(NetworkCapabilities networkCapabilities, in listenForNetwork() argument 805 public void pendingListenForNetwork(NetworkCapabilities networkCapabilities, in pendingListenForNetwork() argument 843 LinkProperties linkProperties, NetworkCapabilities networkCapabilities, in registerNetworkAgent() argument 874 if (nri.request.networkCapabilities.hasSignalStrength() && in handleRegisterNetworkRequest()
|
D | TelephonyRegistryMock.java | 236 NetworkCapabilities networkCapabilities, int networkType, boolean roaming) { in notifyDataConnection() argument 243 LinkProperties linkProperties, NetworkCapabilities networkCapabilities, in notifyDataConnectionForSubscriber() argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ITelephonyRegistry.aidl | 51 in NetworkCapabilities networkCapabilities, int networkType, boolean roaming); in notifyDataConnection() argument 54 in NetworkCapabilities networkCapabilities, int networkType, boolean roaming); in notifyDataConnectionForSubscriber() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DefaultPhoneNotifier.java | 172 NetworkCapabilities networkCapabilities = null; in doNotifyDataConnection() local 177 networkCapabilities = sender.getNetworkCapabilities(apnType); in doNotifyDataConnection() 190 networkCapabilities, in doNotifyDataConnection()
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 103 final NetworkCapabilities networkCapabilities = mCm.getNetworkCapabilities(mNetwork); in onCreate() local 104 if (networkCapabilities == null) { in onCreate() 115 for (int transportType : networkCapabilities.getTransportTypes()) { in onCreate()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactory.java | 226 if (TextUtils.isEmpty(networkRequest.networkCapabilities.getNetworkSpecifier())) { in onNeedNetworkFor() 266 if (TextUtils.isEmpty(networkRequest.networkCapabilities.getNetworkSpecifier())) { in onReleaseNetworkFor()
|
D | ApnContext.java | 457 nr.networkCapabilities.hasCapability( in hasNoRestrictedRequests() 461 if (nr.networkCapabilities.hasCapability( in hasNoRestrictedRequests() 569 NetworkCapabilities nc = nr.networkCapabilities; in apnIdForNetworkRequest()
|
D | DcRequest.java | 71 NetworkCapabilities nc = nr.networkCapabilities; in apnIdForNetworkRequest()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | ConnectivityServiceTest.java | 358 NetworkCapabilities networkCapabilities) { in connect() 360 networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED)) { in connect() 1471 .build().networkCapabilities; in tryNetworkFactoryRequests() 1773 NetworkCapabilities networkCapabilities = new NetworkCapabilities(); in testInvalidNetworkSpecifier() local 1774 networkCapabilities.addTransportType(TRANSPORT_WIFI) in testInvalidNetworkSpecifier() 1776 mService.requestNetwork(networkCapabilities, null, 0, null, in testInvalidNetworkSpecifier()
|