Home
last modified time | relevance | path

Searched refs:getUidForPid (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReader.java186 final int uid = mInjector.getUidForPid(processId); in getProcessCpuUsage()
566 public int getUidForPid(int pid) { in getUidForPid() method in KernelCpuThreadReader.Injector
567 return Process.getUidForPid(pid); in getUidForPid()
/frameworks/base/core/tests/coretests/src/android/os/
DProcessTest.java55 assertEquals(-1, Process.getUidForPid(BAD_PID)); in testGetUidForPidInvalidPid()
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java98 && Process.getUidForPid(tid) != Process.AUDIOSERVER_UID) { in requestPriority()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderTest.java73 public int getUidForPid(int pid) { in testReader_byUids()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DAppChildProcessTest.java225 doReturn(uid).when(() -> Process.getUidForPid(eq(pid))); in makeProcess()
/frameworks/base/core/java/android/os/
DProcess.java975 public static final int getUidForPid(int pid) { in getUidForPid() method in Process
/frameworks/base/services/core/java/com/android/server/am/
DPhantomProcessList.java266 final int uid = Process.getUidForPid(pid); in addChildPidLocked()
DContentProviderHelper.java1666 return Process.getUidForPid(pid) == proc.uid; in isProcessAliveLocked()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java34 import static android.os.Process.getUidForPid;
2354 pulledData.add(FrameworkStatsLog.buildStatsEvent(atomTag, getUidForPid(allocations.pid),