Home
last modified time | relevance | path

Searched refs:dargs (Results 1 – 25 of 63) sorted by relevance

123

/external/autotest/server/cros/dynamic_suite/
Dfrontend_wrappers.py42 def __init__(self, timeout_min=30, delay_sec=10, **dargs): argument
50 super(RetryingAFE, self).__init__(**dargs)
53 def run(self, call, **dargs): argument
63 def _run(self, call, **dargs): argument
64 return super(RetryingAFE, self).run(call, **dargs)
85 def _run_in_child_thread(self, call, **dargs): argument
86 return super(RetryingAFE, self).run(call, **dargs)
90 dargs['sleep'] = self.delay_sec
91 dargs['backoff_factor'] = backoff
94 self, call, **dargs)
[all …]
/external/autotest/client/common_lib/test_utils/
Dmock.py135 def __init__(self, symbol, return_obj, *args, **dargs): argument
139 self.dargs = dict((key, equality_comparator(value))
140 for key, value in dargs.iteritems())
144 def match(self, *args, **dargs): argument
145 if len(args) != len(self.args) or len(dargs) != len(self.dargs):
153 for key, value in dargs.iteritems():
154 if key not in self.dargs:
156 if not self.dargs[key].is_satisfied_by(value):
160 for key in self.dargs.iterkeys():
161 if key not in dargs:
[all …]
/external/autotest/client/common_lib/
Dtest.py257 def warmup(self, *args, **dargs): argument
267 postprocess_profiled_run, args, dargs): argument
284 postprocess_profiled_run, args, dargs)
296 postprocess_profiled_run, args, dargs): argument
310 *args, **dargs)
313 self.run_once(*args, **dargs)
328 constraints=(), *args, **dargs): argument
381 dargs)
398 dargs)
402 self.run_once_profiling(postprocess_profiled_run, *args, **dargs)
[all …]
Dlog.py42 def recorded_func(self, *args, **dargs): argument
43 logged = dargs.pop('logged', True)
48 return fn(self, *args, **dargs)
55 result = fn(self, *args, **dargs)
68 def decorated_func(*args, **dargs): argument
70 fn(*args, **dargs)
Dprofiler_manager.py8 def __init__(self, name, *args, **dargs): argument
10 error.JobError.__init__(self, msg, *args, **dargs)
23 def load_profiler(self, profiler, args, dargs): argument
30 def add(self, profiler, *args, **dargs): argument
32 new_profiler = self.load_profiler(profiler, args, dargs)
Dbase_job.py130 def wrapped_method(self, *args, **dargs): argument
135 return method(self, *args, **dargs)
155 def wrapped_method(self, *args, **dargs): argument
158 return method(self, *args, **dargs)
986 def __init__(self, *args, **dargs): argument
1001 self._find_resultdir(*args, **dargs), True)
1008 if dargs.has_key('options'):
1009 self._tap = self._tap_init(dargs['options'].tap_report)
1054 def _find_resultdir(self, *args, **dargs): argument
1115 def _build_tagged_test_name(self, testname, dargs): argument
[all …]
/external/autotest/server/
Dfrontend.py95 def run(self, call, **dargs): argument
101 print 'DEBUG: %s %s' % (call, dargs)
103 result = utils.strip_unicode(rpc_call(**dargs))
108 print 'FAILED RPC CALL: %s %s' % (call, dargs)
219 def get_hosts(self, hostnames=(), status=None, label=None, **dargs): argument
220 query_args = dict(dargs)
228 def get_hostnames(self, status=None, label=None, **dargs): argument
233 self.get_hosts(status=status, label=label, **dargs)]
245 def create_host(self, hostname, **dargs): argument
246 id = self.run('add_host', hostname=hostname, **dargs)
[all …]
Dprofiler.py52 def initialize(self, *args, **dargs): argument
54 _validate_args(dargs)
55 self.args, self.dargs = args, dargs
58 def setup(self, *args, **dargs): argument
59 assert self.args == args and self.dargs == dargs
Dtest.py244 def runtest(job, url, tag, args, dargs): argument
255 disable_before_test_hook = dargs.pop('disable_before_test_sysinfo', False)
256 disable_after_test_hook = dargs.pop('disable_after_test_sysinfo', False)
257 disable_before_iteration_hook = dargs.pop(
259 disable_after_iteration_hook = dargs.pop(
262 if not dargs.pop('disable_sysinfo', False):
279 host = dargs[mytest.host_parameter]
288 common_test.runtest(job, url, tag, args, dargs, locals(), globals(),
Dsite_server_job.py47 def __init__(self, *args, **dargs): argument
48 super(site_server_job, self).__init__(*args, **dargs)
51 def run(self, *args, **dargs): argument
62 dargs.setdefault('namespace', gtest_run).update(gtest_run)
65 super(site_server_job, self).run(*args, **dargs)
Dprofilers.py43 def load_profiler(self, profiler_name, args, dargs): argument
45 newprofiler.initialize(*args, **dargs)
46 newprofiler.setup(*args, **dargs) # lazy setup is done client-side
50 def add(self, profiler, *args, **dargs): argument
51 super(profilers, self).add(profiler, *args, **dargs)
52 self.add_log[profiler] = (args, dargs)
182 profilers_args = [(p.name, p.args, p.dargs)
/external/autotest/server/hosts/
Dremote.py34 def _initialize(self, hostname, autodir=None, *args, **dargs): argument
35 super(RemoteHost, self)._initialize(*args, **dargs)
102 reboot_cmd=None, **dargs): argument
127 self.reboot_setup(label=label, kernel_args=kernel_args, **dargs)
160 **dargs)
168 def suspend(self, timeout, suspend_cmd, **dargs): argument
214 def reboot_followup(self, *args, **dargs): argument
215 super(RemoteHost, self).reboot_followup(*args, **dargs)
220 def wait_for_restart(self, timeout=DEFAULT_REBOOT_TIMEOUT, **dargs): argument
226 super(RemoteHost, self).wait_for_restart(timeout=timeout, **dargs)
Dbase_classes.py57 def __init__(self, *args, **dargs): argument
58 super(Host, self).__init__(*args, **dargs)
66 *args, **dargs): argument
67 super(Host, self)._initialize(*args, **dargs)
Dmoblab_host.py45 def _initialize(self, *args, **dargs): argument
46 super(MoblabHost, self)._initialize(*args, **dargs)
49 if dargs.get('retain_image_storage') is not True:
52 self.web_address = dargs.get('web_address', self.hostname)
53 timeout_min = dargs.get('rpc_timeout_min', 1)
116 def reboot(self, **dargs): argument
118 super(MoblabHost, self).reboot(**dargs)
Dteststation_host.py57 def _initialize(self, hostname='localhost', *args, **dargs): argument
70 **dargs)
114 def run(self, cmd, *args, **dargs): argument
130 return super(TestStationHost, self).run(cmd, *args, **dargs)
/external/autotest/server/cros/faft/
Drpc_proxy.py32 def __call__(self, *args, **dargs): argument
33 return self.__call_method(self.__name, *args, **dargs)
61 def __call_faft_client(self, name, *args, **dargs): argument
72 return getattr(self._faft_client, name)(*args, **dargs)
80 return getattr(self._faft_client, name)(*args, **dargs)
/external/autotest/client/bin/
Djob.py41 def wrapped(self, *args, **dargs): argument
43 return f(self, *args, **dargs)
532 def _runtest(self, url, tag, timeout, args, dargs): argument
534 l = lambda : test.runtest(self, url, tag, args, dargs)
555 def _run_test_base(self, url, *args, **dargs): argument
572 testname, subdir, tag = self._build_tagged_test_name(testname, dargs)
575 timeout = dargs.pop('timeout', None)
584 self._runtest(url, tag, timeout, args, dargs)
596 def run_test(self, url, *args, **dargs): argument
610 **dargs)
[all …]
Dsite_job.py22 def _runtest(self, url, timeout, tag, args, dargs): argument
27 base_client_job._runtest(self, url, timeout,tag, args, dargs)
33 def run_test(self, url, *args, **dargs): argument
38 passed = base_client_job.run_test(self, url, *args, **dargs)
Dpartition.py250 def parallel(partitions, method_name, *args, **dargs): argument
266 print_args += ['%s=%s' % (key, dargs[key]) for key in dargs.keys()]
271 getattr(part, method_name)(*args, **dargs)
331 tag, fs_opt, do_fsck=True, **dargs): argument
361 job.run_test(test, tag=tag, partitions=partitions, dir=mountpoint, **dargs)
429 def run_test(self, test, **dargs): argument
430 self.job.run_test(test, dir=self.get_mountpoint(), **dargs)
453 def run_test_on_partition(self, test, mountpoint_func, **dargs): argument
464 tag = dargs.get('tag')
473 suffix = dargs.pop('suffix', None)
[all …]
Dprofilers.py8 def load_profiler(self, profiler, args, dargs): argument
28 newprofiler.initialize(*args, **dargs)
31 *args, **dargs)
/external/autotest/server/site_tests/factory_Basic/
Dtest_list.fwteam_small156 dargs={'disable_input_on_fail':True})
186 dargs={'method': 'GetDeviceInfo',
196 dargs={'use_shopfloor_device_data': True}),
218 dargs={'bus': 7,
226 dargs={'kern_a_device': 'mmcblk0p4',
240 dargs={'timeout_secs': 120,
253 dargs={'mode': 'file',
263 dargs={'drop_caches': True,
272 dargs={'duration_secs': _RUNIN_SAT_DURATION_SECS}),
279 dargs={'face_recognition': False,
[all …]
Dtest_list.suspend_basic42 dargs={'disable_input_on_fail':True})
61 dargs=_TEST_ARGS),
79 dargs=_TEST_ARGS),
91 dargs=_TEST_ARGS),
/external/autotest/client/common_lib/hosts/
Dbase_classes.py70 def __init__(self, *args, **dargs): argument
71 self._initialize(*args, **dargs)
74 def _initialize(self, *args, **dargs): argument
112 def run_output(self, command, *args, **dargs): argument
113 return self.run(command, *args, **dargs).stdout.rstrip()
128 def reboot_setup(self, *args, **dargs): argument
132 def reboot_followup(self, *args, **dargs): argument
213 log_failure=True, old_boot_id=None, **dargs): argument
216 key_string = 'Reboot.%s' % dargs.get('board')
237 self.reboot_followup(**dargs)
[all …]
/external/autotest/server/cros/multimedia/
Dremote_facade_factory.py40 def __call__(self, *args, **dargs): argument
41 return self.__call_method(self.__name, *args, **dargs)
72 def __call_proxy(self, name, *args, **dargs): argument
87 pprint.pformat(dargs)))
89 value = getattr(self._xmlrpc_proxy, name)(*args, **dargs)
101 value = getattr(self._xmlrpc_proxy, name)(*args, **dargs)
/external/autotest/client/profilers/blktrace/
Dblktrace.py13 def initialize(self, **dargs): argument
24 self.device = dargs.get('device', None)
27 def setup(self, tarball='blktrace.tar.bz2', **dargs): argument

123