History log of /external/autotest/client/cros/cellular/pseudo_modem.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0967dd7bf9ff2e4b8cace650f84b9c2bfc1d454d 15-May-2015 Christopher Wiley <wiley@chromium.org> Remove references to run_remote_tests.sh from cellular test code

BUG=brillo:1067
TEST=None

Change-Id: Ifa381dd08682d228e2bccf774629b39e7bfb8396
Reviewed-on: https://chromium-review.googlesource.com/271543
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/cros/cellular/pseudo_modem.py
845320fc3bab52407471d494e3c601a25862933b 18-Oct-2012 Arman Uguray <armansito@chromium.org> network: Fix network_3GModemControl pseudomodem test

This CL addresses 3 pseudomodem related bugs that caused
network_3GModemControl to fail:

- shill failed to enable the pseudomodem since it requires a
modemmanager to be in the DISABLED state. pseudomodem initialized
itself to be in the UNKNOWN state, which prevented it from ever
getting enabled. It is now initialized to be in the DISABLED state.

- pseudo_modem.py Modem.Disconnect sets a DisconnectDone timeout which
fires after 500 ms, in which if the modem state is DISCONNECTING,
it sets the state to REGISTERED, otherwise raises an error.
If shill sends a Disconnect command to the modem and then disables it,
and the state changes to DISABLED before the DisconnectDone callback fires,
this causes an unwanted org.freedesktop.ModemManager1.Connection.Unknown
error to be raised. As a work-around, pseudomodem now checks in the
callback whether its state is DISABLE. If it is, it doesn't raise an
error.

- network_3GModemControl failed with 'Already have a pending Enable
operation' on machines equipped with a Gobi modem when the test runs
with the pseudomodem. The reason for this was that, before starting
the pseudomodem the test only disabled modemmanager and not cromo. The
presence of two modem managers caused undefined behavior. The test now
stops cromo before starting the pseudomodem.

BUG=chromium-os:35475,chromium-os:34474,chromium-os:32699
TEST=Ran network_3GModemControl on a lumpy equppied with a Gobi3k modem,
both with and without using the pseudomodem and the test passes.

Change-Id: I1f681113d4838be1188684563cba9e3751c4c1b0
Reviewed-on: https://gerrit.chromium.org/gerrit/36070
Reviewed-by: Thieu Le <thieule@chromium.org>
Commit-Ready: Arman Uguray <armansito@chromium.org>
Tested-by: Arman Uguray <armansito@chromium.org>
/external/autotest/client/cros/cellular/pseudo_modem.py
d54ba82b6a20a34b5f72dd40f15e335f7a20c6ef 01-Jun-2012 Jason Glasgow <jglasgow@chromium.org> pseudo_modem: Add support for simulation of SMS messages

Added support for simulation of delivering SMS messages.

BUG=chromium-os:28421
TEST=run the pseudo_modem.py manual. Watch UI.

Change-Id: I3e0386d076888e2076e1cd16965feeb40c6d7750
Reviewed-on: https://gerrit.chromium.org/gerrit/24312
Tested-by: Jason Glasgow <jglasgow@chromium.org>
Reviewed-by: Stanley Wong <stanleyw@chromium.org>
Commit-Ready: Jason Glasgow <jglasgow@chromium.org>
/external/autotest/client/cros/cellular/pseudo_modem.py
5eff4080ae483fb090c1e361f9bab5a367398e8f 21-Apr-2012 Jason Glasgow <jglasgow@chromium.org> autotest: provide a fake implementation of the ModemManager1 interface

A python pseudo modem which can be used to test shill with the newest
ModemManager1 dbus interface on a virtual machine. This will allow
one to write autotests which do not depend on physical hardware.

BUG=none
TEST=none

Change-Id: I71886b5d6d17dc46656875a06447e7b94f7ab126
Reviewed-on: https://gerrit.chromium.org/gerrit/23068
Commit-Ready: Jason Glasgow <jglasgow@chromium.org>
Reviewed-by: Jason Glasgow <jglasgow@chromium.org>
Tested-by: Jason Glasgow <jglasgow@chromium.org>
/external/autotest/client/cros/cellular/pseudo_modem.py