c43ea562a0447330b26eeec3c7b1fb935958e985 |
|
08-Feb-2014 |
Prathmesh Prabhu <pprabhu@chromium.org> |
pseudomodem: Some simple style fixes. Fix where this doesn't hold: - Two lines between top level classes, functions, class methods. - No lines between @param/@returns/@raises in docstrings - One blank line at the end of docstring, unless it's a one line docstring. - Uniformity: Change to @returns and @raises. BUG=chromium:339312 TEST=None. Change-Id: I959aa27875531644fd0f34a54d0046a059dbf164 Reviewed-on: https://chromium-review.googlesource.com/185475 Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org> Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/client/cros/cellular/pseudomodem/cdma_activate_machine.py
|
c569e99b922542e7ddbbc4cd465fc8328ec16214 |
|
22-Jan-2014 |
Thieu Le <thieule@chromium.org> |
cellular: Refactor pseudomodem mm1.py into constants and errors. cros/cellular/mm1_constants.py: This module contains ModemManager specific constants which are used by the pseudomodem and a future ModemManager proxy. cros/cellular/pseudomodem/pm_constants.py: Pseudomodem specific constants (eg. testing interface, state machine names) cros/cellular/pseudomodem/pm_errors.py: Pseudomodem specific exception classes. BUG=chromium:219144 TEST=network_3GDisconnectFailure/control network_3GDisableWhileConnecting/control.pseudomodem network_3GFailedConnect/control.pseudomodem network_3GIdentifiers/control.pseudomodem network_3GModemControl/control.pseudomodem network_3GModemPresent/control.pseudomodem network_3GSafetyDance/control.pseudomodem network_3GScanningProperty/control network_3GSmokeTest/control.pseudomodem network_3GStressEnable/control.pseudomodem network_CDMAActivate/control network_ChromeCellularNetworkPresent/control network_ChromeCellularNetworkProperties/control network_ChromeCellularSmokeTest/control network_LTEActivate/control network_SIMLocking/control Change-Id: I7b02cf0ee6b1b73fb1eb7fcf0f10068e7515e465 Reviewed-on: https://chromium-review.googlesource.com/183526 Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Thieu Le <thieule@chromium.org> Commit-Queue: Thieu Le <thieule@chromium.org>
/external/autotest/client/cros/cellular/pseudomodem/cdma_activate_machine.py
|
1080b2fe7308469e0e24a85ef2bc2481fdb402d5 |
|
08-May-2013 |
Arman Uguray <armansito@chromium.org> |
cellular: pseudomodem: Support CDMA activation. Implemented fake 'OTA automatic activation' mechanism. BUG=chromium:219160 TEST=1. Initialize pseudo modem manager as 'not-activated' (use the -n flag). Not providing the '-n' flag to pseudomodem.py should initialize the modem as 'activated'. Note that the -n flag currently only works if "-f CDMA" is also passed. Verify that the CDMA ActivationState property is set to 'not-activated' when -n is present 2. Activate the modem using "mmcli -m 0 --cdma-activate=0000". Use mmcli to verify that the CDMA ActivationState property is set to 'activating'. 3. Wait 5 seconds. The modem should reset (i.e. runnin mmcli -m 0 should return an error. The modem should be available at mmcli -m 1.) The CDMA ActivationState property should be set to 'activated'. Change-Id: I0091ea5f6ab355914d27b1a402458bb9cbc130d0 Reviewed-on: https://gerrit.chromium.org/gerrit/50416 Commit-Queue: Arman Uguray <armansito@chromium.org> Reviewed-by: Arman Uguray <armansito@chromium.org> Tested-by: Arman Uguray <armansito@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org>
/external/autotest/client/cros/cellular/pseudomodem/cdma_activate_machine.py
|