/external/ComputeLibrary/tests/ |
D | SConscript | 49 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/ |
D | test_imports.py | 12 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/ |
D | collective_test_util.cc | 144 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/ |
D | cellular_SafetyDance.py | 66 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 …]
|
D | control.pseudomodem | 27 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/ |
D | cellular_Smoke.py | 48 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/ |
D | control.pseudomodem | 27 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,
|
D | cellular_DisableWhileConnecting.py | 112 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/ |
D | cellular_SIMLocking.py | 64 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/ |
D | cellular_DisconnectFailure.py | 158 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/ |
D | resource_monitor_unittest.py | 30 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/ |
D | control.pseudomodem | 24 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/ |
D | control | 26 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,
|
D | control.att | 28 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,
|
D | control.softbank | 28 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,
|
D | control.ee | 28 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,
|
D | control.vodafone | 28 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,
|
D | control.sprint | 28 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,
|
D | control.kddi | 28 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,
|
D | control.amarisoft | 28 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,
|
D | control.tmobile | 28 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,
|
D | control.rakuten | 28 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,
|
D | control.verizon | 28 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,
|
D | control.docomo | 28 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,
|
D | cellular_ValidateTestEnvironment.py | 15 def run_once(self, test_env): argument 17 with test_env: 18 self.test_env = test_env
|