Home
last modified time | relevance | path

Searched refs:getFile (Results 1 – 25 of 26) sorted by relevance

12

/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/
DFtpURLConnection.java144 int idx = url.getFile().lastIndexOf('/'); in cd()
147 String dir = url.getFile().substring(0, idx); in cd()
239 getFile(); in connectInternal()
265 String result = guessContentTypeFromName(url.getFile()); in getContentType()
272 private void getFile() throws IOException { in getFile() method in FtpURLConnection
274 String file = url.getFile(); in getFile()
426 + url.getFile().substring(url.getFile().lastIndexOf('/') + 1, in sendFile()
427 url.getFile().length()) + "\r\n"); //$NON-NLS-1$ in sendFile()
/dalvik/libcore/luni/src/main/java/java/net/
DJarURLConnection.java72 file = url.getFile(); in JarURLConnection()
189 return fileURL = new URL(url.getFile().substring(0, in getJarFileURL()
190 url.getFile().indexOf("!/"))); //$NON-NLS-1$ in getJarFileURL()
DURLStreamHandler.java318 + url.getFile().length() + 16); in toExternalForm()
327 String file = url.getFile(); in toExternalForm()
451 s1 = url1.getFile(); in sameFile()
452 s2 = url2.getFile(); in sameFile()
DURLClassLoader.java471 String path = u.getFile(); in getPermissions()
509 String file = url.getFile(); in isDirectory()
757 if (currentUrl.getFile().endsWith("!/")) { //$NON-NLS-1$ in findResourceImpl()
760 String file = currentUrl.getFile(); in findResourceImpl()
777 String baseFile = currentUrl.getFile(); in findResourceImpl()
955 String file = root.getFile(); in getInternalURLs()
1025 String file = base.getFile() + URIEncoderDecoder.quoteIllegal(name, in targetURL()
1094 if (thisURL.getFile().endsWith("!/")) { //$NON-NLS-1$ in findClassImpl()
1097 String file = thisURL.getFile(); in findClassImpl()
1127 String filename = thisURL.getFile(); in findClassImpl()
[all …]
DURLConnection.java181 if ((contentType = guessContentTypeFromName(url.getFile())) == null) { in getContent()
216 if ((contentType = guessContentTypeFromName(url.getFile())) == null) { in getContent()
DURL.java819 public String getFile() { in getFile() method in URL
/dalvik/dx/src/com/android/dx/dex/file/
DUniformItemSection.java71 DexFile file = getFile(); in prepare0()
83 DexFile file = getFile(); in writeTo0()
DSection.java88 public final DexFile getFile() { in getFile() method in Section
DMixedItemSection.java264 DexFile file = getFile(); in prepare0()
334 DexFile file = getFile(); in writeTo0()
DEncodedArrayItem.java105 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); in place0()
DDebugInfoItem.java76 encoded = encode(addedTo.getFile(), null, null, null, false); in place0()
DAnnotationItem.java156 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); in place0()
DCodeItem.java194 final DexFile file = addedTo.getFile(); in place0()
DClassDataItem.java332 encodeOutput(addedTo.getFile(), out); in place0()
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/
DHandler.java60 String file = url.getFile(); in parseURL()
102 sb.append(url.getFile()); in toExternalForm()
DJarURLConnection.java197 String fileName = jarFileURL.getFile(); in findJarFile()
373 if (url.getFile().endsWith("!/")) { //$NON-NLS-1$ in getContentType()
380 return guessContentTypeFromName(url.getFile()); in getContentType()
393 if (url.getFile().endsWith("!/")) { //$NON-NLS-1$ in getContentLength()
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/
DFileURLConnection.java61 fileName = url.getFile(); in FileURLConnection()
136 String result = guessContentTypeFromName(url.getFile()); in getContentType()
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLTest.java116 assertEquals("Assert 3: wrong file", "test.html", testURL.getFile()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
718 assertEquals(sampleFile.getPath(),fileURL.getFile()); in testGetFile()
1049 assertEquals("SSISH1 returns a wrong file", "test.html", u.getFile()); in test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler()
1059 assertEquals("SSISH2 returns a wrong file", "test.html", u.getFile()); in test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler()
1160 assertEquals("1 returns a wrong file", "/file.java", u1.getFile()); in testURLURLStringURLStreamHandler()
1169 .getFile()); in testURLURLStringURLStreamHandler()
1177 .getFile()); in testURLURLStringURLStreamHandler()
1185 assertTrue("A) returns a wrong file: " + u1.getFile(), u1.getFile() in testURLURLStringURLStreamHandler()
1191 u1.getFile()); in testURLURLStringURLStreamHandler()
/dalvik/libcore/security/src/test/java/tests/api/java/security/
DPermissionCollectionTest.java98 towrite.append(signedBKS.getFile()); in test_impliesLjava_security_Permission()
171 String classPath = new File(classURL.getFile()).getPath(); in test_impliesLjava_security_Permission()
/dalvik/libcore/security/src/main/java/java/security/
DCodeSource.java505 String thisFile = this.location.getFile(); in implies()
506 String thatFile = cs.location.getFile(); in implies()
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
DURLClassLoaderTest.java163 assertEquals("Failed to set parent", "/BogusClassLoader", res.getFile()); in test_Constructor$Ljava_net_URLLjava_lang_ClassLoader()
302 assertEquals("Failed to set parent", "/BogusClassLoader", res.getFile()); in test_newInstance$Ljava_net_URLLjava_lang_ClassLoader()
327 assertEquals("Failed to set parent", "/BogusClassLoader", res.getFile()); in test_Constructor$Ljava_net_URLLjava_lang_ClassLoaderLjava_net_URLStreamHandlerFactory()
/dalvik/libcore/xml/src/test/java/tests/api/javax/xml/parsers/
DDocumentBuilderTest.java574 File f = new File(getClass().getResource("/simple.xml").getFile()); in test_parseLjava_lang_String()
615 f = new File(getClass().getResource("/wrong.xml").getFile()); in test_parseLjava_lang_String()
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/https/
DHttpsURLConnection.java424 String file = url.getFile(); in requestString()
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/fortress/
DDefaultPolicyParser.java205 File codeFile = new File(codebase.getFile()); in resolveGrant()
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DClassLoaderTest.java875 fis = new FileInputStream(url.getFile()); in test_getResourcesLjava_lang_String()

12