Lines Matching refs:PID
899 local PID=`adb shell ps \
903 echo "$PID"
948 local PID=$1;
949 if [ -z "$PID" ]; then
953 echo "Setting core limit for $PID to infinite...";
954 adb shell prlimit $PID 4 -1 -1
965 local PID=$1;
967 if [ -z "$PID" ]; then
972 local CORENAME=core.$PID;
979 while [ $(adb shell "[ -d /proc/$PID ] && echo -n yes") ]; do
980 printf "\tSending SIG%s to %d...\n" $SIG $PID;
981 adb shell kill -$SIG $PID;
999 local PID="$1"
1003 local PID="$PIDLIST"
1013 if [ "$PID" ] ; then
1015 if adb shell ls -l /proc/$PID/exe | grep -q /system/bin/app_process ; then
1029 adb shell kill -3 $PID
1038 local USE64BIT="$(is64bit $PID)"
1039 adb shell debuggerd$USE64BIT -b $PID
1048 local PID="$1"
1049 if [ "$PID" ] ; then
1050 if [[ "$(adb shell cat /proc/$PID/exe | xxd -l 1 -s 4 -ps)" -eq "02" ]] ; then