Home
last modified time | relevance | path

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

1234

/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/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-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.java163 Path file = fs.getPath("file"); in testByteSource_size_ofSymlinkToRegularFile() local
177 Path file = fs.getPath("file"); in testByteSource_size_ofSymlinkToRegularFile_nofollowLinks() local
301 Path file = root().resolve("parent/nonexistent.file"); in testCreateParentDirectories_noPermission() local
310 Path file = parent.resolve("foo"); in testCreateParentDirectories_nonDirectoryParentExists() local
326 Path file = symlink.resolve("foo"); in testCreateParentDirectories_symlinkParentExists() local
373 Path file = fs.getPath("file"); in testPredicates() local
635 Path file = fs.getPath("dir/a"); in testDeleteRecursively_nonDirectoryFile() local
662 final Path file, final Path target, ExecutorService executor) { in startDirectorySymlinkSwitching()
695 public void delete(Path path, RecursiveDeleteOption... options) throws IOException { in delete() method
709 public void delete(Path path, RecursiveDeleteOption... options) throws IOException { in delete() method
[all …]
DIoTestCase.java97 File file = new File(getTestDir(), name); in getTestFile() local
157 private static void copy(URL url, File file) throws IOException { in copy()
175 private boolean delete(File file) { in delete() method in IoTestCase
/external/guava/android/guava-tests/test/com/google/common/io/
DIoTestCase.java97 File file = new File(getTestDir(), name); in getTestFile() local
157 private static void copy(URL url, File file) throws IOException { in copy()
175 private boolean delete(File file) { in delete() method in IoTestCase
/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/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_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/okio/okio/src/jvmMain/kotlin/okio/
DJvmSystemFileSystem.kt36 val file = path.toFile() in metadataOrNull() constant
67 val file = dir.toFile() in list() constant
129 override fun delete(path: Path, mustExist: Boolean) { in delete() method in okio.JvmSystemFileSystem
134 val file = path.toFile() in delete() constant
/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.java101 public void delete(final File fileToDelete) throws IOException { in delete() method in FileDeleteStrategy
147 protected boolean doDelete(final File file) throws IOException { in doDelete()
DFileCleaningTracker.java120 public boolean delete() { in delete() method in FileCleaningTracker.Tracker
240 public void track(final File file, final Object marker) { in track()
254 … public void track(final File file, final Object marker, final FileDeleteStrategy deleteStrategy) { in track()
269 public void track(final Path file, final Object marker) { in track()
284 … public void track(final Path 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/okio/okio/src/commonMain/kotlin/okio/
DForwardingFileSystem.kt191 val file = onPathParameter(file, "openReadOnly", "file") in openReadOnly() constant
197 val file = onPathParameter(file, "openReadWrite", "file") in openReadWrite() constant
203 val file = onPathParameter(file, "source", "file") in source() constant
209 val file = onPathParameter(file, "sink", "file") in sink() constant
215 val file = onPathParameter(file, "appendingSink", "file") in appendingSink() constant
233 override fun delete(path: Path, mustExist: Boolean) { in delete() method in okio.ForwardingFileSystem
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/
DPathUtils.java261 …private static int compareLastModifiedTimeTo(final Path file, final FileTime fileTime, final LinkO… in compareLastModifiedTimeTo()
430 public static PathCounters delete(final Path path) throws IOException { in delete() method in PathUtils
451 …public static PathCounters delete(final Path path, final DeleteOption... deleteOptions) throws IOE… in delete() method in PathUtils
474 …public static PathCounters delete(final Path path, final LinkOption[] linkOptions, final DeleteOpt… in delete() method in PathUtils
528 public static PathCounters deleteFile(final Path file) throws IOException { in deleteFile()
542 …public static PathCounters deleteFile(final Path file, final DeleteOption... deleteOptions) throws… in deleteFile()
558 …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.java146 File file = accessOrder.get(name); in getSessionData() local
186 static void logReadError(String host, File file, Throwable t) { in logReadError()
201 File file = new File(directory, name); in putSessionData() local
301 private void delete(File file) { in delete() method in FileClientSessionCache.Impl
310 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/perfetto/test/cts/test_apps/src/android/perfetto/cts/app/
DFileContentProvider.java56 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() method in FileContentProvider
68 File file = new File(getContext().getExternalFilesDir(null), filePath); in openFile() local
/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

1234