a3d5948c3764c071211d2943d5407ce0459483a0 |
|
05-Apr-2016 |
Lorenzo Colitti <lorenzo@google.com> |
Clear LinkProperties on interface removed. When an interface is removed, all netlink events for that interface are lost, because netd will no longer be able to resolve the ifindex in the netlink event to an interface name, and it only communicates to the framework events that include an interface name. This can cause us to end up with stale IP addresses if, for example, wlan0 is removed because we switch wifi back from AP mode to STA mode when exiting tethering. The presence of stale IPv4 addresses can in turn lead us to miss a provisioning notification because we already think we have an IPv4 address. Change-Id: Ib64559a5a4fa261f483760b69fa7996314e7cc17
/frameworks/base/core/java/com/android/server/net/NetlinkTracker.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/com/android/server/net/NetlinkTracker.java
|
20ceb903731bc732eb063b1bbee3bac806a5d5ef |
|
17-Jul-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Disable logging in NetlinkTracker. This logging can get quite spammy in GoogleGuest, and there's currently no reason to think it's necessary. Much of the same information is available via "adb shell ndc monitor". Bug: 16328180 Change-Id: I15a8348e261d6b69a4ef8bdaf8a2a431b1c2bc0d
/frameworks/base/core/java/com/android/server/net/NetlinkTracker.java
|
93e6d9db7848a6efe823def6f480c8f4ea74ba85 |
|
23-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Initial RDNSS tracking implementation. Add a DnsServerRepository to NetlinkTracker that keeps track of IPv6 DNS servers received via RDNSS. It supports expiring existing DNS servers when their lifetimes go below zero and keeping track of more than just the 2 or 3 DNS servers that are currently in use, so that if they all expire DNS will continue to work. It does not yet expire DNS servers using timers, only when a new update comes in. Bug: 9180552 Change-Id: I455699076198f43570a3b0b8ec7e5967514d6086
/frameworks/base/core/java/com/android/server/net/NetlinkTracker.java
|
c18cbfdf8d40e7a526a088225cb32341e1ea0920 |
|
13-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Notify network observers of route changes. Bug: 9180552 Change-Id: If8432bc74335676320b815784b21f404d3479c35
/frameworks/base/core/java/com/android/server/net/NetlinkTracker.java
|
10accbb46e82b3178ff26124041f3ab7d6c1802d |
|
04-Mar-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Move netlink updates to a new NetlinkTracker class. This will allow us to use this logic on other link types such as Ethernet, and will also avoid increasing the complexity of WifiStateMachine as we get more information such as routes and DNS servers from netlink. Bug: 9180552 Change-Id: I79034827cb0c5f24d783d7243e04b69e12aa3cc6
/frameworks/base/core/java/com/android/server/net/NetlinkTracker.java
|