Searched refs:delete (Results 101 - 125 of 134) sorted by relevance

123456

/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java88 folder.delete();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DFileChannelTest.java157 fileOfReadOnlyFileChannel.delete();
160 fileOfWriteOnlyFileChannel.delete();
163 fileOfReadWriteFileChannel.delete();
2005 fileOfReadOnlyFileChannel.delete();
3070 * Make sure we could delete the file after we called transferTo() method.
3080 // delete both files
3083 boolean rDel = fileOfReadOnlyFileChannel.delete();
3084 boolean wDel = fileOfWriteOnlyFileChannel.delete();
3093 * Make sure we could delete the file after we called transferFrom() method.
3103 // delete bot
[all...]
H A DChannelsTest.java81 tmpFile.delete();
/libcore/ojluni/src/main/java/java/io/
H A DFile.java1017 * java.nio.file.Files#delete(Path) delete} method to throw an {@link IOException}
1027 * delete access to the file
1029 public boolean delete() { method in class:File
1037 return fs.delete(this);
1045 * they are registered. Invoking this method to delete a file or
1063 * <li>Use a {@code finally} clause to manually invoke {@link #delete}.
1064 * <li>Maintain your own set of files to delete, and process it at an appropriate point
1074 * delete access to the file
1076 * @see #delete
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DFileInputStreamTest.java259 tmpFile.delete();
H A DRandomAccessFileTest.java1046 if (!f.delete()) {
1047 fail("Unable to delete test file : " + f);
1060 f.delete();
H A DPrintStreamTest.java756 testFile.delete();
H A DObjectOutputStreamTest.java1044 if (!f.delete()) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DJarURLConnectionTest.java224 assertTrue(file.delete());
/libcore/luni/src/test/java/libcore/java/io/
H A DOldObjectOutputStreamTest.java392 if (!f.delete()) {
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DLinuxUserDefinedFileAttributeView.java276 public void delete(String name) throws IOException { method in class:LinuxUserDefinedFileAttributeView
285 null, "Unable to delete extended attribute '" + name + "': " + x.getMessage());
/libcore/ojluni/src/main/java/sun/security/x509/
H A DIssuingDistributionPointExtension.java74 * get, set, delete methods of Certificate, x509 type.
334 public void delete(String name) throws IOException { method in class:IssuingDistributionPointExtension
H A DNameConstraintsExtension.java67 * get, set, delete methods of Certificate, x509 type.
282 public void delete(String name) throws IOException { method in class:NameConstraintsExtension
H A DX509CertImpl.java753 public void delete(String name) method in class:X509CertImpl
774 info.delete(attr.getSuffix());
784 "delete() not allowed for the same: " + id);
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldFileChannelTest.java137 fileOfReadOnlyFileChannel.delete();
140 fileOfWriteOnlyFileChannel.delete();
143 fileOfReadWriteFileChannel.delete();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStringBufferTest.java71 buffer.delete(2, 4);
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldRuntimeTest.java322 f.delete();
/libcore/luni/src/test/java/libcore/java/net/
H A DOldJarURLConnectionTest.java307 assertTrue(jarFile.delete());
/libcore/ojluni/src/main/java/java/util/zip/
H A DZipFile.java679 // Android-changed, explicit delete for OPEN_DELETE ZipFile.
681 fileToRemoveOnClose.delete();
/libcore/luni/src/test/java/libcore/java/nio/file/
H A DDefaultFileSystemProvider2Test.java412 Files.delete(filesSetup.getTestPath());
425 Files.delete(filesSetup.getTestPath());
/libcore/ojluni/src/main/java/java/nio/file/
H A DFiles.java210 * invoked to check delete access if the file is opened with the
270 * <em>best effort</em> attempt to delete the file when closed by the
273 * delete the file when the Java virtual machine terminates. </td>
351 * invoked to check delete access if the file is opened with the
397 * invoked to check delete access if the file is opened with the
806 * {@link java.io.File#deleteOnExit} mechanism may be used to delete the
912 * used to delete the directory automatically.
1103 * method to delete a directory and all entries in the directory, or an
1110 * the path to the file to delete
1123 * is invoked to check delete acces
1125 public static void delete(Path path) throws IOException { method in class:Files
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DFormatterTest.java422 assertTrue(notExist.delete());
435 assertTrue(notExist.delete());
4218 notExist.delete();
4243 notExist.delete();
4247 fileWithContent.delete();
4250 readOnly.delete();
4253 secret.delete();
H A DControlTest.java386 copy.delete();
H A DScannerTest.java98 assertTrue(tmpFile.delete());
113 tmpFile.delete();
166 assertTrue(tmpFile.delete());
190 assertTrue(tmpFile.delete());
374 assertTrue(tmpFile.delete());
422 assertTrue(tmpFile.delete());
510 assertTrue(tmpFile.delete());
/libcore/ojluni/src/main/java/java/lang/
H A DAbstractStringBuilder.java770 public AbstractStringBuilder delete(int start, int end) { method in class:AbstractStringBuilder

Completed in 1081 milliseconds

123456