Home
last modified time | relevance | path

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

/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java96 List<UserRecord> userRecords = createUserRecords(mCarUserManagerHelper in buildAdapter()
102 private List<UserRecord> createUserRecords(List<UserInfo> userInfoList) { in createUserRecords()
103 List<UserRecord> userRecords = new ArrayList<>(); in createUserRecords()
119 UserRecord record = new UserRecord(userInfo, false /* isStartGuestSession */, in createUserRecords()
135 private UserRecord createForegroundUserRecord() { in createForegroundUserRecord()
136 return new UserRecord(mCarUserManagerHelper.getCurrentForegroundUserInfo(), in createForegroundUserRecord()
143 private UserRecord createStartGuestUserRecord() { in createStartGuestUserRecord()
146 return new UserRecord(userInfo, true /* isStartGuestSession */, false /* isAddUser */, in createStartGuestUserRecord()
153 private UserRecord createAddUserRecord() { in createAddUserRecord()
156 return new UserRecord(userInfo, false /* isStartGuestSession */, in createAddUserRecord()
[all …]
DFullscreenUserSwitcher.java86 private void onUserSelected(UserGridRecyclerView.UserRecord record) { in onUserSelected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java99 private ArrayList<UserRecord> mUsers = new ArrayList<>();
179 UserRecord r = mUsers.get(i); in refreshUsers()
189 new AsyncTask<SparseArray<Bitmap>, Void, ArrayList<UserRecord>>() { in refreshUsers()
192 protected ArrayList<UserRecord> doInBackground(SparseArray<Bitmap>... params) { in refreshUsers()
198 ArrayList<UserRecord> records = new ArrayList<>(infos.size()); in refreshUsers()
202 UserRecord guestRecord = null; in refreshUsers()
214 guestRecord = new UserRecord(info, null /* picture */, in refreshUsers()
230 records.add(index, new UserRecord(info, picture, false /* isGuest */, in refreshUsers()
256 guestRecord = new UserRecord(null /* info */, null /* picture */, in refreshUsers()
269 UserRecord addUserRecord = new UserRecord(null /* info */, null /* picture */, in refreshUsers()
[all …]
DKeyguardUserSwitcher.java269 UserSwitcherController.UserRecord item = getItem(position); in getView()
271 || !(convertView.getTag() instanceof UserSwitcherController.UserRecord)) { in getView()
293 UserSwitcherController.UserRecord user = (UserSwitcherController.UserRecord) v.getTag(); in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java71 UserSwitcherController.UserRecord item = getItem(position); in getView()
76 UserSwitcherController.UserRecord item) { in createUserDetailItemView()
99 UserSwitcherController.UserRecord tag = in onClick()
100 (UserSwitcherController.UserRecord) view.getTag(); in onClick()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java361 static final class UserRecord { class in IpSecService
446 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>();
449 public UserRecord getUserRecord(int uid) { in getUserRecord()
452 UserRecord r = mUserRecords.get(uid); in getUserRecord()
454 r = new UserRecord(); in getUserRecord()
506 protected UserRecord getUserRecord() { in getUserRecord()
1107 UserRecord userRecord = mUserResourceTracker.getUserRecord(callingUid); in allocateSecurityParameterIndex()
1149 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in releaseSecurityParameterIndex()
1224 UserRecord userRecord = mUserResourceTracker.getUserRecord(callingUid); in openUdpEncapsulationSocket()
1267 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in closeUdpEncapsulationSocket()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java97 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>();
421 UserRecord userRecord = mUserRecords.valueAt(i); in dump()
451 UserRecord userRecord = mUserRecords.get(UserHandle.getUserId(uid)); in restoreRoute()
479 UserRecord oldUser = mUserRecords.get(oldUserId); in switchUser()
485 UserRecord newUser = mUserRecords.get(userId); in switchUser()
505 UserRecord userRecord = mUserRecords.get(userId); in registerClientLocked()
507 userRecord = new UserRecord(userId); in registerClientLocked()
538 UserRecord userRecord = clientRecord.mUserRecord; in registerClientGroupIdLocked()
553 UserRecord userRecord = clientRecord.mUserRecord; in unregisterClientLocked()
655 private void initializeUserLocked(UserRecord userRecord) { in initializeUserLocked()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java221 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseSecurityParameterIndex()
240 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testSecurityParameterIndexBinderDeath()
444 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseOwnedSpi()
481 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testDeleteTransform()
517 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testTransportModeTransformBinderDeath()
598 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testCreateTunnelInterface()
619 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testDeleteTunnelInterface()
639 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testTunnelInterfaceBinderDeath()
DIpSecServiceTest.java182 IpSecService.UserRecord userRecord = in testOpenAndCloseUdpEncapsulationSocket()
198 IpSecService.UserRecord userRecord = in testUdpEncapsulationSocketBinderDeath()
/frameworks/base/services/
Dart-profile8590 …/android/server/media/MediaRouterService;Lcom/android/server/media/MediaRouterService$UserRecord;)V
8596 PLcom/android/server/media/MediaRouterService$UserRecord$1;->run()V
8597 PLcom/android/server/media/MediaRouterService$UserRecord;->dump(Ljava/io/PrintWriter;Ljava/lang/Str…
8598 PLcom/android/server/media/MediaRouterService$UserRecord;->toString()Ljava/lang/String;
8602 …outerService;->disposeUserIfNeededLocked(Lcom/android/server/media/MediaRouterService$UserRecord;)V
8605 …ediaRouterService;->initializeUserLocked(Lcom/android/server/media/MediaRouterService$UserRecord;)V
19557 Lcom/android/server/media/MediaRouterService$UserRecord;