Home
last modified time | relevance | path

Searched refs:userRecord (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceParameterizedTest.java279 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseSecurityParameterIndex() local
280 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseSecurityParameterIndex()
282 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testReleaseSecurityParameterIndex()
298 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testSecurityParameterIndexBinderDeath() local
300 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath()
315 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testSecurityParameterIndexBinderDeath()
317 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath()
502 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseOwnedSpi() local
503 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi()
515 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi()
[all …]
DIpSecServiceTest.java188 IpSecService.UserRecord userRecord = in testOpenAndCloseUdpEncapsulationSocket() local
190 assertEquals(0, userRecord.mSocketQuotaTracker.mCurrent); in testOpenAndCloseUdpEncapsulationSocket()
192 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow(udpEncapResp.resourceId); in testOpenAndCloseUdpEncapsulationSocket()
204 IpSecService.UserRecord userRecord = in testUdpEncapsulationSocketBinderDeath() local
207 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow( in testUdpEncapsulationSocketBinderDeath()
213 assertEquals(0, userRecord.mSocketQuotaTracker.mCurrent); in testUdpEncapsulationSocketBinderDeath()
215 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow(udpEncapResp.resourceId); in testUdpEncapsulationSocketBinderDeath()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/
DUserGridRecyclerView.java278 UserRecord userRecord = mUsers.get(position); in onBindViewHolder() local
280 Drawable circleIcon = getCircularUserRecordIcon(userRecord); in onBindViewHolder()
282 if (userRecord.mInfo != null) { in onBindViewHolder()
284 holder.mUserAvatarImageView.setDrawableWithBadge(circleIcon, userRecord.mInfo.id); in onBindViewHolder()
289 holder.mUserNameTextView.setText(getUserRecordName(userRecord)); in onBindViewHolder()
292 if (userRecord == null) { in onBindViewHolder()
296 switch (userRecord.mType) { in onBindViewHolder()
298 notifyUserSelected(userRecord); in onBindViewHolder()
311 mAddUserRecord = userRecord; in onBindViewHolder()
318 notifyUserSelected(userRecord); in onBindViewHolder()
[all …]