Searched refs:fgUserId (Results 1 – 3 of 3) sorted by relevance
128 int fgUserId = ActivityManager.getCurrentUser(); in testGetAllsers() local129 UserInfo fgUser = createNonAdminUser(fgUserId); in testGetAllsers()130 UserInfo user2 = createAdminUser(fgUserId + 1); in testGetAllsers()131 UserInfo user3 = createNonAdminUser(fgUserId + 2); in testGetAllsers()132 UserInfo user4 = createAdminUser(fgUserId + 3); in testGetAllsers()148 int fgUserId = ActivityManager.getCurrentUser(); in testGetAllUsers_notHeadless() local149 UserInfo fgUser = createNonAdminUser(fgUserId); in testGetAllUsers_notHeadless()150 UserInfo user2 = createAdminUser(fgUserId + 1); in testGetAllUsers_notHeadless()151 UserInfo user3 = createNonAdminUser(fgUserId + 2); in testGetAllUsers_notHeadless()152 UserInfo user4 = createAdminUser(fgUserId + 3); in testGetAllUsers_notHeadless()[all …]
138 int fgUserId = ActivityManager.getCurrentUser(); in createProfileRecords() local139 UserHandle fgUserHandle = UserHandle.of(fgUserId); in createProfileRecords()151 boolean isForeground = fgUserId == userInfo.id; in createProfileRecords()
143 int fgUserId = ActivityManager.getCurrentUser(); in createUserRecords() local144 UserHandle fgUserHandle = UserHandle.of(fgUserId); in createUserRecords()159 boolean isForeground = fgUserId == userInfo.id; in createUserRecords()