Home
last modified time | relevance | path

Searched refs:ShadowProcess (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowProcess.java14 public class ShadowProcess { class
55 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()
DShadowUserManager.java455 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()
DShadowEventLog.java59 private int processId = ShadowProcess.myPid();
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowProcessTest.java21 ShadowProcess.setPid(3); in shouldGetMyPidAsSet()
27 ShadowProcess.setUid(123); in shouldGetMyUidAsSet()