Home
last modified time | relevance | path

Searched refs:mLinkProperties (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java112 private final LinkProperties mLinkProperties; field in IpClientLinkObserver
128 mLinkProperties = new LinkProperties(); in IpClientLinkObserver()
129 mLinkProperties.setInterfaceName(mInterfaceName); in IpClientLinkObserver()
183 changed = mLinkProperties.addLinkAddress(address); in onInterfaceAddressUpdated()
197 changed = mLinkProperties.removeLinkAddress(address); in onInterfaceAddressRemoved()
211 changed = mLinkProperties.addRoute(route); in onRouteUpdated()
225 changed = mLinkProperties.removeRoute(route); in onRouteRemoved()
240 mDnsServerRepository.setDnsServersOn(mLinkProperties); in onInterfaceDnsServerInfo()
251 return new LinkProperties(mLinkProperties); in getLinkProperties()
263 mLinkProperties.clear(); in clearLinkProperties()
[all …]
DIpReachabilityMonitor.java193 private LinkProperties mLinkProperties = new LinkProperties();
307 mLinkProperties = new LinkProperties(lp);
310 final List<RouteInfo> routes = mLinkProperties.getRoutes();
331 mLinkProperties.clear();
337 final LinkProperties whatIfLp = new LinkProperties(mLinkProperties);
354 for (RouteInfo route : mLinkProperties.getRoutes()) {
367 (mLinkProperties.isIpv4Provisioned() && !whatIfLp.isIpv4Provisioned())
368 || (mLinkProperties.isIpv6Provisioned() && !whatIfLp.isIpv6Provisioned());
DIpClient.java478 private LinkProperties mLinkProperties; field in IpClient
643 mLinkProperties = new LinkProperties(); in IpClient()
644 mLinkProperties.setInterfaceName(mInterfaceName); in IpClient()
1074 mLinkProperties = new LinkProperties(); in resetLinkProperties()
1075 mLinkProperties.setInterfaceName(mInterfaceName); in resetLinkProperties()
1245 int delta = compareProvisioning(mLinkProperties, newLp); in setLinkProperties()
1246 mLinkProperties = new LinkProperties(newLp); in setLinkProperties()
1331 final LinkProperties oldLp = mLinkProperties; in assembleLinkProperties()
1370 if (Objects.equals(newLp, mLinkProperties)) { in handleLinkPropertiesUpdate()
1501 mCallback.onProvisioningFailure(mLinkProperties); in doImmediateProvisioningFailure()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiInfoProviderImpl.java66 private LinkProperties mLinkProperties; field in WifiInfoProviderImpl
111 if (network.equals(mNetwork) && !lp.equals(mLinkProperties)) {
112 mLinkProperties = lp;
114 listener.onLinkPropertiesChanged(mNetwork, mLinkProperties);
161 mLinkProperties = mConnectivityManager.getLinkProperties(mNetwork); in WifiInfoProviderImpl()
238 return mLinkProperties; in getLinkProperties()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java155 private LinkProperties mLinkProperties; field in WifiDetailPreferenceController
224 if (network.equals(mNetwork) && !lp.equals(mLinkProperties)) {
225 mLinkProperties = lp;
467 mLinkProperties = mConnectivityManager.getLinkProperties(mNetwork); in updateNetworkInfo()
485 mLinkProperties = null; in onPause()
764 if (!mAccessPoint.isActive() || mNetwork == null || mLinkProperties == null) { in refreshIpLayerInfo()
778 for (LinkAddress addr : mLinkProperties.getLinkAddresses()) { in refreshIpLayerInfo()
789 for (RouteInfo routeInfo : mLinkProperties.getRoutes()) { in refreshIpLayerInfo()
797 String dnsServers = mLinkProperties.getDnsServers().stream() in refreshIpLayerInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java156 private LinkProperties mLinkProperties; field in WifiDetailPreferenceController
225 if (network.equals(mNetwork) && !lp.equals(mLinkProperties)) {
226 mLinkProperties = lp;
471 mLinkProperties = mConnectivityManager.getLinkProperties(mNetwork); in updateNetworkInfo()
489 mLinkProperties = null; in onPause()
770 if (!mAccessPoint.isActive() || mNetwork == null || mLinkProperties == null) { in refreshIpLayerInfo()
784 for (LinkAddress addr : mLinkProperties.getLinkAddresses()) { in refreshIpLayerInfo()
795 for (RouteInfo routeInfo : mLinkProperties.getRoutes()) { in refreshIpLayerInfo()
803 String dnsServers = mLinkProperties.getDnsServers().stream() in refreshIpLayerInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java199 private LinkProperties mLinkProperties; field in WifiDetailPreferenceControllerTest
282 mLinkProperties = new LinkProperties(); in setUp()
283 when(mockConnectivityManager.getLinkProperties(mockNetwork)).thenReturn(mLinkProperties); in setUp()
753 mLinkProperties.addLinkAddress(Constants.IPV4_ADDR); in ipAddressPref_shouldHaveDetailTextSetForConnectedNetwork()
773 mLinkProperties.addLinkAddress(Constants.IPV4_ADDR); in gatewayAndSubnet_shouldHaveDetailTextSetForConnectedNetwork()
774 mLinkProperties.addRoute(Constants.IPV4_DEFAULT); in gatewayAndSubnet_shouldHaveDetailTextSetForConnectedNetwork()
775 mLinkProperties.addRoute(Constants.IPV4_SUBNET); in gatewayAndSubnet_shouldHaveDetailTextSetForConnectedNetwork()
797 mLinkProperties.addDnsServer(InetAddress.getByAddress(new byte[] {8, 8, 4, 4})); in dnsServersPref_shouldHaveDetailTextSetForConnectedNetwork()
798 mLinkProperties.addDnsServer(InetAddress.getByAddress(new byte[] {8, 8, 8, 8})); in dnsServersPref_shouldHaveDetailTextSetForConnectedNetwork()
799 mLinkProperties.addDnsServer(Constants.IPV6_DNS); in dnsServersPref_shouldHaveDetailTextSetForConnectedNetwork()
[all …]
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java77 private LinkProperties mLinkProperties; field in NetworkStackNotifier.TrackedNetworkStatus
180 return mInfoShim.getCaptivePortalData(status.mLinkProperties); in getCaptivePortalData()
334 updateNetworkStatus(network, status -> status.mLinkProperties = linkProperties); in onLinkPropertiesChanged()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java448 private LinkProperties mLinkProperties; field in NetworkMonitor
621 mLinkProperties = new LinkProperties(); in NetworkMonitor()
671 mLinkProperties = attrs.first; in updateConnectedNetworkAttributes()
977 final Uri oldCapportUrl = getCaptivePortalApiUrl(mLinkProperties); in processMessage()
978 mLinkProperties = (LinkProperties) message.obj; in processMessage()
979 final Uri newCapportUrl = getCaptivePortalApiUrl(mLinkProperties); in processMessage()
1236 mEvaluatingCapportUrl = getCaptivePortalApiUrl(mLinkProperties); in enter()
1307 mEvaluatingCapportUrl, getCaptivePortalApiUrl(mLinkProperties)); in shouldAcceptForceRevalidation()
2297 final ProxyInfo proxyInfo = mLinkProperties.getHttpProxy(); in isCaptivePortal()
2801 final Uri capportApiUrl = getCaptivePortalApiUrl(mLinkProperties); in sendMultiParallelHttpAndHttpsProbes()
[all …]