Home
last modified time | relevance | path

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

/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/openers/
DNativeReadOpenerAndroidTest.java66 File fdFile = new File("/proc/self/fd/" + result.uri().getSchemeSpecificPart()); in openForNativeRead_returnsAWorkingFileDescriptor() local
67 InputStream in = new FileInputStream(fdFile); in openForNativeRead_returnsAWorkingFileDescriptor()
72 assertThat(fdFile.exists()).isTrue(); in openForNativeRead_returnsAWorkingFileDescriptor()
74 assertThat(fdFile.exists()).isTrue(); in openForNativeRead_returnsAWorkingFileDescriptor()
76 assertThat(fdFile.exists()).isFalse(); in openForNativeRead_returnsAWorkingFileDescriptor()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DFileDescriptorLeakChecker.java90 File fdFile = new File(fdDir + i); in generateMap() local
91 if (!fdFile.exists()) { in generateMap()
98 filePath = Os.readlink(fdFile.getAbsolutePath()); in generateMap()
100 filePath = fdFile.getCanonicalPath(); in generateMap()
102 String key = fdFile + "=" + filePath; in generateMap()