summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/WifiWatchdogService.java
AgeCommit message (Collapse)Author
2011-07-06Moved WifiWatchdogService and DnsPingerIsaac Levy
- Moved WWS and DnsPinger in prep for StateMachine rewrite intent. Change-Id: I912ca80d31ee2ded99eb345a2e5a55d01bd9910c
2011-06-28Ping through default dns & ping settings changesIsaac Levy
Changed DnsPinger to use the system default DNS if linkprops doesn't have a dns. This mirrors the behavior of the system overall. Minor changes to wifiWatchdogService settings. Change-Id: I8de73cf5bd24bc69343c7d9dc999d198195ec0ec
2011-06-27Fixing null pointer b/4962091Isaac Levy
Fixing watchdog service bug, adding some extra dump logs. Change-Id: I03d94a46fade6974f21931803f87fdd065750612
2011-06-24WifiWatchdogService - disable bad connectionsIsaac Levy
Complete rewrite of WifiWatchdogService.java. Checking for connectivity and managing wifi upon failure detection. Change-Id: Ifcb8b5d7e0112cbc2f2282d76fdc93ea15527a44
2011-06-09WifiWatchdogService refactorIsaac Levy
Minor refactoring of WatchdogService ahead of logic changes. Lightly tested on a stingray. Change-Id: I051603a598fe3162f170fb0a09e461fcb9b0038e
2011-06-07Update walled garden detection logicIrfan Sheriff
DNS based techniques dont always work. Some hotspots redirect on data fetch on IP. Use a known pattern match on URL to detect a walled garden instead. Also, added gservices capability to turn off the feature or change the URL & the pattern to match Bug: 4378442 Change-Id: I78b4208d3ea3ace20069169e7c01ed769892d94d
2011-05-03Add basic walled garden checkIrfan Sheriff
Use multiple DNS resolutions to the same IP address as an indication to launch a web view for authentication Bug: 4378442 Change-Id: Id3cf1e3c5b5bee4468665d0459ac945e5b12e730
2011-04-07Remove the deprecated things from Config.java. These haven't been working ↵Joe Onorato
since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
2011-02-16Fix wifi watchdog to use InetAddressRobert Greenwalt
Supports IPv6 and stops using deprectated DhcpInfo. Change-Id: I0590dbcd50f56e15d9b95327ad9435cdbfc8a78d
2010-08-10Split WifiStateMachine from WifiStateTrackerIrfan Sheriff
Notifications handled in WifiService. WifiStateTracker tracks state for connectivity service Change-Id: Idb0cf494898d28712af0f95f9e60c5417cd4a053
2010-07-27Refactor WifiStateTrackerIrfan Sheriff
Implement WifiStateTracker as a HSM. Change-Id: Ic12fd78f1f183b5c4dea8ad2301002267ceff0cb
2010-06-09Fix a problem with leaking UDP sockets.Nick Kralevich
When dealing with any kind of limited operating system resource, we should ensure that we properly close everything that we open, rather than relying on the system garbage collector. Change-Id: Ic71f710eb85ac71a91b7a1215647c75010d37643
2010-03-29cherry-pick 288b4ac94571e6f77036831708e7bb7c31874688 into froyoIrfan Sheriff
Killing the WifiWatchdogService thread from WifiService can cause messages to be handled on a dead thread. Quit the thread on the broadcast instead. A couple of more fixes: - Do an asynchronous bring up of Wifi. This will allow WifiWatchdogServiceThread to be immediately brought up, instead of relying on an update. - There is no need to listen on supplicant connection in wifiwatchdog anymore. We kill the thread when supplicant connection is no more. Bug: 2546756 Change-Id: I15a188e031bc79856c55aabdd271287b0df0377d
2010-03-12Run WifiWatchdogServiceThread only on wifi enableIrfan Sheriff
Bug: 2508997 Change-Id: Ib79ee25fcc8e39e9a1d6c5b9ef9681bc00b6d006
2010-03-01Switch the services library to using the new SlogJoe Onorato
2010-01-28Blacklist APs instead of disableIrfan Sheriff
We currently disable networks upon too many reconnects. This leads to asking the user input for reconnects. Blacklist it instead. Bug: 2129037 Change-Id: I23d69daf3964c066ed7f70d32fefb81016f19aa2
2009-04-20AI 146935: am: CL 146934 Make TI Wifi driver choice framework-independent - ↵Dmitry Shmidt
part 1 Original author: dimitrysh Automated import of CL 146935
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-01-20auto import from //branches/cupcake/...@127101The Android Open Source Project
2009-01-15auto import from //branches/cupcake/...@126645The Android Open Source Project
2008-12-17Code drop from //branches/cupcake/...@124589The Android Open Source Project
2008-10-21Initial ContributionThe Android Open Source Project