Searched defs:networkCapabilities (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/net/
H A DNetworkState.java32 public final NetworkCapabilities networkCapabilities; field in class:NetworkState
38 NetworkCapabilities networkCapabilities, Network network, String subscriberId,
42 this.networkCapabilities = networkCapabilities;
51 networkCapabilities = in.readParcelable(null);
66 out.writeParcelable(networkCapabilities, flags);
37 NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, Network network, String subscriberId, String networkId) argument
H A DNetworkRequest.java34 public final NetworkCapabilities networkCapabilities; field in class:NetworkRequest
112 networkCapabilities = nc;
121 networkCapabilities = new NetworkCapabilities(that.networkCapabilities);
280 dest.writeParcelable(networkCapabilities, flags);
358 ", " + networkCapabilities.toString() + " ]";
367 Objects.equals(that.networkCapabilities, this.networkCapabilities));
371 return Objects.hash(requestId, legacyType, networkCapabilities, type);
H A DNetworkAgent.java375 public void sendNetworkCapabilities(NetworkCapabilities networkCapabilities) { argument
379 new NetworkCapabilities(networkCapabilities));
H A DConnectivityManager.java1357 NetworkCapabilities networkCapabilities; field in class:ConnectivityManager.LegacyRequest
1399 sendExpireMsgForFeature(l.networkCapabilities, l.expireSequenceNumber, l.delay);
1422 l.networkCapabilities = netCap;
2605 * @param networkCapabilities The new {@link android.net.NetworkCapabilities} for this network.
2608 NetworkCapabilities networkCapabilities) {}
2876 sendRequestForNetwork(request.networkCapabilities, networkCallback, timeoutMs, REQUEST,
2911 inferLegacyTypeForNetworkCapabilities(request.networkCapabilities));
2942 inferLegacyTypeForNetworkCapabilities(request.networkCapabilities));
3020 mService.pendingRequestForNetwork(request.networkCapabilities, operation);
3065 sendRequestForNetwork(request.networkCapabilities, networkCallbac
2607 onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DTelephonyRegistryMock.java236 NetworkCapabilities networkCapabilities, int networkType, boolean roaming) {
243 LinkProperties linkProperties, NetworkCapabilities networkCapabilities,
234 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
241 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
H A DConnectivityServiceMock.java763 public NetworkRequest requestNetwork(NetworkCapabilities networkCapabilities, argument
765 networkCapabilities = new NetworkCapabilities(networkCapabilities);
771 NetworkRequest networkRequest = new NetworkRequest(networkCapabilities, legacyType,
788 public NetworkRequest pendingRequestForNetwork(NetworkCapabilities networkCapabilities, argument
799 public NetworkRequest listenForNetwork(NetworkCapabilities networkCapabilities, argument
805 public void pendingListenForNetwork(NetworkCapabilities networkCapabilities, argument
843 LinkProperties linkProperties, NetworkCapabilities networkCapabilities,
847 // linkProperties), new NetworkCapabilities(networkCapabilities), currentScore,
874 if (nri.request.networkCapabilities
842 registerNetworkAgent(Messenger messenger, NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int currentScore, NetworkMisc networkMisc) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkAgentInfo.java126 public NetworkCapabilities networkCapabilities; field in class:NetworkAgentInfo
262 networkCapabilities = nc;
392 request.networkCapabilities.satisfiedByNetworkCapabilities(networkCapabilities);
397 request.networkCapabilities.satisfiedByImmutableNetworkCapabilities(
398 networkCapabilities);
402 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN);
431 boolean isWifi = networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI) &&
432 networkCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET);
460 new NetworkCapabilities(networkCapabilities), networ
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java1003 NetworkCapabilities networkCapabilities, int networkType, boolean roaming) {
1006 networkCapabilities, networkType, roaming);
1011 LinkProperties linkProperties, NetworkCapabilities networkCapabilities,
1049 mDataConnectionNetworkCapabilities[phoneId] = networkCapabilities;
1092 apnType, linkProperties, networkCapabilities, roaming, subId);
1442 NetworkCapabilities networkCapabilities, boolean roaming, int subId) {
1462 if (networkCapabilities != null) {
1463 intent.putExtra(PhoneConstants.DATA_NETWORK_CAPABILITIES_KEY, networkCapabilities);
1001 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1009 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1439 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, int subId) argument
H A DConnectivityService.java1342 if (nai.networkCapabilities != null) {
1343 return new NetworkCapabilities(nai.networkCapabilities);
1762 if (networkAgent.networkCapabilities.hasTransport(
1768 } else if (networkAgent.networkCapabilities.hasTransport(
1794 final NetworkCapabilities caps = networkAgent.networkCapabilities;
2155 final NetworkCapabilities networkCapabilities = (NetworkCapabilities) msg.obj;
2156 if (networkCapabilities.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL) ||
2157 networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED) ||
2158 networkCapabilities.hasCapability(NET_CAPABILITY_FOREGROUND)) {
2161 updateCapabilities(nai.getCurrentScore(), nai, networkCapabilities);
4081 ensureRequestableCapabilities(NetworkCapabilities networkCapabilities) argument
4124 requestNetwork(NetworkCapabilities networkCapabilities, Messenger messenger, int timeoutMs, IBinder binder, int legacyType) argument
4168 enforceNetworkRequestPermissions(NetworkCapabilities networkCapabilities) argument
4197 enforceMeteredApnPolicy(NetworkCapabilities networkCapabilities) argument
4218 pendingRequestForNetwork(NetworkCapabilities networkCapabilities, PendingIntent operation) argument
4271 listenForNetwork(NetworkCapabilities networkCapabilities, Messenger messenger, IBinder binder) argument
4297 pendingListenForNetwork(NetworkCapabilities networkCapabilities, PendingIntent operation) argument
4412 registerNetworkAgent(Messenger messenger, NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int currentScore, NetworkMisc networkMisc) argument
4623 updateCapabilities( int oldScore, NetworkAgentInfo nai, NetworkCapabilities networkCapabilities) argument
[all...]

Completed in 125 milliseconds