Home
last modified time | relevance | path

Searched refs:kwargs (Results 1 – 25 of 31) sorted by relevance

12

/test/framework/harnesses/host_controller/campaigns/
Dcampaign_common.py37 def HasAttr(attr, **kwargs): argument
39 return True if attr in kwargs and kwargs[attr] else False
75 def EmitFetchCommands(**kwargs): argument
88 if isinstance(kwargs["build_target"], list):
89 build_target = kwargs["build_target"][0]
91 build_target = kwargs["build_target"]
92 shards = int(kwargs["shards"])
93 suite_name, _ = kwargs["test_name"].split("/")
94 serials = kwargs["serial"]
96 if HasAttr("pab_account_id", **kwargs):
[all …]
Dgts.py20 def EmitConsoleCommands(**kwargs): argument
26 return campaign_common.EmitCommonConsoleCommands(**kwargs)
Dvts.py20 def EmitConsoleCommands(**kwargs): argument
26 return campaign_common.EmitCommonConsoleCommands(**kwargs)
Dsts.py20 def EmitConsoleCommands(**kwargs): argument
26 return campaign_common.EmitCommonConsoleCommands(**kwargs)
Dcts.py20 def EmitConsoleCommands(**kwargs): argument
26 return campaign_common.EmitCommonConsoleCommands(**kwargs)
/test/framework/harnesses/host_controller/command_processor/
Dcommand_reproduce.py167 kwargs = {}
169 kwargs["shards"] = str(len(serial))
170 kwargs["test_name"] = "%s/%s" % (report_msg.suite_name.lower(),
172 kwargs["serial"] = serial
175 kwargs["manifest_branch"] = schedule_config.manifest_branch
176 kwargs["build_target"] = build_target_msg.name
177 kwargs["build_id"] = report_msg.vendor_build_id
178 kwargs["pab_account_id"] = schedule_config.pab_account_id
179 if kwargs["manifest_branch"].startswith("gs://"):
180 kwargs[
[all …]
/test/vti/test_serving/gae/webapp/src/testing/
Dunittest_base.py96 **kwargs): argument
115 if arg in skip_list or (arg in set_or_empty and arg not in kwargs):
117 if arg in kwargs:
118 value = kwargs[arg]
150 **kwargs): argument
230 if arg in skip_list or (arg in set_or_empty and arg not in kwargs):
232 if arg in kwargs:
233 value = kwargs[arg]
/test/vts/utils/python/controllers/
Dadb.py184 def adb_call(*args, **kwargs): argument
189 elif "timeout" not in kwargs.keys():
191 kwargs["timeout"] = DEFAULT_ADB_LONG_TIMEOUT
193 **kwargs)
/test/vti/test_serving/gae/webapp/src/handlers/
Dbase.py125 def get(self, *args, **kwargs): argument
129 def post(self, *args, **kwargs): argument
133 def put(self, *args, **kwargs): argument
137 def delete(self, *args, **kwargs): argument
141 def head(self, *args, **kwargs): argument
/test/vts/runners/host/
Dbase_test.py261 def unpack_userparams(self, req_param_names=[], opt_param_names=[], **kwargs): argument
263 return self.getUserParams(req_param_names, opt_param_names, **kwargs)
265 def getUserParams(self, req_param_names=[], opt_param_names=[], **kwargs): argument
287 for k, v in kwargs.items():
414 def getUserConfigStr(self, key, **kwargs): argument
419 kwargs["to_str"] = True
422 **kwargs)
424 def getUserConfigInt(self, key, **kwargs): argument
431 **kwargs)
433 def getUserConfigBool(self, key, **kwargs): argument
[all …]
Dsignals.py33 def wrapper(*args, **kwargs): argument
34 func(*args, **kwargs)
Dasserts.py78 def assertRaises(expected_exception, extras=None, *args, **kwargs): argument
102 **kwargs): argument
/test/framework/harnesses/host_controller/tfc/
Dcommand_task.py34 def __init__(self, task_id, command_line, device_serials, **kwargs): argument
39 **kwargs)
Dapi_message.py21 def __init__(self, all_keys, **kwargs): argument
32 for key, value in kwargs.iteritems():
Drequest.py43 def __init__(self, cluster, command_line, run_target, user, **kwargs): argument
58 **kwargs)
Ddevice_info.py51 def __init__(self, device_serial, **kwargs): argument
59 device_serial=device_serial, **kwargs)
Dcommand_attempt.py73 def __init__(self, task_id, attempt_id, hostname, device_serial, **kwargs): argument
88 **kwargs)
Dtfc_client.py167 def BuildHttpRequest(unused_http, *args, **kwargs): argument
170 return http.HttpRequest(thread_local.http, *args, **kwargs)
/test/vts/utils/python/common/
Dtimeout_utils.py50 def wrapper(*args, **kwargs): argument
56 result = func(*args, **kwargs)
/test/vts/utils/python/mirror/
Dhal_mirror.py133 def GetHidlCallbackInterface(self, interface_name, **kwargs): argument
159 if api.name in kwargs:
160 function_pointer = kwargs[api.name]
/test/framework/harnesses/host_controller/
Dconsole.py159 filepath, kwargs = vti_client.LeaseJob(socket.gethostname(), True)
160 logging.debug("Job %s -> %s" % (os.getpid(), kwargs))
170 for serial in kwargs["serial"]:
180 filepath), **kwargs)
194 for serial in kwargs["serial"]:
560 def ProcessConfigurableScript(self, script_file_path, **kwargs): argument
589 % kwargs["build_target"])
594 commands = script_module.EmitConsoleCommands(**kwargs)
609 for serial in kwargs["serial"]:
618 suite_name, plan_name = kwargs["test_name"].split("/")
Dinvocation_thread_test.py61 for args, kwargs in self._tfc_client.SubmitCommandEvents.call_args_list:
71 operation_types = [args[0].type for args, kwargs in
/test/vts/utils/python/fuzzer/
DGenePool.py23 def CreateGenePool(count, generator, fuzzer, **kwargs): argument
37 gene = generator(**kwargs)
/test/framework/harnesses/host_controller/build/
Dbuild_info.py53 def update(self, other=None, **kwargs): argument
65 for k, v in kwargs.items():
/test/framework/harnesses/host_controller/tradefed/
Dremote_operation.py35 def __init__(self, type, **kwargs): argument
42 self._obj = kwargs

12