Lines Matching defs:pid
31 bool ProcessInfo::getPriority(int pid, int* priority) {
40 status_t err = service->getProcessStatesAndOomScoresFromPids(length, &pid, &state, &score);
45 ALOGV("pid %d state %d score %d", pid, state, score);
47 ALOGE("pid %d invalid OOM adjustments value %d", pid, score);
56 bool ProcessInfo::isValidPid(int pid) {
58 // Trust it if this is called from the same process otherwise pid has to match the calling pid.
59 return (callingPid == getpid()) || (callingPid == pid);