Searched refs:getUidForPid (Results 1 – 10 of 10) sorted by relevance
186 final int uid = mInjector.getUidForPid(processId); in getProcessCpuUsage()567 public int getUidForPid(int pid) { in getUidForPid() method in KernelCpuThreadReader.Injector568 return Process.getUidForPid(pid); in getUidForPid()
68 assertEquals(-1, Process.getUidForPid(BAD_PID)); in testGetUidForPidInvalidPid()
98 && Process.getUidForPid(tid) != Process.AUDIOSERVER_UID) { in requestPriority()
80 public int getUidForPid(int pid) { in testReader_byUids()
225 doReturn(uid).when(() -> Process.getUidForPid(eq(pid))); in makeProcess()
266 final int uid = Process.getUidForPid(pid); in addChildPidLocked()
1727 return Process.getUidForPid(pid) == proc.uid; in isProcessAliveLocked()
1077 public static final int getUidForPid(int pid) { in getUidForPid() method in Process
43 import static android.os.Process.getUidForPid;2594 pulledData.add(FrameworkStatsLog.buildStatsEvent(atomTag, getUidForPid(allocations.pid),
3261 if (android.os.Process.getUidForPid(mSession.mPid) == mSession.mUid) { in sendAppVisibilityToClients()