Home
last modified time | relevance | path

Searched +defs:delete +defs:file (Results 1 – 25 of 76) sorted by relevance

1234

/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() method
126 boolean exists(File file) throws IOException; in exists()
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() method
124 boolean exists(File file) throws IOException; in exists()
127 long size(File file); in size()
/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() method in FaultyFileSystem
61 @Override public boolean exists(File file) throws IOException { in exists()
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/guava/guava-tests/test/com/google/common/io/
DMoreFilesTest.java169 Path file = fs.getPath("file"); in testByteSource_size_ofSymlinkToRegularFile() local
183 Path file = fs.getPath("file"); in testByteSource_size_ofSymlinkToRegularFile_nofollowLinks() local
304 Path file = root().resolve("parent/nonexistent.file"); in testCreateParentDirectories_noPermission() local
319 Path file = parent.resolve("foo"); in testCreateParentDirectories_nonDirectoryParentExists() local
330 Path file = symlink.resolve("foo"); in testCreateParentDirectories_symlinkParentExists() local
371 Path file = createTempFile(); in testPredicates() local
636 Path file = fs.getPath("dir/a"); in testDeleteRecursively_nonDirectoryFile() local
663 final Path file, final Path target, ExecutorService executor) { in startDirectorySymlinkSwitching()
696 public void delete(Path path, RecursiveDeleteOption... options) throws IOException { in delete() method
710 public void delete(Path path, RecursiveDeleteOption... options) throws IOException { in delete() method
[all …]
DIoTestCase.java96 File file = new File(getTestDir(), name); in getTestFile() local
156 private static void copy(URL url, File file) throws IOException { in copy()
174 private boolean delete(File file) { in delete() method in IoTestCase
/external/guava/android/guava-tests/test/com/google/common/io/
DIoTestCase.java96 File file = new File(getTestDir(), name); in getTestFile() local
156 private static void copy(URL url, File file) throws IOException { in copy()
174 private boolean delete(File file) { in delete() method in IoTestCase
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/test/java/com/google/android/exoplayer2/util/
DAtomicFileTest.java36 private File file; field in AtomicFileTest
53 public void delete() throws Exception { in delete() method in AtomicFileTest
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
DDiskCache.java21 boolean write(File file); in write()
51 void delete(Key key); in delete() method
DDiskLruCacheWrapper.java91 File file = editor.getFile(0); in put() local
107 public void delete(Key key) { in delete() method in DiskLruCacheWrapper
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/test/java/com/google/android/exoplayer2/util/
DAtomicFileTest.java36 private File file; field in AtomicFileTest
53 public void delete() throws Exception { in delete() method in AtomicFileTest
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DUserDefinedAttributeProvider.java59 public ImmutableSet<String> attributes(File file) { in attributes()
63 private static ImmutableSet<String> userDefinedAttributes(File file) { in userDefinedAttributes()
72 public Object get(File file, String attribute) { in get()
82 public void set(File file, String view, String attribute, Object value, boolean create) { in set()
158 public void delete(String name) throws IOException { in delete() method in UserDefinedAttributeProvider.View
/external/apache-commons-io/src/main/java/org/apache/commons/io/
DFileDeleteStrategy.java100 public void delete(final File fileToDelete) throws IOException { in delete() method in FileDeleteStrategy
146 protected boolean doDelete(final File file) throws IOException { in doDelete()
DFileCleaningTracker.java116 public boolean delete() { in delete() method in FileCleaningTracker.Tracker
233 public void track(final File file, final Object marker) { in track()
247 … public void track(final File file, final Object marker, final FileDeleteStrategy deleteStrategy) { in track()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DFileUtils.java67 public static boolean delete(File path) { in delete() method in FileUtils
94 File file = new File(name); in copyFromStream() local
140 public static boolean rename(File file, String name) { in rename()
144 public static String readToString(File file) throws IOException { in readToString()
/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()
399 public static PathCounters delete(final Path path) throws IOException { in delete() method in PathUtils
420 …public static PathCounters delete(final Path path, final DeleteOption... deleteOptions) throws IOE… in delete() method in PathUtils
443 …public static PathCounters delete(final Path path, final LinkOption[] linkOptions, final DeleteOpt… in delete() method in PathUtils
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()
/external/conscrypt/common/src/main/java/org/conscrypt/
DFileClientSessionCache.java140 File file = accessOrder.get(name); in getSessionData() local
180 static void logReadError(String host, File file, Throwable t) { in logReadError()
195 File file = new File(directory, name); in putSessionData() local
295 private void delete(File file) { in delete() method in FileClientSessionCache.Impl
304 static void logWriteError(String host, File file, Throwable t) { in logWriteError()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DFileClientSessionCache.java144 File file = accessOrder.get(name); in getSessionData() local
184 static void logReadError(String host, File file, Throwable t) { in logReadError()
199 File file = new File(directory, name); in putSessionData() local
299 private void delete(File file) { in delete() method in FileClientSessionCache.Impl
308 static void logWriteError(String host, File file, Throwable t) { in logWriteError()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DMmsFileProvider.java54 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() method in MmsFileProvider
73 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile() local
/external/junit/src/main/java/org/junit/rules/
DTemporaryFolder.java157 File file = new File(getRoot(), fileName); in newFile() local
204 File file = root; in newFolder() local
312 public void delete() { in delete() method in TemporaryFolder
335 private boolean recursiveDelete(File file) { in recursiveDelete()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/util/
DAtomicFile.java60 public void delete() { in delete() 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.java60 public void delete() { in delete() method in AtomicFile
162 public AtomicFileOutputStream(File file) throws FileNotFoundException { in AtomicFileOutputStream()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/
DTelephonyTestProvider.java69 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() method in TelephonyTestProvider
84 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile() local
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRequestTest.java77 @Test public void file() throws Exception { in file() method in RequestTest
78 File file = File.createTempFile("RequestTest", "tmp"); in file() local
104 Request delete = new Request.Builder().url("http://localhost/api").delete().build(); in crudVerbs() local
/external/selinux/gui/
DmodulesPage.py126 def delete(self): member in modulesPage
194 def add(self, file): argument
/external/python/cpython3/Lib/
Dtempfile.py421 file = None # Set here since __del__ checks it variable in _TemporaryFileCloser
424 def __init__(self, file, name, delete=True): argument
467 def __init__(self, file, name, delete=True): argument
524 dir=None, delete=True, *, errors=None): argument
664 def _check(self, file): argument

1234