/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskPersisterTest.java | 71 int taskId = (int) (Math.random() * UserHandle.PER_USER_RANGE); in getRandomTaskIdForUser() 72 taskId += UserHandle.PER_USER_RANGE * userId; in getRandomTaskIdForUser()
|
D | DragDropControllerTests.java | 190 createDropTargetWindow("Other user's window", 1 * UserHandle.PER_USER_RANGE); in testPerformDrag_NullDataToOtherUser()
|
D | RootWindowContainerTests.java | 1016 .setUid(UserHandle.PER_USER_RANGE + 1).build(); in testLockAllProfileTasks() 1028 .setUid(UserHandle.PER_USER_RANGE + 1).build(); in testLockAllProfileTasks()
|
D | LaunchParamsPersisterTests.java | 187 .setUid(TEST_USER_ID * UserHandle.PER_USER_RANGE).build(); in testFetchesSameResultWithActivity()
|
D | RootTaskTests.java | 491 .setUid(UserHandle.PER_USER_RANGE * 2).build(); in testFindTaskWithOverlay()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 41 public static final int PER_USER_RANGE = 100000; field in UserHandle 250 return uid / PER_USER_RANGE; in getUserId() 322 return userId * PER_USER_RANGE + (appId % PER_USER_RANGE); in getUid() 346 return uid % PER_USER_RANGE; in getAppId()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AnnotationValidations.java | 52 || value > Integer.MAX_VALUE / UserHandle.PER_USER_RANGE) { in validate() 58 if (value / UserHandle.PER_USER_RANGE != 0 || value < 0) { in validate()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobConcurrencyManagerTest.java | 184 userInfo.id * UserHandle.PER_USER_RANGE, in createJob()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/ |
D | PrivacyItemControllerTest.kt | 71 val TEST_UID = CURRENT_USER_ID * UserHandle.PER_USER_RANGE 374 val otherUserUid = otherUser * UserHandle.PER_USER_RANGE in testListFilterCurrentUser()
|
D | PrivacyDialogControllerTest.kt | 584 return user * UserHandle.PER_USER_RANGE + nextUid++ in <lambda>()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 1742 user1Uids[i] = UserHandle.PER_USER_RANGE + user0Uids[i]; in testOnUserRemoved() 2906 mHelper.createNotificationChannel(PKG_O, UserHandle.PER_USER_RANGE + 1, c, true, true); in testUpdateDefaultApps_add_multiUser() 2917 PKG_O, UserHandle.PER_USER_RANGE + 1, c.getId(), false) in testUpdateDefaultApps_add_multiUser() 3199 int[] uidList0 = new int[] {UserHandle.PER_USER_RANGE}; in testRestoreMultiUser() 3200 int[] uidList10 = new int[] {UserHandle.PER_USER_RANGE + 1}; in testRestoreMultiUser() 3469 PKG_O, UID_O + UserHandle.PER_USER_RANGE, messagesUser10, true, false); in testGetConversations_multiUser() 3480 PKG_O, UID_O + UserHandle.PER_USER_RANGE, messagesFromBUser10, true, false); in testGetConversations_multiUser() 3490 …ions(IntArray.wrap(new int[] {0, UserHandle.getUserId(UID_O + UserHandle.PER_USER_RANGE)}), false); in testGetConversations_multiUser()
|
D | NotificationManagerServiceTest.java | 4876 UserHandle.getUserHandleForUid(mUid + UserHandle.PER_USER_RANGE))); in testAreBubblesEnabled_exception() 4884 UserHandle.getUserHandleForUid(mUid + UserHandle.PER_USER_RANGE))); in testAreBubblesEnabled_exception() 6522 mUid + UserHandle.PER_USER_RANGE); in testAreNotificationsEnabledForPackage_crossUser() 6531 mUid + UserHandle.PER_USER_RANGE); in testAreNotificationsEnabledForPackage_crossUser() 6538 mUid + UserHandle.PER_USER_RANGE); in testAreBubblesAllowedForPackage_crossUser() 6547 mUid + UserHandle.PER_USER_RANGE); in testAreBubblesAllowedForPackage_crossUser() 7429 int[] uids = new int[] {mUid, UserHandle.PER_USER_RANGE + 1}; in testHandleOnPackageChanged()
|
D | ManagedServicesTest.java | 899 UserHandle.PER_USER_RANGE + 1}); in testPackageUninstall_componentNoLongerInApprovedList()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 25 import static android.os.UserHandle.PER_USER_RANGE; 3369 return new Range<Integer>(userId * PER_USER_RANGE, (userId + 1) * PER_USER_RANGE - 1);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerTest.java | 144 taskId / UserHandle.PER_USER_RANGE, userId); in testTaskIdsForUser()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 34 import static android.os.UserHandle.PER_USER_RANGE; 2533 return userId * PER_USER_RANGE + projectId; in getProjectIdForUser()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 1887 #define PER_USER_RANGE 100000 macro 1890 return userId * PER_USER_RANGE + projectId; in getProjectIdForUser()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 1645 if (DEBUG_MU && r.callingUid > UserHandle.PER_USER_RANGE) { in processNextBroadcastLocked()
|
D | ActivityManagerService.java | 15173 || (userId < 1 && aInfo.applicationInfo.uid < UserHandle.PER_USER_RANGE)) { in getActivityInfoForUser()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskSupervisor.java | 238 private static final int MAX_TASK_IDS_PER_USER = UserHandle.PER_USER_RANGE;
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | MockingOomAdjusterTests.java | 140 private static final int MOCKAPP2_UID_OTHER = MOCKAPP2_UID + UserHandle.PER_USER_RANGE;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 239 static final int MAX_USER_ID = Integer.MAX_VALUE / UserHandle.PER_USER_RANGE;
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 14385 final int lastUidForUser = UserHandle.getUid(userId, UserHandle.PER_USER_RANGE - 1); in onCleanupUserLocked() 14392 final int lastUidForUser = UserHandle.getUid(userId, UserHandle.PER_USER_RANGE - 1); in onUserRemovedLocked()
|