Home
last modified time | relevance | path

Searched refs:revocableFd (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreSession.java226 final RevocableFileDescriptor revocableFd = new RevocableFileDescriptor(mContext, fd, in openWrite() local
234 trackRevocableFdLocked(revocableFd); in openWrite()
235 return revocableFd.getRevocableFileDescriptor(); in openWrite()
290 final RevocableFileDescriptor revocableFd = new RevocableFileDescriptor(mContext, fd); in openRead() local
297 trackRevocableFdLocked(revocableFd); in openRead()
298 return revocableFd.getRevocableFileDescriptor(); in openRead()
498 private void trackRevocableFdLocked(RevocableFileDescriptor revocableFd) { in trackRevocableFdLocked() argument
500 mRevocableFds.add(revocableFd); in trackRevocableFdLocked()
502 revocableFd.addOnCloseListener((e) -> { in trackRevocableFdLocked()
504 mRevocableFds.remove(revocableFd); in trackRevocableFdLocked()
DBlobMetadata.java538 final RevocableFileDescriptor revocableFd = in createRevocableFd() local
549 revocableFdsForAccessor.add(revocableFd); in createRevocableFd()
551 revocableFd.addOnCloseListener((e) -> { in createRevocableFd()
556 revocableFdsForAccessor.remove(revocableFd); in createRevocableFd()
563 return revocableFd.getRevocableFileDescriptor(); in createRevocableFd()