Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 11 of 11) sorted by relevance

/development/gsi/gsi_util/gsi_util/utils/
Dcmd_utils.py89 proc = subprocess.Popen(command, **kwargs)
91 stdout, stderr = proc.communicate()
93 proc.wait() # no need to communicate; just wait.
100 command_in_log, proc.returncode)
102 log_level = logging.ERROR if proc.returncode != 0 else logging.INFO
108 if proc.returncode != 0 and raise_on_error:
109 raise subprocess.CalledProcessError(proc.returncode, command)
111 return CommandResult(proc.returncode,
/development/vndk/tools/elfcheck/elfcheck/
Dreadobj.py35 proc = subprocess.Popen(['readelf', '-h', path], stdout=subprocess.PIPE,
37 stdout = proc.communicate()[0]
46 proc = subprocess.Popen(['readelf', '-d', path], stdout=subprocess.PIPE,
48 stdout = proc.communicate()[0]
/development/scripts/
Dstacks35 if adb shell readlink /proc/$PID/exe | egrep -q '^/system/bin/app_process' ; then
37 if ! adb shell cat /proc/$PID/cmdline | egrep -q '^zygote'; then
Dadd-accounts35 proc = subprocess.Popen(args, stdout=subprocess.PIPE)
36 out = proc.stdout.read()
37 if proc.wait():
Dadd-accounts-sdk35 proc = subprocess.Popen(args, stdout=subprocess.PIPE)
36 out = proc.stdout.read()
37 if proc.wait():
Dgdbclient30 …echo `adb shell cat /proc/$1/status | grep -e "^TracerPid:" | sed "s/^TracerPid:[[:blank:]]//" | t…
110 local EXE=`adb shell readlink /proc/$PID/exe | tr -d '\r\n'`
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DAMControl.java58 Process proc = factory.start(); in execCmd() local
61 proc.getInputStream())); in execCmd()
68 reader = new BufferedReader(new InputStreamReader(proc.getErrorStream())); in execCmd()
/development/tools/repo_pull/
Drepo_pull.py80 proc = Popen(*args, **kwargs)
82 stdout, stderr = proc.communicate(stdin)
84 proc.kill()
85 proc.wait()
87 returncode = proc.wait()
344 proc = run(cmd, cwd=cwd, stderr=PIPE)
345 if proc.returncode != 0:
346 return (change, changes[i + 1:], cmd, proc.stderr)
/development/vndk/tools/header-checker/utils/
Dutils.py333 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
335 out, err = proc.communicate()
337 if proc.returncode != 0:
/development/apps/Development/src/com/android/development/
DBadBehaviorActivity.java104 public boolean appCrashed(String proc, int pid, String m, String m2, long time, String st) { in appCrashed() argument
112 public int appNotResponding(String proc, int pid, String st) { in appNotResponding() argument
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py1625 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
1626 stdout, stderr = proc.communicate()
1627 if proc.returncode != 0:
1628 raise subprocess.CalledProcessError(proc.returncode, cmd, stderr)