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.kt179 val userRecord = users[users.size / 2] in <lambda>() constant
182 underTest.onUserListItemClicked(userRecord, dialogShower) in <lambda>()
184 verify(controller).onUserListItemClicked(userRecord, dialogShower) in <lambda>()
189 val userRecord = in <lambda>() constant
195 assertThat(underTest.getName(context, userRecord)).isEqualTo(userRecord.info?.name) in <lambda>()
206 val userRecord = in <lambda>() constant
214 assertThat(underTest.getName(context, userRecord)).isEqualTo(expected) in <lambda>()
225 val userRecord = in <lambda>() constant
233 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 mContext, 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/
DMediaRouter2ServiceImpl.java177 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in getSystemRoutes() local
180 userRecord.mHandler.mSystemProvider.getProviderInfo(); in getSystemRoutes()
188 systemRoutes.add(userRecord.mHandler.mSystemProvider.getDefaultRoute()); in getSystemRoutes()
210 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in getSystemSessionInfo() local
214 systemSessionInfo = userRecord.mHandler.mSystemProvider in getSystemSessionInfo()
217 sessionInfos = userRecord.mHandler.mSystemProvider.getSessionInfos(); in getSystemSessionInfo()
227 userRecord.mHandler.mSystemProvider.getDefaultSessionInfo()) in getSystemSessionInfo()
617 UserRecord userRecord = mUserRecords.valueAt(i); in updateRunningUserAndProfiles() local
621 userRecord.mHandler.sendMessage( in updateRunningUserAndProfiles()
622 obtainMessage(UserHandler::start, userRecord.mHandler)); in updateRunningUserAndProfiles()
[all …]
DMediaRouterService.java471 UserRecord userRecord = mUserRecords.valueAt(i); in dump() local
473 userRecord.dump(pw, ""); in dump()
583 UserRecord userRecord = mUserRecords.get(userId); in getSystemSessionInfoForPackage() local
585 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()
732 UserRecord userRecord = mUserRecords.valueAt(i); in updateRunningUserAndProfiles() local
736 userRecord.mHandler.sendEmptyMessage(UserHandler.MSG_START); in updateRunningUserAndProfiles()
738 userRecord.mHandler.sendEmptyMessage(UserHandler.MSG_STOP); in updateRunningUserAndProfiles()
[all …]