/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BaseUserSwitcherAdapter.kt | 26 import com.android.systemui.user.data.source.UserRecord 37 protected open val users: List<UserRecord> 51 override fun getItem(position: Int): UserRecord { in getItem() 67 record: UserRecord, in onUserListItemClicked() 73 open fun getName(context: Context, item: UserRecord): String { in getName() 78 open fun getName(context: Context, item: UserRecord, isTablet: Boolean): String { in getName() 104 item: UserRecord, in getIconDrawable()
|
D | KeyguardUserSwitcherController.java | 52 import com.android.systemui.user.data.source.UserRecord; 285 UserRecord userTag = in refreshUserList() 286 (UserRecord) newView.getTag(); in refreshUserList() 441 private ArrayList<UserRecord> mUsersOrdered = new ArrayList<>(); 462 List<UserRecord> users = super.getUsers(); in refreshUserOrder() 465 UserRecord record = users.get(i); in refreshUserOrder() 475 protected ArrayList<UserRecord> getUsers() { in getUsers() 481 UserRecord item = getItem(position); in getView() 487 || !(convertView.getTag() instanceof UserRecord)) { in convertOrInflate() 495 UserRecord item) { in createUserDetailItemView() [all …]
|
D | UserSwitcherController.kt | 28 import com.android.systemui.user.data.source.UserRecord 66 val users: ArrayList<UserRecord> 77 val currentUserRecord: UserRecord? 132 record: UserRecord, in onUserListItemClicked()
|
D | KeyguardQsUserSwitchController.java | 53 import com.android.systemui.user.data.source.UserRecord; 84 UserRecord mCurrentUser; 276 UserRecord previousUser = mCurrentUser; in updateCurrentUser() 279 UserRecord r = mAdapter.getItem(i); in updateCurrentUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/data/ |
D | LegacyUserDataHelper.kt | 26 import com.android.systemui.user.data.source.UserRecord 47 ): UserRecord { in createRecord() 49 return UserRecord( in createRecord() 72 ): UserRecord { in createRecord() 73 return UserRecord( in createRecord() 89 fun toUserActionModel(record: UserRecord): UserActionModel { in toUserActionModel() 101 fun isUser(record: UserRecord): Boolean { in isUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/source/ |
D | UserRecord.kt | 25 data class UserRecord( dataClass 55 fun copyWithIsCurrent(isCurrent: Boolean): UserRecord { in copyWithIsCurrent() 81 fun createForGuest(): UserRecord { in createForGuest() 82 return UserRecord(isGuest = true) in createForGuest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UserDetailView.java | 45 import com.android.systemui.user.data.source.UserRecord; 92 protected List<UserRecord> getUsers() { in getUsers() 109 UserRecord item = getItem(position); in getView() 127 UserRecord item) { in createUserDetailItemView() 160 UserRecord item) { in getDrawable() 185 UserRecord userRecord = in onClick() 186 (UserRecord) view.getTag(); in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/ui/ |
D | LegacyUserUiHelper.kt | 24 import com.android.systemui.user.data.source.UserRecord 62 record: UserRecord, in getUserRecordName() 92 fun getGuestUserRecordNameResourceId(record: UserRecord): Int? { in getGuestUserRecordNameResourceId()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BaseUserSwitcherAdapterTest.kt | 29 import com.android.systemui.user.data.source.UserRecord in <lambda>() 50 private lateinit var users: ArrayList<UserRecord> in <lambda>() 264 ): UserRecord { in <lambda>() 265 return UserRecord( in <lambda>()
|
D | KeyguardUserSwitcherAdapterTest.kt | 31 import com.android.systemui.user.data.source.UserRecord 191 UserRecord(
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 122 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>(); 388 UserRecord userRecord = mUserRecords.valueAt(i); in dump() 544 UserRecord userRecord = mUserRecords.get(userId); in getSystemSessionInfoForPackage() 698 UserRecord userRecord = mUserRecords.get( in restoreRoute() 734 UserRecord userRecord = userRecords.valueAt(i); in updateRunningUserAndProfiles() 767 UserRecord userRecord = mUserRecords.get(userId); in registerClientLocked() 769 userRecord = new UserRecord(userId); in registerClientLocked() 801 UserRecord userRecord = clientRecord.mUserRecord; in registerClientGroupIdLocked() 819 UserRecord userRecord = clientRecord.mUserRecord; in unregisterClientLocked() 938 private void initializeUserLocked(UserRecord userRecord) { in initializeUserLocked() [all …]
|
D | MediaRouter2ServiceImpl.java | 128 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>(); 246 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in getSystemRoutes() 852 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in getSystemSessionInfo() 1029 UserRecord userRecord = userRecords.valueAt(i); in updateRunningUserAndProfiles() 1068 UserRecord userRecord = mUserRecords.get(userId); in revokeManagerRecordAccessIfNeededLocked() 1148 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in registerRouter2Locked() 1202 UserRecord userRecord = routerRecord.mUserRecord; in unregisterRouter2Locked() 1609 UserRecord userRecord = getOrCreateUserRecordLocked(targetUser.getIdentifier()); in registerManagerLocked() 1668 UserRecord userRecord = managerRecord.mUserRecord; in unregisterManagerLocked() 1943 private UserRecord getOrCreateUserRecordLocked(int userId) { in getOrCreateUserRecordLocked() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | UserDetailViewAdapterTest.kt | 34 import com.android.systemui.user.data.source.UserRecord 154 UserRecord(
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/ |
D | KeyguardSecurityContainerTest.java | 64 import com.android.systemui.user.data.source.UserRecord; 324 ArrayList<UserRecord> records = buildUserRecords(2); in testTwoOrMoreUsersDoesAllowDropDown() 451 private ArrayList<UserRecord> buildUserRecords(int count) { in buildUserRecords() 452 ArrayList<UserRecord> users = new ArrayList<>(); in buildUserRecords() 456 users.add(new UserRecord(info, null, false /* isGuest */, false /* isCurrent */, in buildUserRecords()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/ |
D | UserSwitcherInteractor.kt | 59 import com.android.systemui.user.data.source.UserRecord in <lambda>() 250 val userRecords: StateFlow<ArrayList<UserRecord>> = in <lambda>() 283 val selectedUserRecord: StateFlow<UserRecord?> = in <lambda>() 403 record: UserRecord, in <lambda>() 576 ): UserRecord { in <lambda>() 591 ): UserRecord { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
D | UserSwitcherInteractorTest.kt | 58 import com.android.systemui.user.data.source.UserRecord in <lambda>() 183 underTest.onRecordSelected(UserRecord(info = userInfos[1]), dialogShower) in <lambda>() 203 underTest.onRecordSelected(UserRecord(info = userInfos.last())) in <lambda>() 231 underTest.onRecordSelected(UserRecord(info = userInfos.last())) in <lambda>() 252 underTest.onRecordSelected(UserRecord(isGuest = true), dialogShower) in <lambda>() 272 underTest.onRecordSelected(UserRecord(isAddSupervisedUser = true), dialogShower) in <lambda>() 1220 records: List<UserRecord>, in <lambda>() 1253 record: UserRecord?, in <lambda>() 1269 record: UserRecord, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityContainer.java | 107 import com.android.systemui.user.data.source.UserRecord; 1111 final UserRecord currentUser = mUserSwitcherController.getCurrentUserRecord(); in setupUserSwitcher() 1127 UserRecord item = getItem(position); in setupUserSwitcher() 1163 private Drawable getDrawable(UserRecord item, Context context) { in setupUserSwitcher() 1202 UserRecord user = adapter.getItem(pos - 1); in setupUserSwitcher()
|
/frameworks/base/services/ |
D | art-wear-profile | 15017 …/media/MediaRouterService;Lcom/android/server/media/MediaRouterService$UserRecord;Landroid/media/I… 15020 …/android/server/media/MediaRouterService;Lcom/android/server/media/MediaRouterService$UserRecord;)V 15023 PLcom/android/server/media/MediaRouterService$UserRecord;-><init>(Lcom/android/server/media/MediaRo… 15030 …ediaRouterService;->initializeUserLocked(Lcom/android/server/media/MediaRouterService$UserRecord;)V
|