Searched defs:filename (Results 1 - 25 of 55) sorted by relevance

123

/frameworks/base/awt/org/apache/harmony/awt/gl/image/
H A DFileDecodingImageSource.java32 String filename; field in class:FileDecodingImageSource
40 filename = file;
48 security.checkRead(filename);
61 return new BufferedInputStream(new FileInputStream(filename), 8192);
/frameworks/base/cmds/backup/
H A Dbackup.cpp55 perform_list(const char* filename) argument
60 fd = open(filename, O_RDONLY);
62 fprintf(stderr, "Error opening: %s\n", filename);
98 int perform_print(const char* entityname, const char* filename) argument
100 printf("perform_print(%s, %s);", entityname, filename);
/frameworks/base/core/java/android/webkit/gears/
H A DZipInflater.java77 * @param filename is the name of the zip to inflate.
82 public static boolean inflate(String filename, String path) { argument
83 Log.i(TAG, "Extracting " + filename + " to " + path);
102 ZipFile zipFile = new ZipFile(filename);
135 new BufferedInputStream(new FileInputStream(filename)));
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dcmemlink.cpp64 /// Writes the data to file \p "filename".
65 void cmemlink::write_file (const char* filename, int mode) const argument
69 f.open (filename, fstream::out | fstream::trunc, mode);
H A Dofstream.cpp44 /// Constructs a stream for writing to \p filename.
45 ofstream::ofstream (const char* filename, openmode mode) argument
47 m_File (filename, mode)
102 /// Constructs a stream to read from \p filename.
103 ifstream::ifstream (const char* filename, openmode mode) argument
106 m_File (filename, mode)
H A Dmemblock.cpp202 /// Reads the entire file \p "filename".
203 void memblock::read_file (const char* filename) argument
207 f.open (filename, fstream::in);
H A Dofstream.h25 explicit ofstream (const char* filename, openmode mode = out);
27 inline void open (const char* filename, openmode mode = out) { m_File.open (filename, mode); clear (m_File.rdstate()); } argument
54 explicit ifstream (const char* filename, openmode mode = in);
55 inline void open (const char* filename, openmode mode = in) { m_File.open (filename, mode); clear (m_File.rdstate()); } argument
H A Duexception.cpp178 file_exception::file_exception (const char* operation, const char* filename) throw() argument
183 if (filename) {
184 strncpy (m_Filename, filename, VectorSize(m_Filename));
204 string filename; local
205 is >> filename; local
207 filename.copyto (filename, VectorSize(m_Filename));
/frameworks/base/opengl/tools/glgen/src/
H A DGenerateGL.java11 static void copy(String filename, PrintStream out) throws IOException { argument
12 BufferedReader br = new BufferedReader(new FileReader(filename));
45 String filename = "stubs/jsr239/" + fname + ".nativeReg";
47 new BufferedReader(new FileReader(filename));
H A DGenerateGLES.java11 static void copy(String filename, PrintStream out) throws IOException { argument
12 BufferedReader br = new BufferedReader(new FileReader(filename));
42 String filename = stubRoot + ".nativeReg";
44 new BufferedReader(new FileReader(filename));
/frameworks/base/tools/aapt/
H A Dprintapk.cpp27 const char* filename; local
43 filename = argv[1];
44 fd = open(filename, O_RDONLY);
46 fprintf(stderr, "apk: couldn't open file for read: %s\n", filename);
54 fprintf(stderr, "apk: error determining file size: %s\n", filename);
60 fprintf(stderr, "apk: file too big: %s\n", filename);
66 fprintf(stderr, "apk: error reading file: %s\n", filename);
75 filename);
H A DXMLNode.h42 sp<XMLNode> newNamespace(const String8& filename, const String16& prefix, const String16& uri) { argument
43 return new XMLNode(filename, prefix, uri, true);
47 sp<XMLNode> newElement(const String8& filename, const String16& ns, const String16& name) { argument
48 return new XMLNode(filename, ns, name, false);
52 sp<XMLNode> newCData(const String8& filename) { argument
53 return new XMLNode(filename);
140 String8 filename; member in struct:XMLNode::ParseState
162 XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace);
165 XMLNode(const String8& filename);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaFrameworkTest.java85 public void startPlayback(String filename){ argument
87 Uri path = Uri.parse(filename);
/frameworks/base/services/java/com/android/server/
H A DRandomBlock.java40 static RandomBlock fromFile(String filename) throws IOException { argument
41 Log.v(TAG, "reading from file " + filename);
44 stream = new FileInputStream(filename);
64 void toFile(String filename) throws IOException { argument
65 Log.v(TAG, "writing to file " + filename);
68 out = new RandomAccessFile(filename, "rws");
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DMenu.java49 void processFile(String filename, boolean selection) { argument
53 intent.putExtra(TestShellActivity.TEST_URL, "file://" + filename);
H A DFileList.java163 abstract void processFile(String filename, boolean selection); argument
/frameworks/base/tools/localize/
H A DXMLHandler_test.cpp47 read_file(const string& filename) argument
50 int fd = open(filename.c_str(), O_RDONLY);
H A Dres_check.cpp21 const string filename = files[i]; local
22 ValuesFile* valuesFile = get_local_values_file(filename, english, CURRENT_VERSION,
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DPduBody.java163 * the same as filename and name(param of content-type).
165 * @param fileName the value of filename.
175 * @param fileName the value of filename.
183 * Get pdu part by filename.
185 * @param fileName the value of filename.
188 public PduPart getPartByFileName(String filename) { argument
189 return mPartMapByFileName.get(filename);
/frameworks/base/awt/java/awt/
H A DToolkitImpl.java94 public Image createImage(String filename) { argument
97 return new OffscreenImage(new FileDecodingImageSource(filename));
179 public Image getImage(String filename) { argument
180 return getImage(filename, this);
183 static Image getImage(String filename, Toolkit toolkit) { argument
185 Image im = (filename == null ? null : imageCache.get(filename));
189 im = toolkit.createImage(filename);
190 imageCache.put(filename, im);
/frameworks/base/core/java/android/backup/
H A DFileBackupHelperBase.java126 private static native int writeFile_native(int ptr, String filename, int backupReader); argument
/frameworks/base/core/java/android/os/
H A DNetStat.java194 private static long getNumberFromFilePath(String filename) { argument
195 RandomAccessFile raf = getFile(filename);
199 return getNumberFromFile(raf, filename);
206 private static synchronized long getNumberFromFile(RandomAccessFile raf, String filename) { argument
211 Log.w(TAG, "Exception getting TCP bytes from " + filename, e);
218 Log.w(TAG, "Exception closing " + filename, e);
234 private static RandomAccessFile getFile(String filename) { argument
235 File f = new File(filename);
243 Log.w(TAG, "Exception opening TCP statistics file " + filename, e);
/frameworks/base/core/jni/
H A Dandroid_backup_FileBackupHelperBase.cpp88 char const* filename; local
90 filename = env->GetStringUTFChars(filenameObj, NULL);
92 err = restore->WriteFile(String8(filename), reader);
94 env->ReleaseStringUTFChars(filenameObj, filename);
/frameworks/base/libs/ui/
H A DKeyLayoutMap.cpp81 KeyLayoutMap::load(const char* filename) argument
83 int fd = open(filename, O_RDONLY);
85 LOGE("error opening file=%s err=%s\n", filename, strerror(errno));
94 LOGE("error seeking file=%s err=%s\n", filename, strerror(errno));
101 LOGE("error reading file=%s err=%s\n", filename, strerror(errno));
128 LOGE("%s:%d: expected key, got '%s'\n", filename, line,
138 filename, line, token.string());
141 //LOGI("%s:%d: got scancode %d\n", filename, line, scancode );
146 //LOGI("%s:%d: got keycode %d for %s\n", filename, line, keycode, token.string() );
149 filename, lin
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DObject3D.java67 * and InputStream from the given filename. For example, if the
72 public abstract InputStream readFile(String filename) throws IOException; argument
156 public void load(String filename) throws IOException { argument
159 DataInputStream dis = new DataInputStream(readFile(filename));

Completed in 535 milliseconds

123