Searched refs:revocableFd (Results 1 – 2 of 2) sorted by relevance
226 final RevocableFileDescriptor revocableFd = new RevocableFileDescriptor(mContext, fd, in openWrite() local234 trackRevocableFdLocked(revocableFd); in openWrite()235 return revocableFd.getRevocableFileDescriptor(); in openWrite()290 final RevocableFileDescriptor revocableFd = new RevocableFileDescriptor(mContext, fd); in openRead() local297 trackRevocableFdLocked(revocableFd); in openRead()298 return revocableFd.getRevocableFileDescriptor(); in openRead()498 private void trackRevocableFdLocked(RevocableFileDescriptor revocableFd) { in trackRevocableFdLocked() argument500 mRevocableFds.add(revocableFd); in trackRevocableFdLocked()502 revocableFd.addOnCloseListener((e) -> { in trackRevocableFdLocked()504 mRevocableFds.remove(revocableFd); in trackRevocableFdLocked()
538 final RevocableFileDescriptor revocableFd = in createRevocableFd() local549 revocableFdsForAccessor.add(revocableFd); in createRevocableFd()551 revocableFd.addOnCloseListener((e) -> { in createRevocableFd()556 revocableFdsForAccessor.remove(revocableFd); in createRevocableFd()563 return revocableFd.getRevocableFileDescriptor(); in createRevocableFd()