Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
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()
344 mHistoryManager.replaceNotificationHistoryDatabase(MIN_SECONDARY_USER_ID, userHistoryAll); in testOnPackageRemoved_multiUser()
402 mHistoryManager.onUserUnlocked(MIN_SECONDARY_USER_ID); in testTriggerWriteToDisk()
403 mHistoryManager.replaceNotificationHistoryDatabase(MIN_SECONDARY_USER_ID, userHistoryAll); in testTriggerWriteToDisk()
419 mHistoryManager.onUserUnlocked(MIN_SECONDARY_USER_ID); in testTriggerWriteToDisk_onlyUnlockedUsers()
420 mHistoryManager.replaceNotificationHistoryDatabase(MIN_SECONDARY_USER_ID, userHistoryAll); in testTriggerWriteToDisk_onlyUnlockedUsers()
421 mHistoryManager.onUserStopped(MIN_SECONDARY_USER_ID); in testTriggerWriteToDisk_onlyUnlockedUsers()
468 HistoricalNotification hnAll = getHistoricalNotification("pkg", MIN_SECONDARY_USER_ID); in testAddNotification()
[all …]
/frameworks/base/core/java/android/os/
DUserHandle.java119 public static final int MIN_SECONDARY_USER_ID = 10; field in UserHandle
134 CACHED_USER_INFOS[i] = new UserHandle(MIN_SECONDARY_USER_ID + i);
304 if (userId >= MIN_SECONDARY_USER_ID in of()
305 && userId < (MIN_SECONDARY_USER_ID + CACHED_USER_INFOS.length)) { in of()
306 return CACHED_USER_INFOS[userId - MIN_SECONDARY_USER_ID]; in of()
/frameworks/base/tests/vcn/java/com/android/server/
DVcnManagementServiceTest.java642 doReturn(UserHandle.getUid(UserHandle.MIN_SECONDARY_USER_ID, TEST_UID)) in testSetVcnConfigRequiresSystemUser()
757 doReturn(UserHandle.getUid(UserHandle.MIN_SECONDARY_USER_ID, TEST_UID)) in testClearVcnConfigRequiresSystemUser()
833 doReturn(UserHandle.getUid(UserHandle.MIN_SECONDARY_USER_ID, TEST_UID)) in testGetConfiguredSubscriptionGroupsRequiresSystemUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java235 static final int MIN_USER_ID = UserHandle.MIN_SECONDARY_USER_ID;
/frameworks/base/core/api/
Dtest-lint-baseline.txt596 MinMaxConstant: android.os.UserHandle#MIN_SECONDARY_USER_ID:
Dtest-current.txt1774 field public static final int MIN_SECONDARY_USER_ID = 10; // 0xa