Home
last modified time | relevance | path

Searched refs:linkProperties (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkState.java30 public final LinkProperties linkProperties; field in NetworkState
36 public NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, in NetworkState() argument
40 this.linkProperties = linkProperties; in NetworkState()
49 linkProperties = in.readParcelable(null); in NetworkState()
64 out.writeParcelable(linkProperties, flags); in writeToParcel()
DNetworkAgent.java275 public void sendLinkProperties(LinkProperties linkProperties) { in sendLinkProperties() argument
276 queueOrSendMessage(EVENT_NETWORK_PROPERTIES_CHANGED, new LinkProperties(linkProperties)); in sendLinkProperties()
DConnectivityManager.java2060 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) {} in onLinkPropertiesChanged() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataCallResponse.java117 public SetupResult setLinkProperties(LinkProperties linkProperties, in setLinkProperties() argument
123 if (linkProperties == null) in setLinkProperties()
124 linkProperties = new LinkProperties(); in setLinkProperties()
126 linkProperties.clear(); in setLinkProperties()
133 linkProperties.setInterfaceName(ifname); in setLinkProperties()
163 linkProperties.addLinkAddress(la); in setLinkProperties()
182 linkProperties.addDnsServer(ia); in setLinkProperties()
199 linkProperties.addDnsServer(ia); in setLinkProperties()
225 linkProperties.addRoute(new RouteInfo(ia)); in setLinkProperties()
230 linkProperties.setMtu(mtu); in setLinkProperties()
[all …]
DDcTracker.java1933 LinkProperties linkProperties = getLinkProperties(apnType); in onDataSetupComplete() local
1934 if (linkProperties != null) { in onDataSetupComplete()
1935 intent.putExtra(PhoneConstants.DATA_LINK_PROPERTIES_KEY, linkProperties); in onDataSetupComplete()
1936 String iface = linkProperties.getInterfaceName(); in onDataSetupComplete()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java90 (nai.linkProperties != null) ? nai.linkProperties.hasIPv4Address() : false; in requiresClat()
122 if (mNetwork.linkProperties == null) { in start()
134 mBaseIface = mNetwork.linkProperties.getInterfaceName(); in start()
183 mNetwork.linkProperties != null && in fixupLinkProperties()
184 !mNetwork.linkProperties.getAllInterfaceNames().contains(mIface)) { in fixupLinkProperties()
188 mNetwork.linkProperties.addStackedLink(stacked); in fixupLinkProperties()
248 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in interfaceLinkStateChanged()
276 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in interfaceRemoved()
DNetworkAgentInfo.java107 public LinkProperties linkProperties; field in NetworkAgentInfo
173 linkProperties = lp; in NetworkAgentInfo()
247 linkProperties + "} nc{" + in toString()
DTethering.java1336 LinkProperties linkProperties = in chooseUpstreamType() local
1338 if (linkProperties != null) { in chooseUpstreamType()
1342 Log.i(TAG, "Finding IPv4 upstream interface on: " + linkProperties); in chooseUpstreamType()
1344 linkProperties.getAllRoutes(), Inet4Address.ANY); in chooseUpstreamType()
1355 Collection<InetAddress> dnses = linkProperties.getDnsServers(); in chooseUpstreamType()
DNetworkMonitor.java661 final ProxyInfo proxyInfo = mNetworkAgentInfo.linkProperties.getHttpProxy(); in isCaptivePortal()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java266 LinkProperties linkProperties; in onRequestNetwork()
275 linkProperties = config.getStaticIpConfiguration().toLinkProperties(mIface); in onRequestNetwork()
295 linkProperties = dhcpResults.toLinkProperties(mIface); in onRequestNetwork()
299 linkProperties.setHttpProxy(config.getHttpProxy()); in onRequestNetwork()
305 linkProperties.setTcpBufferSizes(tcpBufferSizes); in onRequestNetwork()
313 mLinkProperties = linkProperties; in onRequestNetwork()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephonyRegistry.aidl51 String reason, String apn, String apnType, in LinkProperties linkProperties, in notifyDataConnection() argument
54 String reason, String apn, String apnType, in LinkProperties linkProperties, in notifyDataConnectionForSubscriber() argument
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java839 lp = new LinkProperties(nai.linkProperties); in getFilteredNetworkState()
909 lp = new LinkProperties(nai.linkProperties); in getUnfilteredActiveNetworkState()
977 return getFilteredNetworkInfo(state.networkInfo, state.linkProperties, uid); in getActiveNetworkInfo()
998 if (nai != null && isNetworkWithLinkPropertiesBlocked(nai.linkProperties, uid)) nai = null; in getActiveNetwork()
1013 return getFilteredNetworkInfo(state.networkInfo, state.linkProperties, uid); in getActiveNetworkInfoForUid()
1026 return getFilteredNetworkInfo(state.networkInfo, state.linkProperties, uid); in getNetworkInfo()
1042 info = getFilteredNetworkInfo(info, nai.linkProperties, uid); in getNetworkInfoForNetwork()
1067 if (!isNetworkWithLinkPropertiesBlocked(state.linkProperties, uid)) { in getNetworkForType()
1153 return state.linkProperties; in getActiveLinkProperties()
1162 return new LinkProperties(nai.linkProperties); in getLinkPropertiesForType()
[all …]
DTelephonyRegistry.java1036 String reason, String apn, String apnType, LinkProperties linkProperties, in notifyDataConnection() argument
1039 isDataConnectivityPossible,reason, apn, apnType, linkProperties, in notifyDataConnection()
1045 LinkProperties linkProperties, NetworkCapabilities networkCapabilities, in notifyDataConnectionForSubscriber() argument
1082 mDataConnectionLinkProperties[phoneId] = linkProperties; in notifyDataConnectionForSubscriber()
1111 apnType, apn, reason, linkProperties, ""); in notifyDataConnectionForSubscriber()
1126 apnType, linkProperties, networkCapabilities, roaming, subId); in notifyDataConnectionForSubscriber()
1128 linkProperties, ""); in notifyDataConnectionForSubscriber()
1468 String reason, String apn, String apnType, LinkProperties linkProperties, in broadcastDataConnectionStateChanged() argument
1482 if (linkProperties != null) { in broadcastDataConnectionStateChanged()
1483 intent.putExtra(PhoneConstants.DATA_LINK_PROPERTIES_KEY, linkProperties); in broadcastDataConnectionStateChanged()
[all …]
/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java58 LinkProperties linkProperties, String failCause) { in PreciseDataConnectionState() argument
64 mLinkProperties = linkProperties; in PreciseDataConnectionState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java167 LinkProperties linkProperties = null; in doNotifyDataConnection() local
172 linkProperties = sender.getLinkProperties(apnType); in doNotifyDataConnection()
185 linkProperties, in doNotifyDataConnection()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java929 final String baseIface = state.linkProperties.getInterfaceName(); in updateIfacesLocked()
942 final List<LinkProperties> stackedLinks = state.linkProperties.getStackedLinks(); in updateIfacesLocked()
DNetworkPolicyManagerService.java1138 final String baseIface = state.linkProperties.getInterfaceName();
1148 final List<LinkProperties> stackedLinks = state.linkProperties.getStackedLinks();
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkStatsServiceTest.java896 final LinkProperties linkProp = state.length > 0 ? state[0].linkProperties : null; in expectNetworkState()