3a62e235646ec19bee71e8dbee5208282dcd13b5 |
|
20-Jan-2016 |
Alex Vakulenko <avakulenko@google.com> |
shill: Update libchrome APIs to r369476 The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. Change-Id: Ib4c4b5438a2e249777c9c1b6509f085ad5d00049
/system/connectivity/shill/scope_logger.h
|
c378b70219504746359d18f8aa9382f5b141e420 |
|
08-Jan-2016 |
Samuel Tan <samueltan@google.com> |
shill: add binder scope name to ScopeLogger Add the binder scope name to the ScopeLogger. This scope name will be used for binder-related logging. BUG: 25160005 Change-Id: I002221b5cba16ad9dcc09c3a2680c0aa051d9355 TEST: shill compiles and unit tests pass.
/system/connectivity/shill/scope_logger.h
|
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/scope_logger.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/scope_logger.h
|
2dc218e49e210b64ecf7d83946ec257ef1529171 |
|
30-Jan-2015 |
Garret Kelly <gdk@chromium.org> |
shill: add PPPoEService to provide PPPoE support A PPPoEService handles providing PPPoE connectivity for an Ethernet device. It is designed to be used in place of an EthernetService. BUG=chrome-os-partner:32173 TEST=FEATURES=test USE="vpn cellular pppoe" emerge-x86-generic shill CQ-DEPEND=246511 Change-Id: I53df0e6d4387993f900309bf2bdb72a1f5e287e0 Reviewed-on: https://chromium-review.googlesource.com/244762 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Garret Kelly <gdk@chromium.org> Tested-by: Garret Kelly <gdk@chromium.org>
/system/connectivity/shill/scope_logger.h
|
cc67c52a2c00f90e877971d552208dd99825d84e |
|
03-Sep-2014 |
Ben Chan <benchan@chromium.org> |
shill: Include base/macros.h instead of base/basictypes.h shill no longer uses the integer types from base/basictypes.h. It should simply include base/macros.h for the DISALLOW_COPY_AND_ASSIGN macro instead. BUG=None TEST=`USE='cellular wimax' FEATURES=test emerge-$BOARD platform2` Change-Id: I9b350c1bd9eff88e2c87de2ef8d607e90049e102 Reviewed-on: https://chromium-review.googlesource.com/216055 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/scope_logger.h
|
a41ab517725d036b63420f8445550246f8f50b99 |
|
23-Jul-2014 |
Alex Vakulenko <avakulenko@chromium.org> |
shill: Sort headers alphabetically (build/include_alpha) We are going to enable build/include_alpha linter warning soon, so in preparation for this, fixed the warnings in shill. BUG=None TEST=cpplint.py --filter=-build/include_order,+build/include_alpha shill/* Change-Id: I113ed7f9dd3f465a3f660599320cdb434e7cc214 Reviewed-on: https://chromium-review.googlesource.com/209636 Tested-by: Alex Vakulenko <avakulenko@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
/system/connectivity/shill/scope_logger.h
|
9da07771df3dbbc99ff99114c26317d01f29f7fc |
|
15-May-2013 |
mukesh agrawal <quiche@chromium.org> |
shill: support 3G dongles with PPP interface Assuming the 3G dongle has been switched to modem mode (with usb_modeswitch or similar), and an activated SIM is present, shill will automatically connect to the cellular network. The primary change, as far as the Cellular/Modem logic goes, is that we take the absence of a link name to mean that the modem is a PPP dongle. Instead of bailing out, we create the Cellular object, and register it with the manager as any other Cellular device. When the Cellular connection is complete, CellularCapabilityUniversal checks the Bearer's IPConfig method, as indicated by modemmanager1. If the method is specified as PPP, the capability asks the Cellular device to start PPP. When PPP setup completes, Cellular passes the IP configuration information to the PPPDevice. At that point, the PPPDevice is assigned an IP address, and routing is updated appropriately. Notable changes: - Moved VPN to VirtualDevice, changed OpenVPNDriver to use it, created a new subclass PPPDevice. - Moved PPP code out of L2TPIPSecDriver, and into PPPDevice. - Changed L2TPIPSecDriver to use PPPDevice. While there: - Got rid of VPNDriver::OnDisconnected, and changed callers to use DropConnection instead. - Made Load and Save of VirtualDevices no-ops. This eliminates the confusingly named "device_" stanzas in the default profile. We lose VPN byte counts by doing this, but they weren't sensible anyway (they'd be shared across potentially different VPNs). New units will follow in another CL (TBW). BUG=chromium:240051 TEST=unit tests, manual Manual testing -------------- 1. Get 3G PPP dongle. 2. Install activated SIM. 3. Plug dongle into USB port. 4. Wait for the dongle to switch to modem mode. (I used a manually installed usb_modeswitch, but this will soon be handled by mist.) 5. Wait for the dongle to connect. With the Huawei E303, this takes about 35 seconds. Change-Id: I916bef451ee6e8dcf1af8135ecf6787251acf19b Reviewed-on: https://gerrit.chromium.org/gerrit/51356 Commit-Queue: mukesh agrawal <quiche@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org>
/system/connectivity/shill/scope_logger.h
|
5581d07d765e14737d2a639d3eb42e0b42721602 |
|
18-Dec-2012 |
Paul Stewart <pstew@chromium.org> |
shill: WiFi: Control wpa_supplicant debug level When shill WiFi debugging is enabled, automatically turn on debugging in wpa_supplicant. Toggle between the "info" and "debug" levels. If wpa_supplicant is in any other debug state, assume that its debug level is being controlled by some other entity and do ont change it. BUG=chromium-os:36469 TEST=Unit tests + Manual: ff_debug +wifi, then do "wpa_debug" -- this will show wpa changing from "info" to "debug" state. Test the reverse ("-wifi" => "info"). Change-Id: I63bc190feb179e497bfe50797af7d48a5ee8fba0 Reviewed-on: https://gerrit.chromium.org/gerrit/39836 Commit-Ready: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/scope_logger.h
|
b691efd71561246065eae3cdd73a96ca1b8a528d |
|
09-Aug-2012 |
Christopher Wiley <wiley@chromium.org> |
shill: Rename SMLOG to SLOG Rewrite SMLOG as SLOG, thus saving many edits. Change the location of the SLOG macro to be memory_log.h, requiring includes to be rewritten and reordered. While we're rewriting includes, moving all assorted logging includes into a generic shill/logging.h, thus saving future logging changes from altering these includes ever again. BUG=chromium-os:31145 TEST=Builds, unit tests still pass Change-Id: Ie5129fcbdda87f3149460209a682c698b876b09a Reviewed-on: https://gerrit.chromium.org/gerrit/29650 Commit-Ready: Christopher Wiley <wiley@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org>
/system/connectivity/shill/scope_logger.h
|
6c72c972614285b2c01fb38afb2ffe06484a544a |
|
27-Jul-2012 |
Paul Stewart <pstew@chromium.org> |
shill: LinkMonitor: Schedule periodic ARP requests The LinkMonitor performs periodic unicast and broadcast ARP requests for a connection's gateway IP address. It creates a weighted average of response time, and can call a failure callback function whenever the sum of consecutive unicast and broadcast response failures exceed a threshold. BUG=chromium-os:32600 TEST=Unit tests Change-Id: Id5a66ad9ca80c51f227ef4811eb8c3885a70c1b8 Reviewed-on: https://gerrit.chromium.org/gerrit/28610 Commit-Ready: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/scope_logger.h
|
d34a47c06c38f2594c85b14b0f9cee2bf37c0e84 |
|
02-Aug-2012 |
Christopher Wiley <wiley@chromium.org> |
shill: Fix ScopeLogger to respect verbosities The confusion over the signs of verbosities and severities has apparently led us to ignore verbosity when we go through the SLOG_IS_ON macro. Unfortunately, for actual logging, we always go through the SLOG_IS_ON macro. BUG=chromium-os:33177 TEST=Unittest, confirmed with ff_debug on a ToT build Change-Id: I0081144b19f1a350d96aa32e26bd8311d1882d7f Reviewed-on: https://gerrit.chromium.org/gerrit/28988 Commit-Ready: Christopher Wiley <wiley@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org>
/system/connectivity/shill/scope_logger.h
|
096b3473d1764d0fc0f56a11435ed28badb4963d |
|
15-May-2012 |
Darin Petkov <petkov@chromium.org> |
shill: wimax: Implement WiMAX Manager and Device proxies. Also, add a WiMax logging scope. BUG=chrome-os-partner:9697 TEST=build and run unit tests Change-Id: I8516ff2b55e54feb5fcdab089d0fe279551b4317 Reviewed-on: https://gerrit.chromium.org/gerrit/22695 Commit-Ready: Darin Petkov <petkov@chromium.org> Tested-by: Darin Petkov <petkov@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/scope_logger.h
|
fad4a0b7e55dd82d3815ee96862b6e546727eb6e |
|
19-Apr-2012 |
Ben Chan <benchan@chromium.org> |
shill: Replace VLOG with SLOG. This CL replaces all uses of VLOG(level) with SLOG(scope, level) with the same verbose level and an appropriate scope for each affected logging statement. BUG=chromium-os:29641 TEST=Build and run unit tests. Test scope logging with ff_debug. Change-Id: Ifdcf1faa2a309bcbd9ee369a66179ce9c7f1ad19 Reviewed-on: https://gerrit.chromium.org/gerrit/20629 Commit-Ready: Ben Chan <benchan@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/scope_logger.h
|
bc49ac7047b24da5672d08dfbf78cd680466b55a |
|
11-Apr-2012 |
Ben Chan <benchan@chromium.org> |
shill: Implement debug tag related DBus methods. This CL adds a ScopeLogger class to enable logging based on user-defined scope (instead of file or module) and corresponding helper macros such as SLOG() as a replacement for VLOG(). The debug tag related DBus methods are implemented using the scope logging. BUG=chromium-os:26081 TEST=Build and run unit tests. Change-Id: I8d179f010c7a6bf095953bbc6e2a92561db676dc Reviewed-on: https://gerrit.chromium.org/gerrit/19976 Commit-Ready: Ben Chan <benchan@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/scope_logger.h
|