Home
last modified time | relevance | path

Searched refs:ProfileRecord (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileGridRecyclerView.java132 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 …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/measurements/
DTracer.kt34 @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
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserActivity.java309 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 …]