Home
last modified time | relevance | path

Searched refs:PER_USER_RANGE (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/net/
DUidRange.java19 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()
/frameworks/base/core/java/android/os/
DUserHandle.java33 public static final int PER_USER_RANGE = 100000; field in UserHandle
147 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DTaskPersisterTest.java55 int taskId = (int) (Math.random() * UserHandle.PER_USER_RANGE); in getRandomTaskIdForUser()
56 taskId += UserHandle.PER_USER_RANGE * userId; in getRandomTaskIdForUser()
DActivityManagerTest.java51 taskId / UserHandle.PER_USER_RANGE, userId); in testTaskIdsForUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsObserversTest.java84 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;
DNetworkStatsCollectionTest.java169 int uidInDifferentUser = Process.myUid() + UserHandle.PER_USER_RANGE; in testAccessLevels()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java1190 if (DEBUG_MU && r.callingUid > UserHandle.PER_USER_RANGE) { in processNextBroadcast()
DActivityStackSupervisor.java284 private static final int MAX_TASK_IDS_PER_USER = UserHandle.PER_USER_RANGE;
DActivityManagerService.java21401 || (userId < 1 && aInfo.applicationInfo.uid < UserHandle.PER_USER_RANGE)) { in getActivityInfoForUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java183 private static final int MAX_USER_ID = Integer.MAX_VALUE / UserHandle.PER_USER_RANGE;