Searched refs:getUidForPid (Results 1 – 9 of 9) sorted by relevance
186 final int uid = mInjector.getUidForPid(processId); in getProcessCpuUsage()566 public int getUidForPid(int pid) { in getUidForPid() method in KernelCpuThreadReader.Injector567 return Process.getUidForPid(pid); in getUidForPid()
55 assertEquals(-1, Process.getUidForPid(BAD_PID)); in testGetUidForPidInvalidPid()
98 && Process.getUidForPid(tid) != Process.AUDIOSERVER_UID) { in requestPriority()
73 public int getUidForPid(int pid) { in testReader_byUids()
225 doReturn(uid).when(() -> Process.getUidForPid(eq(pid))); in makeProcess()
975 public static final int getUidForPid(int pid) { in getUidForPid() method in Process
266 final int uid = Process.getUidForPid(pid); in addChildPidLocked()
1666 return Process.getUidForPid(pid) == proc.uid; in isProcessAliveLocked()
34 import static android.os.Process.getUidForPid;2354 pulledData.add(FrameworkStatsLog.buildStatsEvent(atomTag, getUidForPid(allocations.pid),