Home
last modified time | relevance | path

Searched refs:MIN_SECONDARY_USER_ID (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationHistoryManagerTest.java18 import static android.os.UserHandle.MIN_SECONDARY_USER_ID;
101 userFullSecondary.id = MIN_SECONDARY_USER_ID; in setUp()
343 mHistoryManager.onUserUnlocked(MIN_SECONDARY_USER_ID); in testOnPackageRemoved_multiUser()
402 mHistoryManager.onUserUnlocked(MIN_SECONDARY_USER_ID); in testTriggerWriteToDisk()
419 mHistoryManager.onUserUnlocked(MIN_SECONDARY_USER_ID); in testTriggerWriteToDisk_onlyUnlockedUsers()
421 mHistoryManager.onUserStopped(MIN_SECONDARY_USER_ID); in testTriggerWriteToDisk_onlyUnlockedUsers()
468 HistoricalNotification hnAll = getHistoricalNotification("pkg", MIN_SECONDARY_USER_ID); in testAddNotification()
476 mHistoryManager.onUserUnlocked(MIN_SECONDARY_USER_ID); in testAddNotification()
489 HistoricalNotification hnAll = getHistoricalNotification("pkg", MIN_SECONDARY_USER_ID); in testReadNotificationHistory()
502 mHistoryManager.onUserUnlocked(MIN_SECONDARY_USER_ID); in testReadNotificationHistory()
[all …]
/aosp14/frameworks/base/core/java/android/os/
H A DUserHandle.java125 public static final int MIN_SECONDARY_USER_ID = 10; field in UserHandle
170 CACHED_USER_HANDLES[i] = new UserHandle(MIN_SECONDARY_USER_ID + i);
340 if (userId >= MIN_SECONDARY_USER_ID in of()
341 && userId < (MIN_SECONDARY_USER_ID + CACHED_USER_HANDLES.length)) { in of()
342 return CACHED_USER_HANDLES[userId - MIN_SECONDARY_USER_ID]; in of()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/
H A DKeyguardQuickAffordanceRemoteUserSelectionManagerTest.kt218 private const val OTHER_USER_ID_1 = UserHandle.MIN_SECONDARY_USER_ID + 1
219 private const val OTHER_USER_ID_2 = UserHandle.MIN_SECONDARY_USER_ID + 2
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
H A DKeyguardQuickAffordanceRepositoryTest.kt326 private const val SECONDARY_USER_1 = UserHandle.MIN_SECONDARY_USER_ID + 1
327 private const val SECONDARY_USER_2 = UserHandle.MIN_SECONDARY_USER_ID + 2
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
H A DWallpaperManagerServiceTests.java23 import static android.os.UserHandle.MIN_SECONDARY_USER_ID;
270 final int testUserId = MIN_SECONDARY_USER_ID; in testWallpaperDataConstructor()
/aosp14/frameworks/base/tests/vcn/java/com/android/server/
H A DVcnManagementServiceTest.java721 doReturn(UserHandle.getUid(UserHandle.MIN_SECONDARY_USER_ID, TEST_UID)) in testSetVcnConfigRequiresSystemUser()
836 doReturn(UserHandle.getUid(UserHandle.MIN_SECONDARY_USER_ID, TEST_UID)) in testClearVcnConfigRequiresSystemUser()
925 doReturn(UserHandle.getUid(UserHandle.MIN_SECONDARY_USER_ID, TEST_UID)) in testGetConfiguredSubscriptionGroupsRequiresSystemUser()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DRootWindowContainerTests.java1133 final int profileUid = UserHandle.PER_USER_RANGE + UserHandle.MIN_SECONDARY_USER_ID; in testLockAllProfileTasks()
/aosp14/frameworks/base/core/api/
H A Dtest-lint-baseline.txt164 MinMaxConstant: android.os.UserHandle#MIN_SECONDARY_USER_ID:
165 …/max could change in future, make them dynamic methods: android.os.UserHandle#MIN_SECONDARY_USER_ID
H A Dtest-current.txt2370 field public static final int MIN_SECONDARY_USER_ID = 10; // 0xa
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DBackgroundRestrictionTest.java206 private static final int TEST_USER1 = UserHandle.MIN_SECONDARY_USER_ID;
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java276 static final int MIN_USER_ID = UserHandle.MIN_SECONDARY_USER_ID;