Searched refs:userRecord (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | UserGridRecyclerView.java | 215 UserRecord userRecord = mUsers.get(position); in onBindViewHolder() local 217 getUserRecordIcon(userRecord)); in onBindViewHolder() 220 holder.mUserNameTextView.setText(userRecord.mInfo.name); in onBindViewHolder() 223 if (userRecord == null) { in onBindViewHolder() 227 if (userRecord.mIsStartGuestSession) { in onBindViewHolder() 228 notifyUserSelected(userRecord); in onBindViewHolder() 234 if (userRecord.mIsAddUser) { in onBindViewHolder() 238 mAddUserRecord = userRecord; in onBindViewHolder() 244 notifyUserSelected(userRecord); in onBindViewHolder() 245 mCarUserManagerHelper.switchToUser(userRecord.mInfo); in onBindViewHolder() [all …]
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 221 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseSecurityParameterIndex() local 222 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseSecurityParameterIndex() 224 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testReleaseSecurityParameterIndex() 240 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testSecurityParameterIndexBinderDeath() local 242 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath() 257 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testSecurityParameterIndexBinderDeath() 259 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath() 444 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseOwnedSpi() local 445 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi() 457 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi() [all …]
|
D | IpSecServiceTest.java | 182 IpSecService.UserRecord userRecord = in testOpenAndCloseUdpEncapsulationSocket() local 184 assertEquals(0, userRecord.mSocketQuotaTracker.mCurrent); in testOpenAndCloseUdpEncapsulationSocket() 186 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow(udpEncapResp.resourceId); in testOpenAndCloseUdpEncapsulationSocket() 198 IpSecService.UserRecord userRecord = in testUdpEncapsulationSocketBinderDeath() local 201 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow( in testUdpEncapsulationSocketBinderDeath() 207 assertEquals(0, userRecord.mSocketQuotaTracker.mCurrent); in testUdpEncapsulationSocketBinderDeath() 209 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow(udpEncapResp.resourceId); in testUdpEncapsulationSocketBinderDeath()
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 1107 UserRecord userRecord = mUserResourceTracker.getUserRecord(callingUid); in allocateSecurityParameterIndex() local 1112 if (!userRecord.mSpiQuotaTracker.isAvailable()) { in allocateSecurityParameterIndex() 1122 userRecord.mSpiRecords.put( in allocateSecurityParameterIndex() 1149 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in releaseSecurityParameterIndex() local 1150 releaseResource(userRecord.mSpiRecords, resourceId); in releaseSecurityParameterIndex() 1224 UserRecord userRecord = mUserResourceTracker.getUserRecord(callingUid); in openUdpEncapsulationSocket() local 1228 if (!userRecord.mSocketQuotaTracker.isAvailable()) { in openUdpEncapsulationSocket() 1251 userRecord.mEncapSocketRecords.put( in openUdpEncapsulationSocket() 1267 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in closeUdpEncapsulationSocket() local 1268 releaseResource(userRecord.mEncapSocketRecords, resourceId); in closeUdpEncapsulationSocket() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 421 UserRecord userRecord = mUserRecords.valueAt(i); in dump() local 423 userRecord.dump(pw, ""); in dump() 451 UserRecord userRecord = mUserRecords.get(UserHandle.getUserId(uid)); in restoreRoute() local 452 if (userRecord != null && userRecord.mClientRecords != null) { in restoreRoute() 453 for (ClientRecord cr : userRecord.mClientRecords) { in restoreRoute() 505 UserRecord userRecord = mUserRecords.get(userId); in registerClientLocked() local 506 if (userRecord == null) { in registerClientLocked() 507 userRecord = new UserRecord(userId); in registerClientLocked() 510 clientRecord = new ClientRecord(userRecord, client, uid, pid, packageName, trusted); in registerClientLocked() 518 mUserRecords.put(userId, userRecord); in registerClientLocked() [all …]
|