Lines Matching defs:linkProperties

500         if (config != null) return new LinkProperties(config.linkProperties);
514 LinkProperties linkProperties = getLinkProperties(netId);
516 if (linkProperties != null) {
517 Iterator<LinkAddress> iter = linkProperties.getLinkAddresses().iterator();
521 for (RouteInfo route : linkProperties.getRoutes()) {
525 Iterator<InetAddress> dnsIterator = linkProperties.getDnses().iterator();
539 LinkProperties linkProperties = dhcpInfo.makeLinkProperties();
544 if(config.linkProperties != null) {
545 linkProperties.setHttpProxy(config.linkProperties.getHttpProxy());
547 config.linkProperties = linkProperties;
557 if (config != null && config.linkProperties != null) {
559 ProxyProperties proxy = config.linkProperties.getHttpProxy();
560 config.linkProperties.clear();
561 config.linkProperties.setHttpProxy(proxy);
572 LinkProperties linkProperties = getLinkProperties(netId);
573 if (linkProperties != null) {
574 return new ProxyProperties(linkProperties.getHttpProxy());
728 LinkProperties linkProperties = config.linkProperties;
733 for (LinkAddress linkAddr : linkProperties.getLinkAddresses()) {
738 for (RouteInfo route : linkProperties.getRoutes()) {
755 for (InetAddress inetAddr : linkProperties.getDnses()) {
776 ProxyProperties proxyProperties = linkProperties.getHttpProxy();
805 loge("Failure in writing " + config.linkProperties + e);
852 LinkProperties linkProperties = new LinkProperties();
868 linkProperties.addLinkAddress(linkAddr);
885 linkProperties.addRoute(new RouteInfo(dest, gateway));
887 linkProperties.addDns(
914 config.linkProperties = linkProperties;
933 linkProperties.setHttpProxy(proxyProperties);
1192 LinkProperties linkProperties = new LinkProperties();
1196 Collection<LinkAddress> currentLinkAddresses = currentConfig.linkProperties
1198 Collection<LinkAddress> newLinkAddresses = newConfig.linkProperties
1200 Collection<InetAddress> currentDnses = currentConfig.linkProperties.getDnses();
1201 Collection<InetAddress> newDnses = newConfig.linkProperties.getDnses();
1202 Collection<RouteInfo> currentRoutes = currentConfig.linkProperties.getRoutes();
1203 Collection<RouteInfo> newRoutes = newConfig.linkProperties.getRoutes();
1235 ProxyProperties newHttpProxy = newConfig.linkProperties.getHttpProxy();
1236 ProxyProperties currentHttpProxy = currentConfig.linkProperties.getHttpProxy();
1258 addIpSettingsFromConfig(linkProperties, currentConfig);
1261 addIpSettingsFromConfig(linkProperties, newConfig);
1262 log("IP config changed SSID = " + currentConfig.SSID + " linkProperties: " +
1263 linkProperties.toString());
1268 linkProperties.setHttpProxy(currentConfig.linkProperties.getHttpProxy());
1271 linkProperties.setHttpProxy(newConfig.linkProperties.getHttpProxy());
1273 if (linkProperties.getHttpProxy() != null) {
1274 log(" proxyProperties: " + linkProperties.getHttpProxy().toString());
1279 currentConfig.linkProperties = linkProperties;
1287 private void addIpSettingsFromConfig(LinkProperties linkProperties,
1289 for (LinkAddress linkAddr : config.linkProperties.getLinkAddresses()) {
1290 linkProperties.addLinkAddress(linkAddr);
1292 for (RouteInfo route : config.linkProperties.getRoutes()) {
1293 linkProperties.addRoute(route);
1295 for (InetAddress dns : config.linkProperties.getDnses()) {
1296 linkProperties.addDns(dns);