/external/autotest/client/bin/ |
profiler.py | 8 def setup(self, *args, **dargs): 12 def initialize(self, *args, **dargs):
|
site_job.py | 22 def _runtest(self, url, timeout, tag, args, dargs): 27 base_client_job._runtest(self, url, timeout,tag, args, dargs) 33 def run_test(self, url, *args, **dargs): 38 passed = base_client_job.run_test(self, url, *args, **dargs)
|
profilers.py | 8 def load_profiler(self, profiler, args, dargs): 28 newprofiler.initialize(*args, **dargs) 31 *args, **dargs)
|
/external/autotest/server/hosts/ |
kvm_guest.py | 32 def _init(self, controlling_hypervisor, qemu_options, *args, **dargs): 45 super(KVMGuest, self)._initialize(hostname, *args, **dargs)
|
guest.py | 41 def _initialize(self, controlling_hypervisor, *args, **dargs): 51 super(Guest, self)._initialize(hostname, *args, **dargs)
|
plankton_host.py | 38 required_by_test=True, is_in_lab=None, *args, **dargs): 49 False, None, *args, **dargs)
|
base_classes.py | 57 def __init__(self, *args, **dargs): 58 super(Host, self).__init__(*args, **dargs) 66 *args, **dargs): 67 super(Host, self)._initialize(*args, **dargs)
|
teststation_host.py | 57 def _initialize(self, hostname='localhost', *args, **dargs): 70 **dargs) 114 def run(self, cmd, *args, **dargs): 130 return super(TestStationHost, self).run(cmd, *args, **dargs)
|
remote.py | 34 def _initialize(self, hostname, autodir=None, *args, **dargs): 35 super(RemoteHost, self)._initialize(*args, **dargs) 102 reboot_cmd=None, **dargs): 127 self.reboot_setup(label=label, kernel_args=kernel_args, **dargs) 160 **dargs) 168 def suspend(self, timeout, suspend_cmd, **dargs): 214 def reboot_followup(self, *args, **dargs): 215 super(RemoteHost, self).reboot_followup(*args, **dargs) 220 def wait_for_restart(self, timeout=DEFAULT_REBOOT_TIMEOUT, **dargs): 226 super(RemoteHost, self).wait_for_restart(timeout=timeout, **dargs) [all...] |
moblab_host.py | 45 def _initialize(self, *args, **dargs): 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): 118 super(MoblabHost, self).reboot(**dargs)
|
/external/autotest/server/cros/dynamic_suite/ |
frontend_wrappers.py | 42 def __init__(self, timeout_min=30, delay_sec=10, **dargs): 50 super(RetryingAFE, self).__init__(**dargs) 53 def run(self, call, **dargs): 63 def _run(self, call, **dargs): 64 return super(RetryingAFE, self).run(call, **dargs) 85 def _run_in_child_thread(self, call, **dargs): 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/ |
log.py | 42 def recorded_func(self, *args, **dargs): 43 logged = dargs.pop('logged', True) 48 return fn(self, *args, **dargs) 55 result = fn(self, *args, **dargs) 68 def decorated_func(*args, **dargs): 70 fn(*args, **dargs)
|
test.py | 257 def warmup(self, *args, **dargs): 267 postprocess_profiled_run, args, dargs): 284 postprocess_profiled_run, args, dargs) 296 postprocess_profiled_run, args, dargs): 310 *args, **dargs) 313 self.run_once(*args, **dargs) 328 constraints=(), *args, **dargs): 381 dargs) 398 dargs) 402 self.run_once_profiling(postprocess_profiled_run, *args, **dargs) [all...] |
profiler_manager.py | 8 def __init__(self, name, *args, **dargs): 10 error.JobError.__init__(self, msg, *args, **dargs) 23 def load_profiler(self, profiler, args, dargs): 30 def add(self, profiler, *args, **dargs): 32 new_profiler = self.load_profiler(profiler, args, dargs)
|
/external/autotest/server/ |
profiler.py | 29 so you can pass *args and **dargs in directly, rather than having to 52 def initialize(self, *args, **dargs): 54 _validate_args(dargs) 55 self.args, self.dargs = args, dargs 58 def setup(self, *args, **dargs): 59 assert self.args == args and self.dargs == dargs
|
frontend.py | 95 def run(self, call, **dargs): 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): 220 query_args = dict(dargs) 228 def get_hostnames(self, status=None, label=None, **dargs): 233 self.get_hosts(status=status, label=label, **dargs)] 245 def create_host(self, hostname, **dargs): 246 id = self.run('add_host', hostname=hostname, **dargs) [all...] |
site_server_job.py | 47 def __init__(self, *args, **dargs): 48 super(site_server_job, self).__init__(*args, **dargs) 51 def run(self, *args, **dargs): 60 # Else, if present, namespace must be in dargs. 62 dargs.setdefault('namespace', gtest_run).update(gtest_run) 65 super(site_server_job, self).run(*args, **dargs)
|
afe_utils.py | 94 def machine_install_and_update_labels(host, *args, **dargs): 99 @param **dargs: dargs dict to pass to machine_install. 102 image_name = host.machine_install(*args, **dargs)
|
standalone_profiler.py | 24 def _encode_args(profiler, args, dargs): 27 parts += ["%s=%r" % darg for darg in dargs.iteritems()]
|
test.py | 244 def runtest(job, url, tag, args, dargs): 252 @param dargs: key-val based args to pass to the test. 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(),
|
/external/autotest/frontend/afe/ |
direct_afe.py | 17 def run(self, call, **dargs): 34 return func(**dargs
|
/external/autotest/client/common_lib/test_utils/ |
mock.py | 135 def __init__(self, symbol, return_obj, *args, **dargs): 139 self.dargs = dict((key, equality_comparator(value)) 140 for key, value in dargs.iteritems()) 144 def match(self, *args, **dargs): 145 if len(args) != len(self.args) or len(dargs) != len(self.dargs): 152 # check for incorrect 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) [all...] |
/external/autotest/server/cros/faft/ |
rpc_proxy.py | 32 def __call__(self, *args, **dargs): 33 return self.__call_method(self.__name, *args, **dargs) 61 def __call_faft_client(self, name, *args, **dargs): 68 @param dargs: The rest of dict-type arguments. 72 return getattr(self._faft_client, name)(*args, **dargs) 80 return getattr(self._faft_client, name)(*args, **dargs)
|
/external/autotest/client/profilers/blktrace/ |
blktrace.py | 13 def initialize(self, **dargs): 24 self.device = dargs.get('device', None) 27 def setup(self, tarball='blktrace.tar.bz2', **dargs):
|
/external/autotest/client/profilers/powertop/ |
powertop.py | 14 def setup(self, *args, **dargs):
|