Searched refs:userRecord (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 191 IpSecService.UserRecord userRecord = in testReleaseSecurityParameterIndex() local 193 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseSecurityParameterIndex() 195 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testReleaseSecurityParameterIndex() 211 IpSecService.UserRecord userRecord = in testSecurityParameterIndexBinderDeath() local 214 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath() 228 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testSecurityParameterIndexBinderDeath() 230 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath() 363 IpSecService.UserRecord userRecord = in testReleaseOwnedSpi() local 365 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi() 376 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi() [all …]
|
D | IpSecServiceTest.java | 170 IpSecService.UserRecord userRecord = in testOpenAndCloseUdpEncapsulationSocket() local 172 assertEquals(0, userRecord.mSocketQuotaTracker.mCurrent); in testOpenAndCloseUdpEncapsulationSocket() 174 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow(udpEncapResp.resourceId); in testOpenAndCloseUdpEncapsulationSocket() 186 IpSecService.UserRecord userRecord = in testUdpEncapsulationSocketBinderDeath() local 189 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow( in testUdpEncapsulationSocketBinderDeath() 195 assertEquals(0, userRecord.mSocketQuotaTracker.mCurrent); in testUdpEncapsulationSocketBinderDeath() 197 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow(udpEncapResp.resourceId); in testUdpEncapsulationSocketBinderDeath()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | UserGridRecyclerView.java | 201 UserRecord userRecord = mUsers.get(position); in onBindViewHolder() local 203 getUserRecordIcon(userRecord)); in onBindViewHolder() 206 holder.mUserNameTextView.setText(userRecord.mInfo.name); in onBindViewHolder() 209 if (userRecord == null) { in onBindViewHolder() 215 if (userRecord.mIsStartGuestSession) { in onBindViewHolder() 216 notifyUserSelected(userRecord); in onBindViewHolder() 222 if (userRecord.mIsAddUser) { in onBindViewHolder() 232 mAddUserRecord = userRecord; in onBindViewHolder() 245 notifyUserSelected(userRecord); in onBindViewHolder() 246 mUserManagerHelper.switchToUser(userRecord.mInfo); in onBindViewHolder() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 1083 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in allocateSecurityParameterIndex() local 1088 if (!userRecord.mSpiQuotaTracker.isAvailable()) { in allocateSecurityParameterIndex() 1098 userRecord.mSpiRecords.put( in allocateSecurityParameterIndex() 1125 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in releaseSecurityParameterIndex() local 1126 releaseResource(userRecord.mSpiRecords, resourceId); in releaseSecurityParameterIndex() 1200 UserRecord userRecord = mUserResourceTracker.getUserRecord(callingUid); in openUdpEncapsulationSocket() local 1204 if (!userRecord.mSocketQuotaTracker.isAvailable()) { in openUdpEncapsulationSocket() 1226 userRecord.mEncapSocketRecords.put( in openUdpEncapsulationSocket() 1242 UserRecord userRecord = mUserResourceTracker.getUserRecord(Binder.getCallingUid()); in closeUdpEncapsulationSocket() local 1243 releaseResource(userRecord.mEncapSocketRecords, resourceId); in closeUdpEncapsulationSocket() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 400 UserRecord userRecord = mUserRecords.valueAt(i); in dump() local 402 userRecord.dump(pw, ""); in dump() 428 UserRecord userRecord = mUserRecords.get(UserHandle.getUserId(uid)); in restoreRoute() local 429 if (userRecord != null && userRecord.mClientRecords != null) { in restoreRoute() 430 for (ClientRecord cr : userRecord.mClientRecords) { in restoreRoute() 482 UserRecord userRecord = mUserRecords.get(userId); in registerClientLocked() local 483 if (userRecord == null) { in registerClientLocked() 484 userRecord = new UserRecord(userId); in registerClientLocked() 487 clientRecord = new ClientRecord(userRecord, client, uid, pid, packageName, trusted); in registerClientLocked() 495 mUserRecords.put(userId, userRecord); in registerClientLocked() [all …]
|