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 | 224 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseSecurityParameterIndex() local 225 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseSecurityParameterIndex() 227 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testReleaseSecurityParameterIndex() 243 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testSecurityParameterIndexBinderDeath() local 245 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath() 260 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testSecurityParameterIndexBinderDeath() 262 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath() 447 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseOwnedSpi() local 448 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi() 460 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi() [all …]
|
D | IpSecServiceTest.java | 185 IpSecService.UserRecord userRecord = in testOpenAndCloseUdpEncapsulationSocket() local 187 assertEquals(0, userRecord.mSocketQuotaTracker.mCurrent); in testOpenAndCloseUdpEncapsulationSocket() 189 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow(udpEncapResp.resourceId); in testOpenAndCloseUdpEncapsulationSocket() 201 IpSecService.UserRecord userRecord = in testUdpEncapsulationSocketBinderDeath() local 204 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow( in testUdpEncapsulationSocketBinderDeath() 210 assertEquals(0, userRecord.mSocketQuotaTracker.mCurrent); in testUdpEncapsulationSocketBinderDeath() 212 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow(udpEncapResp.resourceId); in testUdpEncapsulationSocketBinderDeath()
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 1118 UserRecord userRecord = mUserResourceTracker.getUserRecord(callingUid); in allocateSecurityParameterIndex() local 1123 if (!userRecord.mSpiQuotaTracker.isAvailable()) { in allocateSecurityParameterIndex() 1133 userRecord.mSpiRecords.put( in allocateSecurityParameterIndex() 1160 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in releaseSecurityParameterIndex() local 1161 releaseResource(userRecord.mSpiRecords, resourceId); in releaseSecurityParameterIndex() 1235 UserRecord userRecord = mUserResourceTracker.getUserRecord(callingUid); in openUdpEncapsulationSocket() local 1239 if (!userRecord.mSocketQuotaTracker.isAvailable()) { in openUdpEncapsulationSocket() 1262 userRecord.mEncapSocketRecords.put( in openUdpEncapsulationSocket() 1278 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in closeUdpEncapsulationSocket() local 1279 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 …]
|