Searched refs:ProfileRecord (Results 1 – 3 of 3) sorted by relevance
132 List<ProfileRecord> profileRecords = createProfileRecords(getProfilesForProfileGrid()); in buildAdapter()137 private List<ProfileRecord> createProfileRecords(List<UserInfo> userInfoList) { in createProfileRecords()140 List<ProfileRecord> profileRecords = new ArrayList<>(); in createProfileRecords()158 ProfileRecord record = new ProfileRecord(userInfo, isForeground in createProfileRecords()159 ? ProfileRecord.FOREGROUND_PROFILE : ProfileRecord.BACKGROUND_PROFILE); in createProfileRecords()176 private ProfileRecord createForegroundProfileRecord() { in createForegroundProfileRecord()177 return new ProfileRecord(getCurrentForegroundProfileInfo(), in createForegroundProfileRecord()178 ProfileRecord.FOREGROUND_PROFILE); in createForegroundProfileRecord()204 private ProfileRecord createStartGuestProfileRecord() { in createStartGuestProfileRecord()205 return new ProfileRecord(/* profileInfo= */ null, ProfileRecord.START_GUEST); in createStartGuestProfileRecord()[all …]
34 @GuardedBy("self") private val profileRecords = SparseArray<ProfileRecord>() in <lambda>()125 private fun getProfileRecord(userHandle: UserHandle, createIfMissing: Boolean): ProfileRecord? = in <lambda>()131 ProfileRecord().also { profileRecords.put(userHandle.identifier, it) } in <lambda>()139 private class ProfileRecord { class
309 private final Map<Integer, ProfileRecord> mProfileRecords = new HashMap<>();1350 ProfileRecord record = createProfileRecord(mainUserHandle, targetIntentFilter, factory); in createProfileRecords()1367 private ProfileRecord createProfileRecord( in createProfileRecord()1378 ProfileRecord record = new ProfileRecord(appPredictor, shortcutLoader); in createProfileRecord()1384 private ProfileRecord getProfileRecord(UserHandle userHandle) { in getProfileRecord()1615 mProfileRecords.values().forEach(ProfileRecord::destroy);1853 ProfileRecord profileRecord = getProfileRecord(forUser);1964 ProfileRecord record = getProfileRecord(userHandle);2051 ProfileRecord record = getProfileRecord(userHandle);2061 ProfileRecord record = workUser == null ? null : getProfileRecord(workUser);[all …]