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/event_dispatcher.cc
|
bad1c10ffd2d4ac14f7bd9f4ef6a8982e711f566 |
|
19-Sep-2015 |
mukesh agrawal <quiche@google.com> |
shill: remove references to GLib There are a number of references to GLib (the object), even though no one uses GLib in a substantive way. Remove these obsolete references. Bug: 23386647 TEST=unit tests Change-Id: I8d574980bc8e853c8b87ef64b581d64a71491201
/system/connectivity/shill/event_dispatcher.cc
|
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/event_dispatcher.cc
|
f365fd00209e72eae123f6663c94b9b5fe3a3d44 |
|
11-Aug-2015 |
Peter Qiu <zqiu@chromium.org> |
shill: remove message loop from EventDispatcher Message loop will be initialized in chromeos::Daemon as part of daemon initialization. Some tests require a message loop, so implement an EventDispatcher with message loop support for testing purpose. BUG=chromium:505476 TEST=USE="asan clang chromeos_dbus" FEATURES=test emerge-$BOARD shill CQ-DEPEND=CL:295772 Change-Id: I91ebb886b7bd93acf942e97953f190933ef29edf Reviewed-on: https://chromium-review.googlesource.com/292782 Commit-Ready: Zeping Qiu <zqiu@chromium.org> Tested-by: Zeping Qiu <zqiu@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|
a794cd60a7339d576ea2eed263a4f0a20fb255af |
|
16-Jun-2015 |
Paul Stewart <pstew@chromium.org> |
shill: Top-level files a-e: Switch pointer/ref spacing Switch to Chrome style spacing. BUG=chromium:501026 TEST=Unit tests Change-Id: Idb7252202e142098999fe0672712aded7d369259 Reviewed-on: https://chromium-review.googlesource.com/278038 Reviewed-by: Rebecca Silberstein <silberst@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|
40a014862d79843026e06ef0cc0e3bc1463fe518 |
|
31-Oct-2014 |
Peter Qiu <zqiu@chromium.org> |
shill: remove glib dependency from libshill-net Pull glib's IO handlers out from libshill-net to eliminate its dependency on glib. This is desired since the applications that uses this library might not want this extra dependency. This is achieved by adding an IOHandlerFactoryContainer for setting/accessing IOHandlerFactory. By default. the container will create an IOHandlerFactory that create IOHandlers base on the libbase's FileDescriptorWatcher. The caller can implement its own IOHandlerFactory and IOHandlers to overwrite this default behavior. For example, shill's glib IOHandlers. BUG=chromium:427982 TEST=unittests, run wifi_matfunc for shill regression test Change-Id: I92b853309d520f499b9bb2736211cdd3bb3c268f Reviewed-on: https://chromium-review.googlesource.com/226833 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org> Tested-by: Peter Qiu <zqiu@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|
37a2b60098f7404a0faa918694072670de1a0a97 |
|
27-Oct-2014 |
Peter Qiu <zqiu@chromium.org> |
shill: IO handler support for IO message loop Added IO handler factory for creating IO handlers based on the current message loop type. For IO message loop, IO handlers will be based on the libbase's FileDescriptorWatcher, while UI message loop will use the glib's IO handlers (since libbase doesn't provide FileDescriptorWatcher for UI message loop that uses glib). Also remove the dependency of EventDispatcher from RTNLHandler and NetlinkManager. And redirect the IO handler creation calls in EventDispatcher to IOHandlerFactory. Eventually would delete the IO handler creation calls from EventDispatcher once all references to them are removed. This is a part of an effort to export rtnl/nl80211 functionality as a shared library, so that they can be exported without tying to a specific message loop type. BUG=chromium:427534 TEST=unittests, manual regression test (run wifi_matfunc suite) Change-Id: Ibb3e11ef381d1d93dcae20a697cee310f0a7703f Reviewed-on: https://chromium-review.googlesource.com/225651 Tested-by: Peter Qiu <zqiu@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|
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/event_dispatcher.cc
|
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/event_dispatcher.cc
|
a0ddf46e466bd4ba3d20952f0a6988c680c1af14 |
|
06-Feb-2014 |
Ben Chan <benchan@chromium.org> |
shill: Update to build against libchrome-242728. BUG=chromium:341521 CQ-DEPEND=CL:193660 TEST=Tested the following: 1. `FEATURES=test USE='cellular wimax' emerge-$BOARD platform2` 2. Run the following tests: - network_3GSmokeTest - network_VPNConnect.* - network_WiMaxSmoke - wifi_matfunc Change-Id: Ic1553c182ab7a833a68c45f012f646b8930cb095 Reviewed-on: https://chromium-review.googlesource.com/193606 Reviewed-by: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|
5ad1606ad8b3f74b2b7960a3003a2d1ca75d52b8 |
|
22-Feb-2013 |
Paul Stewart <pstew@chromium.org> |
shill: Compile against libchrome-180609 Made the following fixes to allow compile against a new libchrome: - ScopedVector::reset() was renamed to "clear". - Hack in base to add "using base::FilePath;" has been removed. - Convert MessageLoop::current()->RunAllPending() to base::RunLoop().RunUntilIdle(). - MessageLoopProxy::PostDelayedTask() now takes a base::TimeDelta(). - scoped_refptr::release() no longer exists. - base/eintr_wrapper.h -> base/posix/eintr_wrapper.h - base/scoped_temp_dir.h -> base/files/scoped_temp_dir.h - base/string_tokenizer.h -> base/strings/string_tokenizer.h - New scoped_ptr does compile check for naughty people making scoped_ptrs of refcounted objects. - base::SplitString() now returns an empty vector when given an empty string (instead of a single-element vector with an empty string). CQ-DEPEND=CL:43774 BUG=chromium-os:38931 TEST=Unit tests, run on real hardware Change-Id: I6f1f5807e81fb2d52f197871d32ccbccc3038a7c Reviewed-on: https://gerrit.chromium.org/gerrit/43775 Commit-Queue: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|
5f06a0e6d4e64db78546fdefbd3bc5ebfb36c583 |
|
20-Dec-2012 |
Paul Stewart <pstew@chromium.org> |
shill: InputHandler: Add error callback Input IOHandler owners now must supply a callback for handling input exceptions. This allows individual modules to decide whether or not this is a fatal error or not. BUG=chromium-os:37415 TEST=New unit tests, Manual: Make sure HTTPProxy and HTTPRequest continue to work normally Change-Id: Idf9c106d5f2a4985fb4720f54ddb6d66c60f9173 Reviewed-on: https://gerrit.chromium.org/gerrit/40021 Commit-Queue: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|
3e20a2341d0aeb7681e4ee0f89eae6817ade2b3b |
|
16-Feb-2012 |
Eric Shienbrood <ers@chromium.org> |
shill: Convert code to use the newest version of libchrome. The biggest change is a switch from using the deprecated Task and CallbackN mechanisms to using the new Callback mechanism. Note: Original CL was https://gerrit.chromium.org/gerrit/16156. This is logically another patch to that CL, but since the latter was already merged, and is considered closed by Gerrit, it's necessary to create a new CL. BUG=chromium-os:15330 TEST=Build shill and run it on a zgb with a modem. Build and run unit tests. CQ-DEPEND=I37628863370323d30cac493764ea28f8ffd42637 Change-Id: I3ae78a3aa44ec167b79f2170d07650ece888254f Reviewed-on: https://gerrit.chromium.org/gerrit/18030 Reviewed-by: Eric Shienbrood <ers@chromium.org> Tested-by: Eric Shienbrood <ers@chromium.org> Commit-Ready: Eric Shienbrood <ers@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|
b5c8940ae68f85c8c822936f41f4993c51624dcf |
|
13-Mar-2012 |
Eric Shienbrood <ers@chromium.org> |
Revert "shill: Convert code to use the newest version of libchrome." This reverts commit ffebe0c489e0ecccf497547d7078c30cbc8072e2 Unit tests ran on local machine, but wouldn't run on CQ because of some kind of environment difference. Change-Id: Ia876c0c17f4cd84bca5e2f1bacd7e24a81832d4d Reviewed-on: https://gerrit.chromium.org/gerrit/17969 Reviewed-by: Eric Shienbrood <ers@chromium.org> Tested-by: Eric Shienbrood <ers@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|
08a4ffb4ecf5893eb55c523d528bf3e52c66facf |
|
16-Feb-2012 |
Eric Shienbrood <ers@chromium.org> |
shill: Convert code to use the newest version of libchrome. The biggest change is a switch from using the deprecated Task and CallbackN mechanisms to using the new Callback mechanism. This cannot be submitted until vapier submits his CL that slot-enables the libchrome build (https://gerrit.chromium.org/gerrit/15415). BUG=chromium-os:15330 TEST=Build shill and run it on a zgb with a modem. Build and run unit tests. CQ-DEPEND=Ic24bb16aac3e1d130a784f34e848e308719a43be Change-Id: I081a7aa66bee391b867a43e08db2eacdff760945 Reviewed-on: https://gerrit.chromium.org/gerrit/16156 Tested-by: Eric Shienbrood <ers@chromium.org> Commit-Ready: Eric Shienbrood <ers@chromium.org> Reviewed-by: Eric Shienbrood <ers@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|
f0aae10f69aa3b6083f0fcfb1b501f79a8b6b15e |
|
19-Oct-2011 |
Paul Stewart <pstew@chromium.org> |
shill: Add "IO Ready" handler For output sockets and for non-traditional "input" events we need to trigger when an fd is ready, but we don't want GLib to be in charge of the IO itself. For this, we create a "ready handler" which triggers a callback which is passed the file descriptor which is ready. BUG=chromium-os:21664 TEST=New unit tests Change-Id: I4960658e6d0940d8db65ae6f77ff09679b3ef96a Reviewed-on: http://gerrit.chromium.org/gerrit/10327 Reviewed-by: Darin Petkov <petkov@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|
26b327e559583d5a84b7e1605c29a4dcbc87d2a9 |
|
19-Oct-2011 |
Paul Stewart <pstew@chromium.org> |
shill: A couple of naming cleanups Rename shill_event.* -> event_dispatcher.*. This is more consistent with correct style. Also rename IOInputHandler -> InputHandler. BUG=None TEST=Rerun unit tests Change-Id: I13d56b857c85b32ba1418e894de68afc5a23f00d Reviewed-on: http://gerrit.chromium.org/gerrit/10326 Reviewed-by: mukesh agrawal <quiche@chromium.org> Reviewed-by: Darin Petkov <petkov@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/event_dispatcher.cc
|