Searched refs:ShadowProcess (Results 1 – 5 of 5) 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()
600 ShadowProcess.setUid(userPidMap.get(userId)); in switchUser()621 : id * UserHandle.PER_USER_RANGE + ShadowProcess.getRandomApplicationUid()); in addUser()627 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()
52 import org.robolectric.shadows.ShadowProcess;251 ShadowProcess.setUid(uid); in setUid()