commit | f84a4242b4218dc375449ab2d68085226f43ce5b | [log] [tgz] |
---|---|---|
author | Arman Uguray <armansito@chromium.org> | Tue Apr 09 20:01:07 2013 -0700 |
committer | ChromeBot <chrome-bot@google.com> | Fri Apr 12 13:17:05 2013 -0700 |
tree | 5ed64948e560d24beee1c24a5090a137c20e9452 | |
parent | 12f113aa68bcb9084e342ab1b985caf1aded6f1c [diff] |
shill: cellular: Use ConnectionHealthChecker for out-of-credit detection Added code to trigger active connection monitoring using ConnectionHealthChecker to detect out-of-credit scenarios, when: 1. TrafficMonitor detects congestion and thus a possible out-of-credit situation; 2. Portal detection fails after Cellular connects. BUG=chromium:225912,225915 TEST=1. Build and run unit tests. 2. While using a link device, run it out of credit. An out-of-credit dialog should pop up and the service should disconnect, 3. While on a link device with an out-of-credit SIM, try to connect to Cellular. If it successfully connects and the connection does not drop, an out-of-credit dialog should pop up and the service should disconnect. Change-Id: If70069c3630757b74099a4cefdfe6c67d8d308de Reviewed-on: https://gerrit.chromium.org/gerrit/47717 Reviewed-by: Thieu Le <thieule@chromium.org> Commit-Queue: Arman Uguray <armansito@chromium.org> Tested-by: Arman Uguray <armansito@chromium.org>