Home
last modified time | relevance | path

Searched refs:leasee (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobMetadata.java193 final Leasee leasee = new Leasee(mContext, callingPackage, callingUid, in addOrReplaceLeasee() local
195 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 …]
DBlobStoreManagerService.java600 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()
/frameworks/base/core/proto/android/server/
Dblobstoremanagerservice.proto68 repeated BlobLeaseeProto leasee = 1; field
/frameworks/proto_logging/stats/
Datoms.proto7746 // Uid of the Blob leasee
18145 repeated BlobLeaseeProto leasee = 1; field