Searched refs:userRecord (Results 1 – 6 of 6) sorted by relevance
/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/packages/CarSystemUI/src/com/android/systemui/car/userswitcher/ |
D | UserGridRecyclerView.java | 261 UserRecord userRecord = mUsers.get(position); in onBindViewHolder() local 262 RoundedBitmapDrawable circleIcon = getCircularUserRecordIcon(userRecord); in onBindViewHolder() 264 holder.mUserNameTextView.setText(getUserRecordName(userRecord)); in onBindViewHolder() 267 if (userRecord == null) { in onBindViewHolder() 271 switch (userRecord.mType) { in onBindViewHolder() 273 notifyUserSelected(userRecord); in onBindViewHolder() 284 mAddUserRecord = userRecord; in onBindViewHolder() 291 notifyUserSelected(userRecord); in onBindViewHolder() 292 mCarUserManagerHelper.switchToUser(userRecord.mInfo); in onBindViewHolder() 378 private void notifyUserSelected(UserRecord userRecord) { in notifyUserSelected() argument [all …]
|
/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 | 432 UserRecord userRecord = mUserRecords.valueAt(i); in dump() local 434 userRecord.dump(pw, ""); in dump() 617 UserRecord userRecord = mUserRecords.get( in restoreRoute() local 619 if (userRecord != null && userRecord.mClientRecords != null) { in restoreRoute() 620 for (ClientRecord cr : userRecord.mClientRecords) { in restoreRoute() 673 UserRecord userRecord = mUserRecords.get(userId); in registerClientLocked() local 674 if (userRecord == null) { in registerClientLocked() 675 userRecord = new UserRecord(userId); in registerClientLocked() 678 clientRecord = new ClientRecord(userRecord, client, uid, pid, packageName, trusted); in registerClientLocked() 686 mUserRecords.put(userId, userRecord); in registerClientLocked() [all …]
|
D | MediaRouter2ServiceImpl.java | 111 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in getSystemRoutes() local 114 userRecord.mHandler.mSystemProvider.getProviderInfo(); in getSystemRoutes() 122 systemRoutes.add(userRecord.mHandler.mSystemProvider.getDefaultRoute()); in getSystemRoutes() 143 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in getSystemSessionInfo() local 146 sessionInfos = userRecord.mHandler.mSystemProvider.getSessionInfos(); in getSystemSessionInfo() 153 systemSessionInfo = userRecord.mHandler.mSystemProvider.getDefaultSessionInfo(); in getSystemSessionInfo() 560 UserRecord userRecord = getOrCreateUserRecordLocked(userId); in registerRouter2Locked() local 561 RouterRecord routerRecord = new RouterRecord(userRecord, router, uid, pid, packageName, in registerRouter2Locked() 569 userRecord.mRouterRecords.add(routerRecord); in registerRouter2Locked() 572 userRecord.mHandler.sendMessage( in registerRouter2Locked() [all …]
|