History log of /system/connectivity/shill/mock_control.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/mock_control.cc
3b86eb2bd80b06ccf240368375e78718d94a3a7f 12-Aug-2015 Peter Qiu <zqiu@chromium.org> shill: update proxy creation APIs for chromeos dbus

Update APIs to account for proxies that monitor on its service
availability. And remove unnecessary arguments, such as well known
service name and path.

Also use chromeos::dbus_utils::Property instead of dbus::Property,
which supports more complex type such as variant diciontary. And
do not register unused properties.

BUG=chromium:517680
TEST=unittests, wifi_matfunc tests

Change-Id: Id5873dfa73da68cc56394edac7fa97144ae47e89
Reviewed-on: https://chromium-review.googlesource.com/292927
Commit-Ready: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Reviewed-by: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/mock_control.cc
1e006c610db980bca337121134d2ba54497b7a59 16-Jun-2015 Paul Stewart <pstew@chromium.org> shill: Top-level mocks: Switch pointer/ref spacing

Switch to Chrome style spacing.

BUG=chromium:501026
TEST=Unit tests

Change-Id: I730ed5115e62319c2745dd6cef642e228b0fb66e
Reviewed-on: https://chromium-review.googlesource.com/278036
Reviewed-by: Rebecca Silberstein <silberst@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/mock_control.cc
127b341755731bd6ecc19e44b63c23c79e0b7cd1 16-Oct-2014 Prabhu Kaliamoorthi <kaliamoorthi@chromium.org> shill: Third party VPN driver and DBus bindings

This CL adds Third party VPN driver and DBus bindings to Shill daemon

BUG=chromium:407541
TEST=Compilation test, basic functionality test with autotest framework and trybots (beaglebone-paladin, lumpy-paladin, falco-paladin, daisy-paladin, x86-generic-paladin, amd64-generic-paladin)

Change-Id: I98095a784843df325fc41dc25498938cd1ec9e75
Reviewed-on: https://chromium-review.googlesource.com/223690
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Prabhu Kaliamoorthi <kaliamoorthi@chromium.org>
Tested-by: Prabhu Kaliamoorthi <kaliamoorthi@chromium.org>
/system/connectivity/shill/mock_control.cc
a9b1fedcad9d354ff7b0a6a7e4cfd58fa7133084 29-Feb-2012 Darin Petkov <petkov@chromium.org> shill: Setup .Task RPC service for incoming VPN communication.

This will be used by OpenVPN, for example, to communicate back to shill
connection information (IP, DNS, etc.).

The RPC class model mostly follows the existing RPC adaptor classes (Manager,
Service, etc.).

Task is a bit overloaded and confusing in the context of shill so calling the
RPC object RPCTask instead. Also, the current intent is for this object to just
handle RPC service calls. Once the initial VPN implementation is in we may
decide to rename and refactor these objects.

BUG=chromium-os:26993
TEST=unit test

Change-Id: Ie294524b954c4a589c07ad285c7703cbbf9157d6
Reviewed-on: https://gerrit.chromium.org/gerrit/17047
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Sam Leffler <sleffler@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
/system/connectivity/shill/mock_control.cc
1830fa1f2e8691073f4d07b0883f059a290a9cc2 26-Sep-2011 mukesh agrawal <quiche@chromium.org> shill: enable (don't disable) -Wunused

having fixed an unused parameter in the dbus-c++ headers, those
headers no longer have unused parameters. so, if we fix up unused
parameters in shill code, we can compile with -Wunused. (this is
implied by -Wall, as long as we don't override with -Wno-unused.)

BUG=chromium-os:20779
TEST=unittests

- comment out unused parameters in function definitions
- remove some unused local variables
- also: fix an old-style cast

Change-Id: Ie654a7b34d622cecb0f26bd47c17813fe8423001
Reviewed-on: http://gerrit.chromium.org/gerrit/8365
Tested-by: mukesh agrawal <quiche@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/mock_control.cc
dc42bb32d20da8ddd2ace08f171f9adf3ec1c847 28-Jul-2011 mukesh agrawal <quiche@chromium.org> shill: wifi cleanups

three cleanups:
- WiFi and WiFiService: rename deferred task handlers (RealScanDone
and RealConnect) from Real<Func> to <Func>Task. this makes them
consistent with the naming in Modem.

- WiFiMainTest:
- use scoped_ptrs (rather than bare) for references to mock
proxies. this simplifies memory management, and makes WiFiMainTest
more consistent with DHCPConfigTest
- eliminate "uninteresting mock function call" messages

BUG=chromium-os:18349
TEST=FEATURES="test nostrip noclean" emerge-x86-generic shill

Change-Id: Ia4f340ab861c5a0ae44a730ca3e1a664ca03180a
Reviewed-on: http://gerrit.chromium.org/gerrit/4939
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
/system/connectivity/shill/mock_control.cc
c6c6c13e2543bd3ff5beae067b0320647fe1e141 30-Jun-2011 Chris Masone <cmasone@chromium.org> [shill] Wire IPConfig objects to dbus

BUG=chromium-os:17154
TEST=unit tests
STATUS=Verified

Change-Id: If4344b1df2806dcff914fe1e79d6f0d7705a6eb3
Reviewed-on: http://gerrit.chromium.org/gerrit/3494
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/mock_control.cc
52cd19bfd52226611d924930f1178307f79d5fdc 30-Jun-2011 Chris Masone <cmasone@chromium.org> [shill] Add Profile objects

Add a mostly-empty Profile object and all the wiring to hook it up to DBus

BUG=chromium-os:17154
TEST=unit tests

Change-Id: I16bf488969f071dd91c31ef454c7e10a81f9afe7
Reviewed-on: http://gerrit.chromium.org/gerrit/3423
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/mock_control.cc
95207da4b896bd0a4186163f6f9ebda044a5a7b9 30-Jun-2011 Chris Masone <cmasone@chromium.org> [shill] Enable objects to query an opaque RPC-system ID from Adaptors

This is needed for some properties. For example Service has a property called Device, which is expected
to return a (in the current impl) a DBus path for the associated Device object.

BUG=chromium-os:16343
TEST=unit tests

Change-Id: I8bd32ab483331efabbfee05dbdeba045c7cb20da
Reviewed-on: http://gerrit.chromium.org/gerrit/3417
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/mock_control.cc
d7732e4b308836ed21723c1ab412f640f02abdf1 20-May-2011 Chris Masone <cmasone@chromium.org> [shill] Wire shill to dbus

Refactor necessary classes into their own headers and such as well.

BUG=chromium-os:15578
TEST=unit tests, shill --foreground on device

Change-Id: Ib9c5a0e9dab779ecc44c1d0144035f5a09e1086e
Reviewed-on: http://gerrit.chromium.org/gerrit/1307
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/mock_control.cc