c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5 |
|
03-Sep-2015 |
Peter Qiu <zqiu@google.com> |
License shill to Apache2 This patch automatically replaced the license on all text files from Chromium OS (BSD style) to AOSP (Apache2), keeping the original year as a reference. The license header was added to .gyp and .gypi, the NOTICE was added with a copy of the Apache2 license and MODULE_LICENSE_* file was added. BUG=23587594 TEST=grep 'Chromium OS Authors' doesn't find anything. Change-Id: If41ede586c2465f5831fb7fee270ff41dbfdb596
/system/connectivity/shill/traffic_monitor.h
|
1a212a6b98b22ad1d69652bb26a9e94138635476 |
|
16-Jun-2015 |
Paul Stewart <pstew@chromium.org> |
shill: Top-level files n-v: Switch pointer/ref spacing Switch to Chrome style spacing. BUG=chromium:501026 TEST=Unit tests Change-Id: I8bd6f66ea185ca3a2687986f6f2fd99be957dffe Reviewed-on: https://chromium-review.googlesource.com/278070 Reviewed-by: Rebecca Silberstein <silberst@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/traffic_monitor.h
|
22f1fbc11b69ee41af8370ec38f1b90577db6c3c |
|
17-Oct-2014 |
Ben Chan <benchan@chromium.org> |
shill: connection: Replace scoped_ptr with std::unique_ptr. BUG=None TEST=`USE='wimax' FEATURES=test emerge-$BOARD shill` TEST=`USE='wimax clang asan' FEATURES=test emerge-$BOARD shill` Change-Id: I41a34f47ce3998d380912c565a72e54e240d4436 Reviewed-on: https://chromium-review.googlesource.com/224159 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/traffic_monitor.h
|
7fab89734d88724a288e96a9996b15548c5294c7 |
|
11-Aug-2014 |
Ben Chan <benchan@chromium.org> |
shill: Use integer types from stdint.h This CL replaces the deprecated int* and uint* types from 'base/basictypes.h' with the int*_t and uint*_t types from 'stdint.h'. BUG=chromium:401356 TEST=`USE='cellular gdmwimax wimax' FEATURES=test emerge-$BOARD platform2` Change-Id: I3d4c195881203dd2a47dbb5af150b6c90b9c206e Reviewed-on: https://chromium-review.googlesource.com/211770 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/traffic_monitor.h
|
8a5322984f2d81bcbfd8d44c59747a11bd9b904b |
|
17-Jun-2014 |
Alex Vakulenko <avakulenko@chromium.org> |
shill: Fix most of warnings from cpplint Fix most cpplinter's warnings. On a few occasisions, the warnings produced were false-positives, so added explicit // NOLINT comment overrides. There were a few instances of disallowed non-const reference usage (reported as runtime/reference error by cpplint) for "DBus::Error &error" which should potentially be changed to pointers to comply with C++ coding style but I will let Shill owners do that since there is quite a few of those and the change isn't brain-dead simple... BUG=None TEST=platform2 still compiles and all unit tests pass. Change-Id: Ic2e31896aa13d20eeb1a85dee74f3db8cccfde2e Reviewed-on: https://chromium-review.googlesource.com/204164 Tested-by: Alex Vakulenko <avakulenko@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org> Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
/system/connectivity/shill/traffic_monitor.h
|
dc335f81a9d0ffe8efd02a96d3cd17399a06e61e |
|
15-May-2014 |
Peter Qiu <zqiu@chromium.org> |
UMA Metric for reporting network problem while connected. Added a UMA metric for reporting network problem while connected to a network. Network problem is detected by TrafficMonitor. Max of one network problem will be reported per connection. BUG=chromium:374274 TEST=unit tests, manual Manual Test: 1. Connect a chrome device an AP without internet access. 2. Wait for few minutes, then browse to "chrome://histograms", and verify there is a histogram for Network.Shill.Wifi.NetworkProblemDetected". Change-Id: Iad019d147feebcd429445c687a7c37d8e1e281f9 Reviewed-on: https://chromium-review.googlesource.com/200469 Reviewed-by: Peter Qiu <zqiu@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org> Tested-by: Peter Qiu <zqiu@chromium.org>
/system/connectivity/shill/traffic_monitor.h
|
fa7960effd89d27830ee742c22cf825e3c126097 |
|
15-Apr-2013 |
Thieu Le <thieule@chromium.org> |
shill: cellular: Add DNS failure detection to traffic monitor. Also clean up some logging to make the debug spew less chatty. BUG=chromium:230963 TEST=Unit tests, manually verify DNS failure detection on device by using up a SIM's data allotment Change-Id: I90b8af980fa70f7821aed72c2f17ad3a7c416eb0 Reviewed-on: https://gerrit.chromium.org/gerrit/48244 Reviewed-by: Thieu Le <thieule@chromium.org> Tested-by: Thieu Le <thieule@chromium.org> Commit-Queue: Thieu Le <thieule@chromium.org>
/system/connectivity/shill/traffic_monitor.h
|
0302666245cea4a54dac13a9b6b11ddf04048143 |
|
04-Apr-2013 |
Thieu Le <thieule@chromium.org> |
shill: cellular: Modify traffic monitor to look at send-q and timer status. BUG=chromium:225912 TEST=Unit tests Change-Id: I6585e5860f0043d6c2b8d1ef6502834b18219abf Reviewed-on: https://gerrit.chromium.org/gerrit/47446 Commit-Queue: Thieu Le <thieule@chromium.org> Reviewed-by: Thieu Le <thieule@chromium.org> Tested-by: Thieu Le <thieule@chromium.org>
/system/connectivity/shill/traffic_monitor.h
|
b061f89e7088c7fba50b49ee5ac876619c9e8a7e |
|
28-Feb-2013 |
Ben Chan <benchan@chromium.org> |
Add a traffic monitor to detect abnormal scenarios. This CL implements a traffic monitor to detect abnormal scenarios on an network connection. The traffic monitor can be conditionally enabled on a device. It starts periodically sampling the receive and transmit byte counts on a enabled device after the device establishes a connection. When it sees that there is outgoing traffic but no incoming traffic for some sampling periods, it invokes a callback to notify such a scenario. BUG=chromium-os:39433 TEST=Built and ran unit tests. Change-Id: I22b43fae53365544f595a630bff1b8d90b478e95 Reviewed-on: https://gerrit.chromium.org/gerrit/44403 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/traffic_monitor.h
|