Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/
DUserGridRecyclerView.java130 List<UserRecord> userRecords = createUserRecords(getUsersForUserGrid()); in buildAdapter()
142 private List<UserRecord> createUserRecords(List<UserInfo> userInfoList) { in createUserRecords()
145 List<UserRecord> userRecords = new ArrayList<>(); in createUserRecords()
160 UserRecord record = new UserRecord(userInfo, in createUserRecords()
161 isForeground ? UserRecord.FOREGROUND_USER : UserRecord.BACKGROUND_USER); in createUserRecords()
176 private UserRecord createForegroundUserRecord() { in createForegroundUserRecord()
177 return new UserRecord(mUserManager.getUserInfo(ActivityManager.getCurrentUser()), in createForegroundUserRecord()
178 UserRecord.FOREGROUND_USER); in createForegroundUserRecord()
184 private UserRecord createStartGuestUserRecord() { in createStartGuestUserRecord()
185 return new UserRecord(null /* userInfo */, UserRecord.START_GUEST); in createStartGuestUserRecord()
[all …]
DFullscreenUserSwitcherViewMediator.java77 private void onUserSelected(UserGridRecyclerView.UserRecord record) { in onUserSelected()
78 if (record.mType != UserGridRecyclerView.UserRecord.FOREGROUND_USER) { in onUserSelected()
82 if (record.mType != UserGridRecyclerView.UserRecord.START_GUEST) { in onUserSelected()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceParameterizedTest.java279 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseSecurityParameterIndex()
298 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testSecurityParameterIndexBinderDeath()
502 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseOwnedSpi()
539 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testDeleteTransform()
575 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testTransportModeTransformBinderDeath()
717 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testCreateTunnelInterface()
740 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testDeleteTunnelInterface()
772 final IpSecService.UserRecord userRecord = in testSetNetworkForTunnelInterface()
800 final IpSecService.UserRecord userRecord = in testSetNetworkForTunnelInterfaceFailsWhenSettingTunnelNetwork()
823 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testTunnelInterfaceBinderDeath()
DIpSecServiceTest.java188 IpSecService.UserRecord userRecord = in testOpenAndCloseUdpEncapsulationSocket()
204 IpSecService.UserRecord userRecord = in testUdpEncapsulationSocketBinderDeath()