Lines Matching refs:pid
531 * and returns the child's pid. Please note: the present implementation
546 * After the zygote process reads these it will write the pid of
571 result.pid = inputStream.readInt();
572 if (result.pid < 0) {
813 * @param pid the process id
817 public static final int getUidForPid(int pid) {
821 Process.readProcLines("/proc/" + pid + "/status", procStatusLabels, procStatusValues);
827 * @param pid the process id
831 public static final int getParentPid(int pid) {
835 Process.readProcLines("/proc/" + pid + "/status", procStatusLabels, procStatusValues);
899 * @param pid The identifier of the process to change.
914 public static final native void setProcessGroup(int pid, int group)
922 public static final native int getProcessGroup(int pid)
992 * @param pid The process identifier to set.
1000 public static final native boolean setSwappiness(int pid, boolean is_increased);
1023 public static final void killProcess(int pid) {
1024 sendSignal(pid, SIGNAL_KILL);
1036 * @param pid The pid of the target process.
1039 public static final native void sendSignal(int pid, int signal);
1047 public static final void killProcessQuiet(int pid) {
1048 sendSignalQuiet(pid, SIGNAL_KILL);
1057 public static final native void sendSignalQuiet(int pid, int signal);
1107 * @param pid the process to the Pss for
1112 public static final native long getPss(int pid);
1123 public int pid;
1133 * pid.
1136 public static final native int killProcessGroup(int uid, int pid);