Searched refs:leasee (Results 1 – 4 of 4) sorted by relevance
193 final Leasee leasee = new Leasee(mContext, callingPackage, callingUid, in addOrReplaceLeasee() local195 mLeasees.remove(leasee); in addOrReplaceLeasee()196 mLeasees.add(leasee); in addOrReplaceLeasee()209 mLeasees.removeIf((leasee) -> in removeLeasee()210 leasee.uid == uid && leasee.packageName.equals(packageName)); in removeLeasee()216 mLeasees.removeIf(leasee -> { in removeLeaseesFromUnknownPkgs()217 final int userId = UserHandle.getUserId(leasee.uid); in removeLeaseesFromUnknownPkgs()222 return !leasee.packageName.equals(userPackages.get(leasee.uid)); in removeLeaseesFromUnknownPkgs()229 mLeasees.removeIf(leasee -> !leasee.isStillValid()); in removeExpiredLeases()236 mLeasees.removeIf(leasee -> (userId == UserHandle.getUserId(leasee.uid))); in removeDataForUser()[all …]
600 blobMetadata.forEachLeasee(leasee -> { in queryBlobsForUserInternal()601 if (!leasee.isStillValid()) { in queryBlobsForUserInternal()604 if (userId != UserHandle.getUserId(leasee.uid)) { in queryBlobsForUserInternal()607 final int descriptionResId = leasee.descriptionResEntryName == null in queryBlobsForUserInternal()609 : getDescriptionResourceId(resourcesGetter.apply(leasee.packageName), in queryBlobsForUserInternal()610 leasee.descriptionResEntryName, leasee.packageName); in queryBlobsForUserInternal()611 final long expiryTimeMs = leasee.expiryTimeMillis == 0 in queryBlobsForUserInternal()612 ? blobHandle.getExpiryTimeMillis() : leasee.expiryTimeMillis; in queryBlobsForUserInternal()613 leaseInfos.add(new LeaseInfo(leasee.packageName, expiryTimeMs, in queryBlobsForUserInternal()614 descriptionResId, leasee.description)); in queryBlobsForUserInternal()
68 repeated BlobLeaseeProto leasee = 1; field
7746 // Uid of the Blob leasee18145 repeated BlobLeaseeProto leasee = 1; field