Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java126 private ArrayList<UserRecord> mUsers = new ArrayList<>();
259 UserRecord r = mUsers.get(i); in refreshUsers()
269 new AsyncTask<SparseArray<Bitmap>, Void, ArrayList<UserRecord>>() { in refreshUsers()
272 protected ArrayList<UserRecord> doInBackground(SparseArray<Bitmap>... params) { in refreshUsers()
278 ArrayList<UserRecord> records = new ArrayList<>(infos.size()); in refreshUsers()
285 UserRecord guestRecord = null; in refreshUsers()
297 guestRecord = new UserRecord(info, null /* picture */, in refreshUsers()
312 records.add(new UserRecord(info, picture, false /* isGuest */, in refreshUsers()
342 guestRecord = new UserRecord(null /* info */, null /* picture */, in refreshUsers()
349 guestRecord = new UserRecord(null /* info */, null /* picture */, in refreshUsers()
[all …]
DKeyguardUserSwitcherController.java286 UserSwitcherController.UserRecord userTag = in refreshUserList()
287 (UserSwitcherController.UserRecord) newView.getTag(); in refreshUserList()
442 private ArrayList<UserSwitcherController.UserRecord> mUsersOrdered = new ArrayList<>();
463 ArrayList<UserSwitcherController.UserRecord> users = super.getUsers(); in refreshUserOrder()
466 UserSwitcherController.UserRecord record = users.get(i); in refreshUserOrder()
476 protected ArrayList<UserSwitcherController.UserRecord> getUsers() { in getUsers()
482 UserSwitcherController.UserRecord item = getItem(position); in getView()
488 || !(convertView.getTag() instanceof UserSwitcherController.UserRecord)) { in convertOrInflate()
496 UserSwitcherController.UserRecord item) { in createUserDetailItemView()
523 private Drawable getDrawable(UserSwitcherController.UserRecord item) { in getDrawable()
[all …]
DKeyguardQsUserSwitchController.java79 UserSwitcherController.UserRecord mCurrentUser;
207 UserSwitcherController.UserRecord previousUser = mCurrentUser; in updateCurrentUser()
210 UserSwitcherController.UserRecord r = mAdapter.getItem(i); in updateCurrentUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java91 UserSwitcherController.UserRecord item = getItem(position); in getView()
96 UserSwitcherController.UserRecord item) { in createUserDetailItemView()
129 UserSwitcherController.UserRecord item) { in getDrawable()
153 UserSwitcherController.UserRecord tag = in onClick()
154 (UserSwitcherController.UserRecord) view.getTag(); in onClick()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java366 static final class UserRecord { class in IpSecService
455 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>();
458 public UserRecord getUserRecord(int uid) { in getUserRecord()
461 UserRecord r = mUserRecords.get(uid); in getUserRecord()
463 r = new UserRecord(); in getUserRecord()
514 protected UserRecord getUserRecord() { in getUserRecord()
1134 UserRecord userRecord = mUserResourceTracker.getUserRecord(callingUid); in allocateSecurityParameterIndex()
1176 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in releaseSecurityParameterIndex()
1251 UserRecord userRecord = mUserResourceTracker.getUserRecord(callingUid); in openUdpEncapsulationSocket()
1294 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in closeUdpEncapsulationSocket()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DUserSwitcherControllerTest.kt132 val emptyGuestUserRecord = UserSwitcherController.UserRecord( in testAddGuest_okButtonPressed_isLogged()
153 val currentGuestUserRecord = UserSwitcherController.UserRecord( in testRemoveGuest_removeButtonPressed_isLogged()
175 val currentGuestUserRecord = UserSwitcherController.UserRecord( in testRemoveGuest_cancelButtonPressed_isNotLogged()
196 val currentGuestUserRecord = UserSwitcherController.UserRecord( in testWipeGuest_startOverButtonPressed_isLogged()
230 val currentGuestUserRecord = UserSwitcherController.UserRecord( in testWipeGuest_continueButtonPressed_isLogged()
DKeyguardUserSwitcherAdapterTest.kt189 UserSwitcherController.UserRecord(
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java103 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>();
432 UserRecord userRecord = mUserRecords.valueAt(i); in dump()
635 UserRecord userRecord = mUserRecords.get( in restoreRoute()
664 UserRecord oldUser = mUserRecords.get(oldUserId); in switchUser()
670 UserRecord newUser = mUserRecords.get(userId); in switchUser()
691 UserRecord userRecord = mUserRecords.get(userId); in registerClientLocked()
693 userRecord = new UserRecord(userId); in registerClientLocked()
724 UserRecord userRecord = clientRecord.mUserRecord; in registerClientGroupIdLocked()
739 UserRecord userRecord = clientRecord.mUserRecord; in unregisterClientLocked()
841 private void initializeUserLocked(UserRecord userRecord) { in initializeUserLocked()
[all …]
DMediaRouter2ServiceImpl.java94 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>();
171 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in getSystemRoutes()
203 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in getSystemSessionInfo()
601 UserRecord oldUser = mUserRecords.get(oldUserId); in switchUser()
608 UserRecord newUser = mUserRecords.get(userId); in switchUser()
644 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in registerRouter2Locked()
668 UserRecord userRecord = routerRecord.mUserRecord; in unregisterRouter2Locked()
895 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in registerManagerLocked()
926 UserRecord userRecord = managerRecord.mUserRecord; in unregisterManagerLocked()
1115 private UserRecord getOrCreateUserRecordLocked(int userId) { in getOrCreateUserRecordLocked()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DUserDetailViewAdapterTest.kt143 UserSwitcherController.UserRecord(
/frameworks/base/services/
Dart-profile1797 …apSocketRecord;]Lcom/android/server/IpSecService$UserRecord;Lcom/android/server/IpSecService$UserR…
1803 …$OwnedResourceRecord;->getUserRecord()Lcom/android/server/IpSecService$UserRecord;+]Lcom/android/s…
1827 …vice$SpiRecord;]Lcom/android/server/IpSecService$UserRecord;Lcom/android/server/IpSecService$UserR…
1849 PLcom/android/server/IpSecService$UserRecord;-><init>()V
1850 HPLcom/android/server/IpSecService$UserRecord;->removeEncapSocketRecord(I)V+]Lcom/android/server/Ip…
1851 HPLcom/android/server/IpSecService$UserRecord;->removeSpiRecord(I)V+]Lcom/android/server/IpSecServi…
1852 PLcom/android/server/IpSecService$UserRecord;->removeTransformRecord(I)V
1853 PLcom/android/server/IpSecService$UserRecord;->removeTunnelInterfaceRecord(I)V
1854 PLcom/android/server/IpSecService$UserRecord;->toString()Ljava/lang/String;
1857 …UserResourceTracker;->getUserRecord(I)Lcom/android/server/IpSecService$UserRecord;+]Landroid/util/…
[all …]