Searched refs:netCap (Results 1 – 4 of 4) sorted by relevance
904 NetworkCapabilities netCap = networkCapabilitiesForFeature(networkType, feature); in startUsingNetworkFeature() local905 if (netCap == null) { in startUsingNetworkFeature()913 LegacyRequest l = sLegacyRequests.get(netCap); in startUsingNetworkFeature()924 request = requestNetworkForFeatureLocked(netCap); in startUsingNetworkFeature()954 NetworkCapabilities netCap = networkCapabilitiesForFeature(networkType, feature); in stopUsingNetworkFeature() local955 if (netCap == null) { in stopUsingNetworkFeature()961 if (removeRequestForFeature(netCap)) { in stopUsingNetworkFeature()987 NetworkCapabilities netCap = new NetworkCapabilities(); in networkCapabilitiesForFeature() local988 netCap.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR).addCapability(cap); in networkCapabilitiesForFeature()989 netCap.maybeMarkCapabilitiesRestricted(); in networkCapabilitiesForFeature()[all …]
617 NetworkCapabilities netCap = new NetworkCapabilities();619 netCap.mNetworkCapabilities = in.readLong();620 netCap.mTransportTypes = in.readLong();621 netCap.mLinkUpBandwidthKbps = in.readInt();622 netCap.mLinkDownBandwidthKbps = in.readInt();623 netCap.mNetworkSpecifier = in.readString();624 return netCap;
200 private void handleSetFilter(NetworkCapabilities netCap) { in handleSetFilter() argument201 mCapabilityFilter = netCap; in handleSetFilter()282 public void setCapabilityFilter(NetworkCapabilities netCap) { in setCapabilityFilter() argument283 sendMessage(obtainMessage(CMD_SET_FILTER, new NetworkCapabilities(netCap))); in setCapabilityFilter()
770 NetworkCapabilities netCap = new NetworkCapabilities(); in createInternetRequestForTransport() local771 netCap.addCapability(NET_CAPABILITY_INTERNET); in createInternetRequestForTransport()772 netCap.addCapability(NET_CAPABILITY_NOT_RESTRICTED); in createInternetRequestForTransport()774 netCap.addTransportType(transportType); in createInternetRequestForTransport()776 return new NetworkRequest(netCap, TYPE_NONE, nextNetworkRequestId()); in createInternetRequestForTransport()