Home
last modified time | relevance | path

Searched refs:ShadowProcess (Results 1 – 5 of 5) 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.java600 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()
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()
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DRobolectricTestUtilities.java52 import org.robolectric.shadows.ShadowProcess;
251 ShadowProcess.setUid(uid); in setUid()