Home
last modified time | relevance | path

Searched refs:userRecord (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBaseUserSwitcherAdapterTest.kt193 val userRecord = users[users.size / 2] in <lambda>() constant
196 underTest.onUserListItemClicked(userRecord, dialogShower) in <lambda>()
198 verify(controller).onUserListItemClicked(userRecord, dialogShower) in <lambda>()
203 val userRecord = in <lambda>() constant
209 assertThat(underTest.getName(context, userRecord)).isEqualTo(userRecord.info?.name) in <lambda>()
220 val userRecord = in <lambda>() constant
228 assertThat(underTest.getName(context, userRecord)).isEqualTo(expected) in <lambda>()
239 val userRecord = in <lambda>() constant
247 assertThat(underTest.getName(context, userRecord)).isEqualTo("Guest") in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java94 userRecord -> !userRecord.isManageUsers).collect(Collectors.toList()); in getUsers()
185 UserRecord userRecord = in onClick() local
187 if (userRecord.isDisabledByAdmin()) { in onClick()
189 userRecord.enforcedAdmin); in onClick()
191 } else if (userRecord.isSwitchToEnabled) { in onClick()
194 if (!userRecord.isAddUser in onClick()
195 && !userRecord.isRestricted in onClick()
196 && !userRecord.isDisabledByAdmin()) { in onClick()
202 onUserListItemClicked(userRecord, mDialogShower); in onClick()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java388 UserRecord userRecord = mUserRecords.valueAt(i); in dump() local
390 userRecord.dump(pw, ""); in dump()
544 UserRecord userRecord = mUserRecords.get(userId); in getSystemSessionInfoForPackage() local
546 userRecord != null ? userRecord.mClientRecords : Collections.emptyList(); in getSystemSessionInfoForPackage()
698 UserRecord userRecord = mUserRecords.get( in restoreRoute() local
700 if (userRecord != null && userRecord.mClientRecords != null) { in restoreRoute()
701 for (ClientRecord cr : userRecord.mClientRecords) { in restoreRoute()
734 UserRecord userRecord = userRecords.valueAt(i); in updateRunningUserAndProfiles() local
738 userRecord.mHandler.sendEmptyMessage(UserHandler.MSG_START); in updateRunningUserAndProfiles()
740 userRecord.mHandler.sendEmptyMessage(UserHandler.MSG_STOP); in updateRunningUserAndProfiles()
[all …]
DMediaRouter2ServiceImpl.java246 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in getSystemRoutes() local
249 userRecord.mHandler.mSystemProvider.getProviderInfo(); in getSystemRoutes()
257 systemRoutes.add(userRecord.mHandler.mSystemProvider.getDefaultRoute()); in getSystemRoutes()
852 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in getSystemSessionInfo() local
858 return userRecord.mHandler.mSystemProvider in getSystemSessionInfo()
861 sessionInfos = userRecord.mHandler.mSystemProvider.getSessionInfos(); in getSystemSessionInfo()
874 userRecord.mHandler.mSystemProvider.getDefaultSessionInfo()) in getSystemSessionInfo()
1029 UserRecord userRecord = userRecords.valueAt(i); in updateRunningUserAndProfiles() local
1033 userRecord.mHandler.sendMessage( in updateRunningUserAndProfiles()
1034 obtainMessage(UserHandler::start, userRecord.mHandler)); in updateRunningUserAndProfiles()
[all …]