Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReader.java186 final int uid = mInjector.getUidForPid(processId); in getProcessCpuUsage()
567 public int getUidForPid(int pid) { in getUidForPid() method in KernelCpuThreadReader.Injector
568 return Process.getUidForPid(pid); in getUidForPid()
/frameworks/base/core/tests/coretests/src/android/os/
DProcessTest.java68 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.java80 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/services/core/java/com/android/server/am/
DPhantomProcessList.java266 final int uid = Process.getUidForPid(pid); in addChildPidLocked()
DContentProviderHelper.java1727 return Process.getUidForPid(pid) == proc.uid; in isProcessAliveLocked()
/frameworks/base/core/java/android/os/
DProcess.java1077 public static final int getUidForPid(int pid) { in getUidForPid() method in Process
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java43 import static android.os.Process.getUidForPid;
2594 pulledData.add(FrameworkStatsLog.buildStatsEvent(atomTag, getUidForPid(allocations.pid),
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java3261 if (android.os.Process.getUidForPid(mSession.mPid) == mSession.mUid) { in sendAppVisibilityToClients()