Home
last modified time | relevance | path

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

12345

/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-testing-support/src/main/java/com/squareup/okhttp/internal/io/
DInMemoryFileSystem.java32 @Override public Source source(File file) throws FileNotFoundException { in source()
38 @Override public Sink sink(File file) throws FileNotFoundException { in sink()
44 @Override public Sink appendingSink(File file) throws FileNotFoundException { in appendingSink()
49 @Override public void delete(File file) throws IOException { in delete() method in InMemoryFileSystem
53 @Override public boolean exists(File file) throws IOException { in exists()
57 @Override public long size(File file) { in size()
71 File file = i.next(); in deleteContents() local
/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/junit/src/org/junit/rules/
DTemporaryFolder.java52 File file= new File(getRoot(), fileName); in newFile() local
68 File file = getRoot(); in newFolder() local
102 public void delete() { in delete() method in TemporaryFolder
106 private void recursiveDelete(File file) { in recursiveDelete()
/external/guava/guava-tests/test/com/google/common/io/
DIoTestCase.java99 File file = new File(getTestDir(), name); in getTestFile() local
163 private static void copy(URL url, File file) throws IOException { in copy()
180 private boolean delete(File file) { in delete() method in IoTestCase
DFilesTest.java364 File file = root(); in testCreateParentDirs_root() local
371 File file = file("nonexistent.file"); in testCreateParentDirs_relativePath() local
378 File file = file(getTempDir(), "nonexistent.file"); in testCreateParentDirs_noParentsNeeded() local
384 File file = file(getTempDir(), "parent", "nonexistent.file"); in testCreateParentDirs_oneParentNeeded() local
396 File file = file(getTempDir(), "grandparent", "parent", "nonexistent.file"); in testCreateParentDirs_multipleParentsNeeded() local
407 File file = file(parent, "foo"); in testCreateParentDirs_nonDirectoryParentExists() local
481 public UnmovableFile(File file, boolean canRename, boolean canDelete) { in UnmovableFile()
493 public boolean delete() { in delete() method in FilesTest.UnmovableFile
591 File file = createTempFile(); in testMap() local
604 File file = createTempFile(); in testMap_noSuchFile() local
[all …]
/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/sl4a/Utils/src/com/googlecode/android_scripting/
DFileUtils.java68 public static boolean delete(File path) { in delete() method in FileUtils
95 File file = new File(name); in copyFromStream() local
141 public static boolean rename(File file, String name) { in rename()
145 public static String readToString(File file) throws IOException { in readToString()
/external/guice/extensions/persist/lib/
Djboss-archive-browsing.jar ... (java.io.File) public static boolean delete (java.lang.String) public static boolean ...
Dcommons-io.jar ... .ref.ReferenceQueue) java.io.File file Object marker java.lang.ref.ReferenceQueue queue ...
/external/conscrypt/src/main/java/org/conscrypt/
DFileClientSessionCache.java136 File file = accessOrder.get(name); in getSessionData() local
183 static void logReadError(String host, File file, Throwable t) { in logReadError()
197 File file = new File(directory, name); in putSessionData() local
297 private void delete(File file) { in delete() method in FileClientSessionCache.Impl
304 static void logWriteError(String host, File file, Throwable t) { in logWriteError()
/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/policycoreutils/gui/
DmodulesPage.py114 def delete(self): member in modulesPage
181 def add(self, file): argument
/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/jetty/src/java/org/eclipse/jetty/util/resource/
DFileResource.java130 FileResource(URL url, URLConnection connection, File file) in FileResource()
305 public boolean delete() in delete() method in FileResource
DResource.java196 public static Resource newResource (File file) in newResource()
401 public abstract boolean delete() in delete() method in Resource
674 public static URL toURL(File file) throws MalformedURLException in toURL()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptManager.java224 File file = (File) mAdapter.getItem(info.position); in onContextItemSelected() local
365 final File file = (File) list.getItemAtPosition(position); in onListItemClick() local
427 private void delete(final File file) { in delete() method in ScriptManager
476 private void rename(final File file) { in rename()
/external/selinux/policycoreutils/semanage/
Dseobject.py357 def add(self, file, priority): argument
387 def modify(self, file): argument
392 def delete(self, module, priority): member in moduleRecords
478 def delete(self, name): member in permissiveRecords
663 def delete(self, name): member in loginRecords
944 def delete(self, name): member in seluserRecords
1202 def delete(self, port, proto): member in portRecords
1455 def delete(self, addr, mask, proto): member in nodeRecords
1649 def delete(self, interface): member in interfaceRecords
1999 def delete(self, target, ftype): member in fcontextRecords
[all …]
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DDiskLruCache.java386 private static void deleteIfExists(File file) throws IOException { in deleteIfExists()
588 File file = entry.getCleanFile(i); in remove() local
656 public void delete() throws IOException { in delete() method in DiskLruCache
/external/guice/extensions/struts2/lib/
Dcommons-io-1.3.2.jar ... io.File, int) java.io.File file int depth public void <init> (java ...
/external/toybox/toys/pending/
Dcrond.c327 int delete = 1; in remove_completed_jobs() local
432 char *file = "/bin/sh"; in do_fork() local
/external/libphonenumber/demo/war/WEB-INF/lib/
Dcommons-io-1.4.jar ... io.File, int) java.io.File file int depth public void <init> (java ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.filesystem_1.3.1.R36x_v20100727-0745.jar ... core.filesystem.IFileStore store java.io.File file public static java.net.URI toURI ( ...
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java278 public void delete(String name) { in delete() method in NanoHTTPD.CookieHandler
387 private final File file; field in NanoHTTPD.DefaultTempFile
397 public void delete() throws Exception { in delete() method in NanoHTTPD.DefaultTempFile

12345