Home
last modified time | relevance | path

Searched refs:UserRecord (Results 1 – 11 of 11) 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.java42 import com.android.systemui.statusbar.car.UserGridRecyclerView.UserRecord;
57 private UserGridRecyclerView.UserRecord mSelectedUser;
116 mSelectedUser = new UserRecord(initialUserInfo, in showDialogForInitialUser()
163 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()
102 UserSwitcherController.UserRecord tag = in onClick()
103 (UserSwitcherController.UserRecord) view.getTag(); in onClick()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java364 static final class UserRecord { class in IpSecService
453 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>();
456 public UserRecord getUserRecord(int uid) { in getUserRecord()
459 UserRecord r = mUserRecords.get(uid); in getUserRecord()
461 r = new UserRecord(); in getUserRecord()
513 protected UserRecord getUserRecord() { in getUserRecord()
1118 UserRecord userRecord = mUserResourceTracker.getUserRecord(callingUid); in allocateSecurityParameterIndex()
1160 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in releaseSecurityParameterIndex()
1235 UserRecord userRecord = mUserResourceTracker.getUserRecord(callingUid); in openUdpEncapsulationSocket()
1278 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.java224 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseSecurityParameterIndex()
243 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testSecurityParameterIndexBinderDeath()
447 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseOwnedSpi()
484 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testDeleteTransform()
520 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testTransportModeTransformBinderDeath()
644 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testCreateTunnelInterface()
666 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testDeleteTunnelInterface()
686 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testTunnelInterfaceBinderDeath()
DIpSecServiceTest.java185 IpSecService.UserRecord userRecord = in testOpenAndCloseUdpEncapsulationSocket()
201 IpSecService.UserRecord userRecord = in testUdpEncapsulationSocketBinderDeath()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DUserDetailViewAdapterTest.kt120 UserSwitcherController.UserRecord(
/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;