Lines Matching refs:pipes
9 import pipes
57 utils.system('adb keygen ' + pipes.quote(key_path))
145 _android_shell('chown shell ' + pipes.quote(_ANDROID_ADB_KEYS_PATH))
146 _android_shell('restorecon ' + pipes.quote(_ANDROID_ADB_KEYS_PATH))
209 pipes.quote(package), pipes.quote(permission)))
227 output = adb_cmd('shell %s' % pipes.quote(cmd), **kwargs)
374 output = adb_shell('pgrep -c -f %s' % pipes.quote(process_name))
384 pipes.quote(filename))).find("FileExists") >= 0
393 adb_cmd('pull %s %s' % (pipes.quote(filename),
394 pipes.quote(tmpfile.name)))
411 adb_cmd('push %s %s' % (pipes.quote(tmpfile.name),
412 pipes.quote(filename)))
421 android_cmd = 'cat > %s' % pipes.quote(filename)
422 cros_cmd = 'android-sh -c %s' % pipes.quote(android_cmd)
442 'stat -c "%s" %s' % (' '.join(mapping.keys()), pipes.quote(filename)))
455 adb_shell('rm -f %s' % pipes.quote(filename))
486 return utils.system_output('android-sh -c {}'.format(pipes.quote(cmd)),
540 output = adb_shell('pm path {}'.format(pipes.quote(package)))
913 pipes.quote(os.path.join(