Searched refs:ShadowProcess (Results 1 – 4 of 4) sorted by relevance
14 public class ShadowProcess { class55 threadPriorities.put(ShadowProcess.myTid(), priority); in setThreadPriority()75 tid = ShadowProcess.myTid(); in setThreadPriority()91 tid = ShadowProcess.myTid(); in getThreadPriority()102 ShadowProcess.uid = uid; in setUid()109 ShadowProcess.pid = pid; in setPid()114 ShadowProcess.pid = 0; in reset()
455 ShadowProcess.setUid(userPidMap.get(userId)); in switchUser()475 : id * UserHandle.PER_USER_RANGE + ShadowProcess.getRandomApplicationUid()); in addUser()481 ShadowProcess.setUid(userPidMap.get(UserHandle.USER_SYSTEM)); in reset()
59 private int processId = ShadowProcess.myPid();
21 ShadowProcess.setPid(3); in shouldGetMyPidAsSet()27 ShadowProcess.setUid(123); in shouldGetMyUidAsSet()