Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 12 of 12) 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-accounts-sdk35 proc = subprocess.Popen(args, stdout=subprocess.PIPE)
36 out = proc.stdout.read()
37 if proc.wait():
Dadd-accounts35 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'`
Dacov108 adb shell tar -czf - -C /data/misc/trace/$USER_ID/proc/self/cwd $ANDROID_OUT | tar zxvf -
/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/
Dgerrit.py73 proc = Popen(*args, **kwargs)
75 stdout, stderr = proc.communicate(stdin)
77 proc.kill()
78 proc.wait()
80 returncode = proc.wait()
Drepo_pull.py302 proc = run(cmd, cwd=os.path.join(repo_top, cwd), stderr=PIPE)
303 if proc.returncode != 0:
304 return (change, changes[i + 1:], cmd, proc.stderr)
/development/vndk/tools/header-checker/utils/
Dutils.py321 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
323 out, err = proc.communicate()
325 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