Home
last modified time | relevance | path

Searched refs:test_env (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/external/ComputeLibrary/tests/
DSConscript49 test_env = env.Clone()
50 vars.Update(test_env)
52 Help(new_options.GenerateHelpText(test_env))
57 option_value = test_env[opt]
68 test_env.Append(LIBS = arm_compute_test_framework)
72 test_env.Append(CXXFLAGS = ['-ffp-contract=off'])
75 if 'g++' in test_env['CXX'] and '-Wnoexcept' in test_env['CXXFLAGS']:
76 test_env['CXXFLAGS'].remove("-Wnoexcept")
80 if 'macos' in test_env['os']:
89 test_env.Append(LIBS = [arm_compute_graph_a, arm_compute_a])
[all …]
/external/python/jinja/tests/
Dtest_imports.py12 def test_env(): function
27 def test_context_imports(self, test_env): argument
28 t = test_env.from_string('{% import "module" as m %}{{ m.test() }}')
30 t = test_env.from_string(
34 t = test_env.from_string(
38 t = test_env.from_string('{% from "module" import test %}{{ test() }}')
40 t = test_env.from_string(
44 t = test_env.from_string(
49 def test_import_needs_name(self, test_env): argument
50 test_env.from_string('{% from "foo" import bar %}')
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dcollective_test_util.cc144 auto test_env = std::make_unique<CollectiveTestEnv>(); in CreateCollectiveTestEnv() local
145 test_env->param_resolver = std::make_unique<TestParamResolver>(); in CreateCollectiveTestEnv()
148 test_env->col_exec_mgr = std::make_unique<TestCollectiveExecutorMgr>( in CreateCollectiveTestEnv()
149 test_env->param_resolver.get(), /*rma=*/nullptr); in CreateCollectiveTestEnv()
150 test_env->num_workers = num_workers; in CreateCollectiveTestEnv()
151 test_env->num_devices_per_worker = num_devices_per_worker; in CreateCollectiveTestEnv()
152 test_env->device_type = device_type; in CreateCollectiveTestEnv()
168 test_env->device_mgr = std::make_unique<StaticDeviceMgr>(std::move(devices)); in CreateCollectiveTestEnv()
170 test_env->device_resolver = in CreateCollectiveTestEnv()
171 std::make_unique<DeviceResolverLocal>(test_env->device_mgr.get()); in CreateCollectiveTestEnv()
[all …]
/external/autotest/client/site_tests/cellular_SafetyDance/
Dcellular_SafetyDance.py66 lambda: not self.test_env.modem.IsEnabled(),
69 lambda: not self.test_env.shill.find_cellular_service_object(),
76 self.test_env.shill.manager.EnableTechnology('cellular'))
81 self.test_env.shill.manager.DisableTechnology('cellular'))
95 return not self.test_env.shill.find_cellular_service_object()
101 service = self.test_env.shill.wait_for_cellular_service_object(
116 self.test_env.shill.connect_service_synchronous(
126 service = self.test_env.shill.wait_for_cellular_service_object(
132 self.test_env.shill.disconnect_service_synchronous(
158 self.device = self.test_env.shill.find_cellular_device_object()
[all …]
Dcontrol.pseudomodem27 test_env = test_environment.CellularPseudoMMTestEnvironment(
29 job.run_test('cellular_SafetyDance', test_env=test_env, tag='pseudomodem_3GPP')
32 test_env = test_environment.CellularPseudoMMTestEnvironment(
34 job.run_test('cellular_SafetyDance', test_env=test_env, tag='pseudomodem_CDMA')
/external/autotest/client/site_tests/cellular_Smoke/
Dcellular_Smoke.py48 old_modem_info = self.test_env.modem.GetModemProperties()
51 device = self.test_env.shill.find_cellular_device_object()
55 service = self.test_env.shill.wait_for_cellular_service_object()
60 self.test_env.shill.connect_service_synchronous(
63 state = self.test_env.shill.get_dbus_property(
76 interface = self.test_env.shill.get_dbus_property(
97 self.test_env.shill.disconnect_service_synchronous(
102 new_modem_info = self.test_env.modem.GetModemProperties()
114 test_env, argument
119 with test_env, shill_context.ServiceAutoConnectContext(
[all …]
/external/autotest/client/site_tests/cellular_DisableWhileConnecting/
Dcontrol.pseudomodem27 test_env = test_environment.CellularPseudoMMTestEnvironment(
30 test_env=test_env,
37 test_env = test_environment.CellularPseudoMMTestEnvironment(
40 test_env=test_env,
48 test_env = test_environment.CellularPseudoMMTestEnvironment(
51 test_env=test_env,
58 test_env = test_environment.CellularPseudoMMTestEnvironment(
61 test_env=test_env,
Dcellular_DisableWhileConnecting.py112 self.test.test_env.shill.find_cellular_device_object()
117 self.test.test_env.shill.find_cellular_service_object()
119 self.test.test_env.bus.add_signal_receiver(
158 return self.test.test_env.shill.get_dbus_property(
183 return 'Gobi' in self.test.test_env.modem.path
198 self.simple_modem = self.test.test_env.modem.SimpleModem()
200 logging.info('Modem path: %s', self.test.test_env.modem.path)
207 service = self.test.test_env.shill.wait_for_cellular_service_object()
213 gobi_modem = self.test.test_env.modem.GobiModem()
251 return self.test.test_env.modem.GetModemProperties().get('Enabled', -1)
[all …]
/external/autotest/client/site_tests/cellular_SIMLocking/
Dcellular_SIMLocking.py64 if e.get_dbus_name() == self.test_env.shill.ERROR_INCORRECT_PIN:
77 if e.get_dbus_name() == self.test_env.shill.ERROR_INCORRECT_PIN:
88 self.test_env.shill.DEVICE_PROPERTY_SIM_LOCK_STATUS,
92 return self.test_env.shill.dbus2primitive(sim_lock_status)
99 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_ENABLED,
111 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_TYPE,
116 return lock_type == self.test_env.shill.VALUE_SIM_LOCK_TYPE_PIN
123 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_TYPE,
128 return lock_type == self.test_env.shill.VALUE_SIM_LOCK_TYPE_PUK
135 self.test_env.shill.PROPERTY_KEY_SIM_LOCK_RETRIES_LEFT,
[all …]
/external/autotest/client/site_tests/cellular_DisconnectFailure/
Dcellular_DisconnectFailure.py158 service = self.test_env.shill.find_cellular_service_object()
169 service = self.test_env.shill.find_cellular_service_object()
182 self.test_env = test_environment.CellularPseudoMMTestEnvironment(
187 with self.test_env:
212 service = self.test_env.shill.find_cellular_service_object()
213 self.test_env.shill.connect_service_synchronous(
217 self.test_env.shill.disconnect_service_synchronous(
238 service = self.test_env.shill.find_cellular_service_object()
239 self.test_env.shill.connect_service_synchronous(
243 self.test_env.shill.disconnect_service_synchronous(
[all …]
/external/autotest/server/cros/
Dresource_monitor_unittest.py30 def _initialize(self, test_env): argument
40 self.test_env = test_env
64 self.test_env.assertFalse(self.top_is_running,
66 self.test_env.assertFalse(self.top_output_file_is_open,
69 self.test_env.assertIsNone(self.top_output_file_path,
99 self.test_env.assertEqual(pid_to_kill, HostMock.TOP_PID,
102 self.test_env.assertTrue(self.top_is_running,
124 self.test_env.assertEqual(file_to_rm, self.top_output_file_path,
126 self.test_env.assertFalse(self.top_output_file_is_open,
129 self.test_env.assertFalse(self.top_is_running,
[all …]
/external/autotest/client/site_tests/cellular_StressEnable/
Dcontrol.pseudomodem24 test_env = test_environment.CellularPseudoMMTestEnvironment(
27 test_env=test_env)
30 test_env = test_environment.CellularPseudoMMTestEnvironment(
33 test_env=test_env)
/external/autotest/client/site_tests/cellular_ValidateTestEnvironment/
Dcontrol26 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
29 test_env=test_env,
32 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
35 test_env=test_env,
Dcontrol.att28 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
31 test_env=test_env,
34 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
37 test_env=test_env,
Dcontrol.softbank28 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
31 test_env=test_env,
34 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
37 test_env=test_env,
Dcontrol.ee28 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
31 test_env=test_env,
34 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
37 test_env=test_env,
Dcontrol.vodafone28 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
31 test_env=test_env,
34 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
37 test_env=test_env,
Dcontrol.sprint28 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
31 test_env=test_env,
34 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
37 test_env=test_env,
Dcontrol.kddi28 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
31 test_env=test_env,
34 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
37 test_env=test_env,
Dcontrol.amarisoft28 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
31 test_env=test_env,
34 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
37 test_env=test_env,
Dcontrol.tmobile28 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
31 test_env=test_env,
34 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
37 test_env=test_env,
Dcontrol.rakuten28 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
31 test_env=test_env,
34 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
37 test_env=test_env,
Dcontrol.verizon28 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
31 test_env=test_env,
34 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
37 test_env=test_env,
Dcontrol.docomo28 test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False)
31 test_env=test_env,
34 test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False)
37 test_env=test_env,
Dcellular_ValidateTestEnvironment.py15 def run_once(self, test_env): argument
17 with test_env:
18 self.test_env = test_env

12345678910>>...12