/external/autotest/client/site_tests/network_3GModemPresent/ |
network_3GModemPresent.py | 18 def run_once(self, test_env): 19 with test_env: 20 device = test_env.shill.find_cellular_device_object()
|
/external/autotest/client/site_tests/network_3GSafetyDance/ |
network_3GSafetyDance.py | 42 self.test_env.shill.manager.EnableTechnology('cellular')) 47 self.test_env.shill.manager.DisableTechnology('cellular')) 60 return not self.test_env.shill.find_cellular_service_object() 66 service = self.test_env.shill.wait_for_cellular_service_object( 72 self.test_env.shill.connect_service_synchronous( 82 service = self.test_env.shill.wait_for_cellular_service_object( 88 self.test_env.shill.disconnect_service_synchronous( 114 self.device = self.test_env.shill.find_cellular_device_object() 125 def run_once(self, test_env, ops=30, seed=None): 126 self.test_env = test_en [all...] |
/external/autotest/client/site_tests/cellular_DeferredRegistration/ |
cellular_DeferredRegistration.py | 31 service = self.test_env.shill.find_cellular_service_object() 32 self.test_env.shill.connect_service_synchronous( 34 timeout_seconds=self.test_env.shill.SERVICE_CONNECT_TIMEOUT) 52 if self.test_env.shill.find_cellular_service_object() is None: 64 if self.test_env.shill.find_cellular_service_object() is not None: 75 pseudomm_args=({'family': '3GPP'},)) as self.test_env:
|
/external/autotest/client/site_tests/network_3GFailedConnect/ |
network_3GFailedConnect.py | 75 service = self.test_env.shill.find_cellular_service_object() 82 _, state, _ = self.test_env.shill.wait_for_property_in( 93 def run_once(self, test_env, connect_count=4): 94 with test_env: 95 self.test_env = test_env
|
/external/autotest/client/site_tests/network_3GSmokeTest/ |
network_3GSmokeTest.py | 48 service = self.test_env.flim.FindCellularService() 52 success, status = self.test_env.flim.DisconnectService( 89 service, state = cell_tools.ConnectToCellular(self.test_env.flim, 101 device = self.test_env.flim.GetObjectInterface( 133 def run_once(self, test_env, connect_count=5, sleep_kludge=5, 135 with test_env: 136 self.test_env = test_env
|
/external/autotest/client/site_tests/network_3GStressEnable/ |
network_3GStressEnable.py | 46 def run_once(self, test_env, cycles=3, min=15, max=25): 47 with test_env, shill_context.ServiceAutoConnectContext( 48 test_env.shill.find_cellular_service_object, False): 49 self.device = test_env.shill.find_cellular_device_object()
|
/external/autotest/client/site_tests/network_3GDisableWhileConnecting/ |
network_3GDisableWhileConnecting.py | 109 self.test.test_env.shill.find_cellular_device_object() 114 self.test.test_env.shill.find_cellular_service_object() 116 self.test.test_env.bus.add_signal_receiver( 178 return 'Gobi' in self.test.test_env.modem.path 193 self.simple_modem = self.test.test_env.modem.SimpleModem() 195 logging.info('Modem path: %s', self.test.test_env.modem.path) 202 service = self.test.test_env.shill.wait_for_cellular_service_object() 208 gobi_modem = self.test.test_env.modem.GobiModem() 246 return self.test.test_env.modem.GetModemProperties().get('Enabled', -1) 249 self.test.test_env.modem.Enable [all...] |
/external/autotest/client/site_tests/network_3GDisconnectFailure/ |
network_3GDisconnectFailure.py | 157 service = self.test_env.shill.find_cellular_service_object() 168 service = self.test_env.shill.find_cellular_service_object() 181 self.test_env = test_environment.CellularPseudoMMTestEnvironment( 186 with self.test_env: 211 service = self.test_env.shill.find_cellular_service_object() 212 self.test_env.shill.connect_service_synchronous( 216 self.test_env.shill.disconnect_service_synchronous( 237 service = self.test_env.shill.find_cellular_service_object() 238 self.test_env.shill.connect_service_synchronous( 242 self.test_env.shill.disconnect_service_synchronous [all...] |
/external/autotest/client/site_tests/network_SIMLocking/ |
network_SIMLocking.py | 63 if e.get_dbus_name() == self.test_env.shill.ERROR_INCORRECT_PIN: 76 if e.get_dbus_name() == self.test_env.shill.ERROR_INCORRECT_PIN: 87 self.test_env.shill.DEVICE_PROPERTY_SIM_LOCK_STATUS, 91 return self.test_env.shill.dbus2primitive(sim_lock_status) 98 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_ENABLED, 110 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_TYPE, 115 return lock_type == self.test_env.shill.VALUE_SIM_LOCK_TYPE_PIN 122 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_TYPE, 127 return lock_type == self.test_env.shill.VALUE_SIM_LOCK_TYPE_PUK 134 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_RETRIES_LEFT [all...] |
/external/autotest/client/site_tests/cellular_OutOfCreditsSubscriptionState/ |
cellular_OutOfCreditsSubscriptionState.py | 31 self.test_env.shill.disable_modem_for_test_setup() 41 self.test_env.shill.manager.EnableTechnology( 60 self.test_env.shill.wait_for_cellular_service_object() 74 self.test_env.shill.wait_for_cellular_service_object() 87 self.test_env.shill.wait_for_cellular_service_object() 106 self.test_env = test_environment.CellularPseudoMMTestEnvironment( 108 with self.test_env, shill_context.ServiceAutoConnectContext( 109 self.test_env.shill.find_cellular_service_object, False):
|
/external/autotest/client/site_tests/network_CDMAActivate/ |
network_CDMAActivate.py | 130 service = self.test.test_env.shill.find_cellular_service_object() 163 service = self.test.test_env.shill.find_cellular_service_object() 219 success, state, _ = self.test_env.shill.wait_for_property_in( 220 self.test_env.shill.find_cellular_service_object(), 235 modem = self.test_env.shill.find_cellular_device_object() 236 self.test_env.shill.reset_modem(modem) 247 self.test_env = test_environment.CellularPseudoMMTestEnvironment( 249 with self.test_env:
|
/external/lisa/libs/utils/android/ |
workload.py | 37 def __init__(self, test_env): 41 test_env: target test environment 43 self._te = test_env 44 self._target = test_env.target 58 def _check_availables(cls, test_env): 66 cls._packages = test_env.target.list_packages() 88 def getInstance(cls, test_env, name): 95 cls._check_availables(test_env) 101 ret_cls = cls._availables[name.lower()](test_env) 104 if ('modules' in test_env.conf) and ('cgroups' in test_env.conf['modules']) [all...] |
/external/autotest/client/site_tests/network_3GIdentifiers/ |
network_3GIdentifiers.py | 89 def run_once(self, test_env): 91 with test_env: 92 device = test_env.shill.find_cellular_device_object() 93 service = test_env.shill.find_cellular_service_object() 98 modem_props = test_env.modem.GetModemProperties()
|
/external/autotest/client/site_tests/cellular_ServiceName/ |
cellular_ServiceName.py | 95 self.test_env.shill.wait_for_cellular_service_object() 112 self.test_env = test_environment.CellularPseudoMMTestEnvironment( 116 with self.test_env: 130 self.test_env = test_environment.CellularPseudoMMTestEnvironment( 135 with self.test_env: 144 self.test_env = test_environment.CellularPseudoMMTestEnvironment( 148 with self.test_env:
|
/external/autotest/client/site_tests/network_3GModemControl/ |
network_3GModemControl.py | 202 lambda: not self.test_env.modem.IsConnectingOrDisconnecting(), 216 lambda: self.CompareModemPowerState(self.test_env.modem, False), 222 lambda: not self.test_env.shill.find_cellular_service_object(), 239 lambda: self.CompareModemPowerState(self.test_env.modem, True), 246 service = self.test_env.shill.wait_for_cellular_service_object() 263 self.test_env.shill.find_cellular_service_object(), 287 technology_family = self.test_env.modem.GetCurrentTechnologyFamily() 337 service = self.test_env.shill.find_cellular_service_object() 347 def run_once(self, test_env, autoconnect, mixed_iterations=2, 349 self.test_env = test_en [all...] |
/external/autotest/client/cros/ |
webstore_test.py | 95 def _get_chrome_flags(test_env): 100 if test_env == TestEnv.prod: 107 }[test_env] 112 }[test_env] 130 def initialize(self, test_env=TestEnv.sandbox, 135 @param test_env: The test environment to use 143 self.test_env = test_env 144 self._chrome_flags = _get_chrome_flags(test_env) 154 }[test_env] [all...] |
/external/chromium-trace/catapult/devil/ |
PRESUBMIT.py | 23 test_env = dict(input_api.environ) 24 test_env.update({ 38 kwargs={'env': test_env},
|
/external/libmojo/third_party/catapult/devil/ |
PRESUBMIT.py | 23 test_env = dict(input_api.environ) 24 test_env.update({ 43 env=test_env)
|
/external/autotest/client/site_tests/ui_SettingsPage/ |
ui_SettingsPage.py | 49 test_env = test_environment.CellularPseudoMMTestEnvironment( 54 with test_env:
|
/external/autotest/server/site_tests/android_ACTS/ |
android_ACTS.py | 219 test_env = package.create_environment( 225 test_env.install_sl4a_apk() 228 test_env.install_apk(apk) 230 test_env.setup_enviroment(python_bin=override_python_bin) 232 test_env.upload_config(config_file) 236 test_env.upload_config(additional_config) 239 test_env.upload_campaign(test_file) 241 results = test_env.run_test(
|
/external/lisa/libs/utils/android/workloads/ |
camera_preview.py | 38 def __init__(self, test_env): 39 super(CameraPreview, self).__init__(test_env)
|
camera_startup.py | 38 def __init__(self, test_env): 39 super(CameraStartup, self).__init__(test_env)
|
idle_resume.py | 45 def __init__(self, test_env): 46 super(IdleResume, self).__init__(test_env)
|
suspend_resume.py | 45 def __init__(self, test_env): 46 super(SuspendResume, self).__init__(test_env)
|
/external/autotest/client/site_tests/network_LTEActivate/ |
network_LTEActivate.py | 264 success, state, duration = self.test_env.shill.wait_for_property_in( 285 lambda: (self.test_env.shill.find_cellular_service_object() 291 service = self.test_env.shill.find_cellular_service_object() 301 device = self.test_env.shill.find_cellular_device_object() 315 self.test_env.shill.reset_modem(self.FindCellularDevice()) 328 self.test_env = test_environment.CellularPseudoMMTestEnvironment( 333 with self.test_env:
|