Home
last modified time | relevance | path

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

/development/gsi/gsi_util/gsi_util/utils/
Dcmd_utils.py32 def _update_command_for_local(command, kwargs): argument
33 if kwargs.get('shell', False):
46 raise_on_error=True, sudo=False, **kwargs): argument
72 _update_command_for_local(command, kwargs)
75 if kwargs.pop('shell', False):
81 assert kwargs.get('stdout') in [None, PIPE]
82 kwargs['stdout'] = PIPE
84 assert kwargs.get('stderr') in [None, PIPE]
85 kwargs['stderr'] = PIPE
89 proc = subprocess.Popen(command, **kwargs)
[all …]
Dfile_utils.py23 def UnopenedTemporaryFile(**kwargs): argument
37 fd, path = tempfile.mkstemp(**kwargs)
/development/python-packages/adb/
Ddevice.py203 def _subprocess_check_output(*args, **kwargs): argument
205 return subprocess.check_output(*_get_subprocess_args(args), **kwargs)
213 def _subprocess_Popen(*args, **kwargs): argument
214 return subprocess.Popen(*_get_subprocess_args(args), **kwargs)
375 creationflags=0, **kwargs): argument
409 preexec_fn=preexec_fn, **kwargs)
/development/tools/repo_pull/
Drepo_pull.py68 def run(*args, **kwargs): argument
71 check = kwargs.pop('check', False)
74 stdin = kwargs.pop('input')
75 assert 'stdin' not in kwargs
76 kwargs['stdin'] = PIPE
80 proc = Popen(*args, **kwargs)
Drepo_review.py158 def _do_task(change, func, *args, **kwargs): argument
166 if res_code != kwargs.get('expected_http_code', 200):
169 errors = kwargs.get('errors')
/development/python-packages/fastboot/
Ddevice.py229 def _subprocess_check_output(*args, **kwargs): argument
231 return subprocess.check_output(*_get_subprocess_args(args), **kwargs)
/development/vndk/tools/sourcedr/blueprint/
Dvndk.py36 def get_property(self, *names, **kwargs): argument
44 return kwargs.get('default', None)
Danalyze_manifest_split.py71 def _get_property(attrs, *names, **kwargs): argument
78 return kwargs.get('default', None)
/development/tools/
Dmonkey61 def __init__(self,*args,**kwargs): argument
62 Exception.__init__(self,*args,**kwargs)
/development/vndk/tools/sourcedr/ninja/
Dninja.py44 def __init__(self, *args, **kwargs): argument
45 super(EvalEnv, self).__init__(*args, **kwargs)
/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py16 def __init__(self, *args, **kwargs): argument
17 super(MockedParser, self).__init__(*args, **kwargs)
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py155 def print_sb(*args, **kwargs): argument
157 sep = kwargs.get('sep', ' ')
158 end = kwargs.get('end', '\n')
159 out_file = kwargs.get('file', sys.stdout)
344 def __new__(cls, *args, **kwargs): argument
347 arg = kwargs.get(field_names[i])
4080 def __init__(self, *args, **kwargs): argument
4081 super(CheckDepCommandBase, self).__init__(*args, **kwargs)