Home
last modified time | relevance | path

Searched +defs:file +defs:exists (Results 1 – 25 of 36) sorted by relevance

12

/external/apache-commons-io/src/main/java/org/apache/commons/io/monitor/
DFileEntry.java58 private final File file; field in FileEntry
60 private boolean exists; field in FileEntry
70 public FileEntry(final File file) { in FileEntry()
80 public FileEntry(final FileEntry parent, final File file) { in FileEntry()
191 public FileEntry newChildInstance(final File file) { in newChildInstance()
211 public boolean refresh(final File file) { in refresh()
258 public void setExists(final boolean exists) { in setExists()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DFileSystem.java108 Source source(File file) throws FileNotFoundException; in source()
114 Sink sink(File file) throws FileNotFoundException; in sink()
120 Sink appendingSink(File file) throws FileNotFoundException; in appendingSink()
123 void delete(File file) throws IOException; in delete()
126 boolean exists(File file) throws IOException; in exists() method
129 long size(File file); in size()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DFileSystem.java106 Source source(File file) throws FileNotFoundException; in source()
112 Sink sink(File file) throws FileNotFoundException; in sink()
118 Sink appendingSink(File file) throws FileNotFoundException; in appendingSink()
121 void delete(File file) throws IOException; in delete()
124 boolean exists(File file) throws IOException; in exists() method
127 long size(File file); in size()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowEnvironment.java93 private static boolean exists(Path path) { in exists() method in ShadowEnvironment
99 final Boolean exists = STORAGE_REMOVABLE.get(getExternalStorageDirectory()); in isExternalStorageRemovable() local
127 final Boolean exists = STORAGE_REMOVABLE.get(path); in isExternalStorageRemovable() local
148 public static void setExternalStorageRemovable(File file, boolean isRemovable) { in setExternalStorageRemovable()
158 public static void setExternalStorageEmulated(File file, boolean isEmulated) { in setExternalStorageEmulated()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DFaultyFileSystem.java37 public void setFaulty(File file, boolean faulty) { in setFaulty()
45 @Override public Source source(File file) throws FileNotFoundException { in source()
49 @Override public Sink sink(File file) throws FileNotFoundException { in sink()
53 @Override public Sink appendingSink(File file) throws FileNotFoundException { in appendingSink()
57 @Override public void delete(File file) throws IOException { in delete()
61 @Override public boolean exists(File file) throws IOException { in exists() method in FaultyFileSystem
65 @Override public long size(File file) { in size()
78 private final File file; field in FaultyFileSystem.FaultySink
80 public FaultySink(Sink delegate, File file) { in FaultySink()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DDirectoryEntry.java43 @NullableDecl private final File file; field in DirectoryEntry
47 DirectoryEntry(Directory directory, Name name, @NullableDecl File file) { in DirectoryEntry()
54 public boolean exists() { in exists() method in DirectoryEntry
132 public File file() { in file() method in DirectoryEntry
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowEnvironment.java186 final Boolean exists = STORAGE_REMOVABLE.get(getExternalStorageDirectory()); in isExternalStorageRemovable() local
214 final Boolean exists = STORAGE_REMOVABLE.get(path); in isExternalStorageRemovable() local
245 public static void setExternalStorageRemovable(File file, boolean isRemovable) { in setExternalStorageRemovable()
255 public static void setExternalStorageEmulated(File file, boolean isEmulated) { in setExternalStorageEmulated()
329 void setExternalStorageAndroidData(File file); in setExternalStorageAndroidData()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/
DJavaFileBackend.java60 File file = FileUriAdapter.instance().toFile(uri); in openForRead() local
66 File file = FileUriAdapter.instance().toFile(uri); in openForNativeRead() local
73 File file = FileUriAdapter.instance().toFile(uri); in openForWrite() local
80 File file = FileUriAdapter.instance().toFile(uri); in openForAppend() local
87 File file = FileUriAdapter.instance().toFile(uri); in deleteFile() local
122 public boolean exists(Uri uri) throws IOException { in exists() method in JavaFileBackend
123 File file = FileUriAdapter.instance().toFile(uri); in exists() local
129 File file = FileUriAdapter.instance().toFile(uri); in isDirectory() local
135 File file = FileUriAdapter.instance().toFile(uri); in createDirectory() local
143 File file = FileUriAdapter.instance().toFile(uri); in fileSize() local
DAndroidFileBackend.java186 public boolean exists(Uri uri) throws IOException { in exists() method in AndroidFileBackend
218 File file = toFile(uri); in rewriteUri() local
236 File file = AndroidUriAdapter.forContext(context, accountManager).toFile(uri); in toFile() local
247 private void throwIfStorageIsLocked(File file) throws FileStorageUnavailableException { in throwIfStorageIsLocked()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/routeguide/
DRouteGuideUtil.java58 public static List<Feature> parseFeatures(URL file) throws IOException { in parseFeatures()
77 public static boolean exists(Feature feature) { in exists() method in RouteGuideUtil
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DFileFsFile.java17 private final File file; field in FileFsFile
19 FileFsFile(File file) { in FileFsFile()
28 public boolean exists() { in exists() method in FileFsFile
157 File file = null; in from() local
DFs.java68 public static FsFile newFile(File file) { in newFile()
72 public static FsFile newJarFile(File file) { in newJarFile()
97 public JarFs(File file) { in JarFs()
147 @Override public boolean exists() { in exists() method in Fs.JarFs.JarFsFile
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/util/
DAtomicFile.java55 public boolean exists() { in exists() method in AtomicFile
162 public AtomicFileOutputStream(File file) throws FileNotFoundException { in AtomicFileOutputStream()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/
DAtomicFile.java55 public boolean exists() { in exists() method in AtomicFile
162 public AtomicFileOutputStream(File file) throws FileNotFoundException { in AtomicFileOutputStream()
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DMediaStoreThumbFetcher.java100 public boolean exists(File file) { in exists() method in MediaStoreThumbFetcher.FileService
104 public long length(File file) { in length()
140 File file = service.get(path); in open() local
/external/rust/crates/tempfile/tests/
Dnamedtempfile.rs10 fn exists<P: AsRef<Path>>(path: P) -> bool { in exists() function
128 let mut file = NamedTempFile::new().unwrap(); in test_into_file() localVariable
133 let mut file = file.into_file(); in test_into_file() localVariable
282 let mut file = NamedTempFile::new().unwrap(); in test_into_parts() localVariable
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/
DPathUtils.java253 …private static int compareLastModifiedTimeTo(final Path file, final FileTime fileTime, final LinkO… in compareLastModifiedTimeTo()
497 public static PathCounters deleteFile(final Path file) throws IOException { in deleteFile()
511 …public static PathCounters deleteFile(final Path file, final DeleteOption... deleteOptions) throws… in deleteFile()
527 …public static PathCounters deleteFile(final Path file, final LinkOption[] linkOptions, final Delet… in deleteFile()
666 private static boolean exists(final Path path, final LinkOption... options) { in exists() method in PathUtils
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/datasource/src/main/java/com/google/android/exoplayer2/upstream/cache/
DCachedContentIndex.java443 boolean exists() throws IOException; in exists() method
519 public LegacyStorage(File file, @Nullable byte[] secretKey, boolean encrypt) { in LegacyStorage()
547 public boolean exists() { in exists() method in CachedContentIndex.LegacyStorage
796 public boolean exists() throws DatabaseIOException { in exists() method in CachedContentIndex.DatabaseStorage
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/datasource/src/main/java/com/google/android/exoplayer2/upstream/cache/
DCachedContentIndex.java443 boolean exists() throws IOException; in exists() method
519 public LegacyStorage(File file, @Nullable byte[] secretKey, boolean encrypt) { in LegacyStorage()
547 public boolean exists() { in exists() method in CachedContentIndex.LegacyStorage
796 public boolean exists() throws DatabaseIOException { in exists() method in CachedContentIndex.DatabaseStorage
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_build_util.h169 DataFile file; variable
304 BuildUtil::DataArray::exists(ValueMap &m, unsigned int i, unsigned int c) in exists() function
/external/libwebm/
Dvttdemux.cc34 FILE* file; member
413 std::map<MetadataInfo::Type, int> exists; in OpenFiles() local
588 FILE* const file = info.file; in WriteChaptersFile() local
/external/libchrome/base/metrics/
Dpersistent_histogram_allocator.cc684 bool exists = PathExists(file_path); in CreateWithFile() local
685 File file( in CreateWithFile() local
976 File file(persistent_location_, in DeletePersistentLocation() local
/external/cronet/buildtools/third_party/libc++/trunk/test/support/
Dfilesystem_test_helper.h143 inline bool exists(std::string const& path) { in exists() function
235 FILE* file = utils::fopen64(filename.c_str(), "w" FOPEN_CLOEXEC_FLAG); member
/external/libconfig/lib/
Dlibconfigcpp.c++51 ParseException::ParseException(const char *file, int line, const char *error) in ParseException()
503 bool Config::exists(const char *path) const in exists() function in libconfig::Config
999 bool Setting::exists(const char *name) const in exists() function in libconfig::Setting
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/
DStandard_Suite.py196 def exists(self, _object, _attributes={}, **_arguments): member in Standard_Suite_Events
583 class file(aetools.ComponentItem): class

12