Searched refs:PER_USER_RANGE (Results 1 – 10 of 10) sorted by relevance
19 import static android.os.UserHandle.PER_USER_RANGE;44 return new UidRange(userId * PER_USER_RANGE, (userId + 1) * PER_USER_RANGE - 1); in createForUser()48 return start / PER_USER_RANGE; in getStartUser()
33 public static final int PER_USER_RANGE = 100000; field in UserHandle147 return uid / PER_USER_RANGE; in getUserId()170 return userId * PER_USER_RANGE + (appId % PER_USER_RANGE); in getUid()182 return uid % PER_USER_RANGE; in getAppId()198 return Process.FIRST_SHARED_APPLICATION_GID + (id % PER_USER_RANGE) in getSharedAppGid()
55 int taskId = (int) (Math.random() * UserHandle.PER_USER_RANGE); in getRandomTaskIdForUser()56 taskId += UserHandle.PER_USER_RANGE * userId; in getRandomTaskIdForUser()
51 taskId / UserHandle.PER_USER_RANGE, userId); in testTaskIdsForUser()
84 private static final int UID_RED = UserHandle.PER_USER_RANGE + 1;85 private static final int UID_BLUE = UserHandle.PER_USER_RANGE + 2;86 private static final int UID_GREEN = UserHandle.PER_USER_RANGE + 3;87 private static final int UID_ANOTHER_USER = 2 * UserHandle.PER_USER_RANGE + 4;
169 int uidInDifferentUser = Process.myUid() + UserHandle.PER_USER_RANGE; in testAccessLevels()
1190 if (DEBUG_MU && r.callingUid > UserHandle.PER_USER_RANGE) { in processNextBroadcast()
284 private static final int MAX_TASK_IDS_PER_USER = UserHandle.PER_USER_RANGE;
21401 || (userId < 1 && aInfo.applicationInfo.uid < UserHandle.PER_USER_RANGE)) { in getActivityInfoForUser()
183 private static final int MAX_USER_ID = Integer.MAX_VALUE / UserHandle.PER_USER_RANGE;