Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 14 of 14) 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/
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():
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
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'`
Dacov103 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.py320 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
322 out, err = proc.communicate()
324 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)
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv1836 …s,fake_vRuL-hxiRTOhaOr4NWM_Ww@fakeemail.com,Add a host-side test to verify /proc/[PID]/stat exists.
2102 …fake_vRuL-hxiRTOhaOr4NWM_Ww@fakeemail.com,Add a host-side test to verify /proc/[PID]/task/[TID]/st…
2883 …orm/cts,fake_vRuL-hxiRTOhaOr4NWM_Ww@fakeemail.com,Add a host-side test to verify /proc/stat exists.
3141 …6e6303fee,platform/cts,fake_8D2h2P4oThy4V7vdDd142w@fakeemail.com,Collect /proc/config.gz as part o…
3608 …tform/cts,fake_wEaC-W2gRuaKlcqxAiIzJA@fakeemail.com,Test: Session is preserved while proc is killed
4105 …orm/cts,fake_oFs5hl70SEqpTt4nMPAFbw@fakeemail.com,"Relax restrictions on /proc/self/oom_{adj,score…
4447 …f38,platform/cts,fake_Fxquss7oRUSc5mVB0Kj9aw@fakeemail.com,Ensure /proc/stat and /proc/interrupts …
4766 …keemail.com,Use dumpsys meminfo in order to find kernel start time since /proc/uptime now requires…
5817 …rm/system/core,fake_hrLg6uvZRAmxPEvIe67S0A@fakeemail.com,crash_dump: use /proc/<pid> fd to check t…
6543 …,fake_l9UQy-VzRsCgpuPl1NY3lA@fakeemail.com,sched_policy: Add support for /proc/<tid>/timerslack_ns…
[all …]