/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
MmsFileProvider.java | 45 final File file = getFile(uri.getPath()); 53 File getFile(final String path, final String extension) { 54 return getFile(path); 57 public static File getFile(final Uri uri) { 58 return getFile(uri.getPath()); 61 private static File getFile(final String path) {
|
/external/libmtp/doc/ |
examples.h | 8 /** \example getfile.c */
|
/cts/tests/tests/security/src/android/security/cts/ |
KernelSettingsTest.java | 42 assertEquals("1", getFile("/sys/fs/selinux/enforce")); 57 assertEquals("32768", getFile("/proc/sys/vm/mmap_min_addr")); 71 assertEquals("2", getFile("/proc/sys/kernel/kptr_restrict")); 82 assertEquals("0", getFile("/proc/sys/fs/suid_dumpable")); 124 "0", getFile("/proc/sys/net/ipv4/conf/all/accept_redirects")); 131 "0", getFile("/proc/sys/net/ipv6/conf/all/accept_redirects")); 137 static String getFile(String filename) throws IOException {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
URLTest.java | 74 "/dir1/dir2/test.cgi?point1.html", u.getFile()); 82 assertTrue("u1 returns a wrong file", u1.getFile().equals("")); 92 "/dir1/dir2/test.cgi?point1.html", u2.getFile()); 102 .getFile()); 110 assertEquals("u3 returns a wrong file", "/", u3.getFile()); 119 assertEquals("u3a returns a wrong file", "/", u3a.getFile()); 128 assertTrue("u3b returns a wrong file", u3b.getFile().equals("")); 138 "/di!@$%^&*()_+r1/di:::r2/test.cgi?point1.html", u4.getFile()); 145 assertEquals("u5 returns a wrong file", "/testing.tst", u5.getFile()); 152 assertEquals("u5a returns a wrong file", "testing.tst", u5a.getFile()); [all...] |
/external/clang/unittests/Basic/ |
FileManagerTest.cpp | 125 // getFile() returns non-NULL if a real file exists at the given path. 141 const FileEntry *file = manager.getFile("/tmp/test"); 150 file = manager.getFile(FileName); 159 // getFile() returns non-NULL if a virtual file exists at the given path. 165 const FileEntry *file = manager.getFile("virtual/dir/bar.h"); 174 // getFile() returns different FileEntries for different paths when 185 const FileEntry *fileFoo = manager.getFile("foo.cpp"); 186 const FileEntry *fileBar = manager.getFile("bar.cpp"); 192 // getFile() returns NULL if neither a real file nor a virtual file 204 const FileEntry *file = manager.getFile("xyz.txt") [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ |
Draw9PatchEditor.java | 75 mProject = mFileEditorInput.getFile().getProject(); 94 .getFile(relativePath)); 118 IFile destFile = mProject.getFile(NinePatchedImage.getNinePatchedFileName( 119 mFileEditorInput.getFile().getProjectRelativePath().toOSString())); 127 .getRoot().getFile(relativePath)); 142 IFile file = mFileEditorInput.getFile(); 213 IFile dest = mProject.getFile(NinePatchedImage.getNinePatchedFileName( 214 mFileEditorInput.getFile().getProjectRelativePath().toOSString()));
|
/external/lldb/source/Symbol/ |
Declaration.cpp | 110 return lhs.GetFile() == rhs.GetFile(); 113 return lhs.GetFile() == rhs.GetFile();
|
/libcore/luni/src/test/java/libcore/java/net/ |
URLTest.java | 38 assertEquals("/directory/file?query", url.getFile()); 142 assertEquals("/path", url.getFile()); 154 assertEquals("/path", url.getFile()); 163 assertEquals("", url.getFile()); 175 assertEquals("", url.getFile()); 189 assertEquals("", url.getFile()); 244 assertEquals("/path", url.getFile()); 250 assertEquals("?query", url.getFile()); 257 assertEquals("", url.getFile()); 264 assertEquals("/file@foo", url.getFile()); [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/component/ |
FileDestroyable.java | 43 _files.add(Resource.newResource(file).getFile()); 53 _files.add(Resource.newResource(file).getFile()); 68 _files.remove(Resource.newResource(file).getFile());
|
/external/proguard/src/proguard/io/ |
DirectoryWriter.java | 67 File directory = getFile(dataEntry); 87 File file = getFile(dataEntry); 134 private File getFile(DataEntry dataEntry)
|
/art/compiler/ |
output_stream_test.cc | 66 FileOutputStream output_stream(tmp.GetFile()); 80 std::unique_ptr<FileOutputStream> file_output_stream(new FileOutputStream(tmp.GetFile()));
|
/external/libmtp/examples/ |
Makefile.am | 6 connect_SOURCES=connect.c delfile.c getfile.c newfolder.c \ 31 ln -f -s $(DESTDIR)$(bindir)/mtp-connect$(EXEEXT) $(DESTDIR)$(bindir)/mtp-getfile$(EXEEXT)
|
getfile.c | 2 * \file getfile.c 38 fprintf(stderr, "getfile <fileid/trackid> <filename>\n");
|
connect.c | 73 printf(" --getfile [source] [destination]\n"); 96 } else if ((strncmp(basename(argv[0]),"mtp-getfile",13) == 0) || (strncmp(basename(argv[0]),"getfile",9) == 0)) { 115 {"getfile", 1, 0, 'g'},
|
/external/llvm/unittests/IR/ |
MetadataTest.cpp | 89 MDFile *getFile() { 966 MDFile *File = getFile(); 975 EXPECT_EQ(File, N->getFile()); [all...] |
/frameworks/base/tools/aapt/ |
OutputSet.h | 33 inline const android::sp<const AaptFile>& getFile() const {
|
/external/clang/lib/ARCMigrate/ |
FileRemapper.cpp | 67 llvm::MemoryBuffer::getFile(infoFile.c_str()); 82 const FileEntry *origFE = FileMgr->getFile(fromFilename); 88 const FileEntry *newFE = FileMgr->getFile(toFilename); 156 const FileEntry *newE = FileMgr->getFile(tempPath); 228 const FileEntry *file = FileMgr->getFile(filePath);
|
/libcore/luni/src/main/java/libcore/net/url/ |
FtpURLConnection.java | 149 int idx = url.getFile().lastIndexOf('/'); 152 String dir = url.getFile().substring(0, idx); 248 getFile(); 270 String result = guessContentTypeFromName(url.getFile()); 277 private void getFile() throws IOException { 279 String file = url.getFile(); 442 + url.getFile().substring(url.getFile().lastIndexOf('/') + 1, 443 url.getFile().length()) + "\r\n");
|
JarHandler.java | 58 String file = url.getFile(); 100 sb.append(url.getFile());
|
/external/mesa3d/src/gallium/drivers/nvc0/codegen/ |
nv50_ir_emit_nvc0.cpp | 343 switch (i->src(0).getFile()) { 394 if (i->src(s).getFile() == FILE_IMMEDIATE) { 398 if (i->src(s).getFile() == FILE_GPR) { 407 if (src.getFile() == FILE_MEMORY_CONST) { 419 assert(src.getFile() == FILE_GPR); 456 emitForm_S(i, (i->src(2).getFile() == FILE_MEMORY_CONST) ? 0x2e : 0x0e, 501 if (i->src(1).getFile() == FILE_IMMEDIATE) { 513 emitForm_S(i, i->src(1).getFile() == FILE_IMMEDIATE ? 0xaa : 0x2a, true); 595 ((i->src(1).getFile() == FILE_IMMEDIATE) ? 0xac : 0x2c), true); 668 ((i->src(1).getFile() == FILE_IMMEDIATE) ? 0x1d : 0x8d), true) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
UniformItemSection.java | 71 DexFile file = getFile(); 83 DexFile file = getFile();
|
/dalvik/dx/src/com/android/dx/dex/file/ |
UniformItemSection.java | 70 DexFile file = getFile(); 82 DexFile file = getFile();
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
UniformItemSection.java | 71 DexFile file = getFile(); 83 DexFile file = getFile();
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
DiskLruCacheWrapper.java | 73 result = value.getFile(0); 91 File file = editor.getFile(0);
|
/external/lldb/include/lldb/Core/ |
StreamFile.h | 46 GetFile () 52 GetFile () const
|