Searched refs:filename (Results 51 - 75 of 117) sorted by relevance

12345

/frameworks/base/tools/localize/
H A DPerforce.h19 static int EditFiles(const vector<string>& filename, bool printOnFailure);
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,
H A DXMLHandler.cpp175 string filename; member in struct:xml_handler_data
489 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser));
522 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser));
547 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser));
556 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser));
561 XMLHandler::ParseFile(const string& filename, XMLHandler* handler) argument
564 int fd = open(filename.c_str(), O_RDONLY);
566 SourcePos(filename, -1).Error("Unable to open file for read: %s", strerror(errno));
574 state.filename = filename;
772 ParseFile(const string& filename, int pretty) argument
783 ParseString(const string& filename, const string& text, int pretty) argument
[all...]
H A DXMLHandler.h146 static bool ParseFile(const string& filename, XMLHandler* handler);
147 static bool ParseString(const string& filename, const string& text, XMLHandler* handler);
183 static XMLNode* ParseFile(const string& filename, int pretty);
184 static XMLNode* ParseString(const string& filename, const string& text, int pretty);
H A Dlocalize.h27 int read_settings(const string& filename, map<string,Settings>* result, const string& rootDir);
H A DXLIFFFile.cpp21 if (filename != that.filename) {
22 return filename < that.filename ? -1 : 1;
55 XLIFFFile::Parse(const string& filename) argument
59 XMLNode* root = NodeHandler::ParseFile(filename, XMLNode::PRETTY);
170 result.insert(f->filename);
183 if (m_files[i].filename == str.file) {
190 file.filename = str.file;
234 bool keep = func(file.filename, t
272 EditTransUnit(const string& filename, const string& id) argument
[all...]
H A Dlocalize.cpp27 read_settings(const string& filename, map<string,Settings>* result, const string& rootDir) argument
29 XMLNode* root = NodeHandler::ParseFile(filename, XMLNode::PRETTY);
31 SourcePos(filename, -1).Error("Error reading file.");
382 stringstream filename; local
384 filename << outDir << '/';
386 filename << config << '-' << targetLocale << '-' << setting.currentVersion << ".xliff";
387 xliffs.push_back(pair<string,XLIFFFile*>(filename.str(), xliff));
400 const string& filename = it->first; local
403 write_to_file(filename, text);
H A Dmerge_res_and_xliff.cpp20 find_in_xliff(const set<StringResource>& s, const string& filename, const string& id, int index, argument
24 if (it->file == filename && it->id == id && it->index == index && it->version == version
67 const string& filename, const XLIFFFile* xliffFile)
103 StringResource r(convert_resource(*xx_c, filename, xx_config,
115 StringResource r(convert_resource(*xlf, filename, xx_config,
127 StringResource r(convert_resource(*xx_c, filename, xx_config,
65 merge_res_and_xliff(const ValuesFile* en_currentFile, const ValuesFile* xx_currentFile, const ValuesFile* xx_oldFile, const string& filename, const XLIFFFile* xliffFile) argument
/frameworks/base/services/java/com/android/server/
H A DMountService.java181 public ObbState(String filename, int callerUid, IObbActionListener token, int nonce) argument
183 this.filename = filename;
189 // OBB source filename
190 String filename; field in class:MountService.ObbState
222 sb.append("filename=");
223 sb.append(filename);
1531 public String getMountedObbPath(String filename) { argument
1532 if (filename == null) {
1533 throw new IllegalArgumentException("filename canno
1557 isObbMounted(String filename) argument
1567 mountObb(String filename, String key, IObbActionListener token, int nonce) argument
1586 unmountObb(String filename, boolean force, IObbActionListener token, int nonce) argument
[all...]
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java487 public void mountObb(String filename, String key, IObbActionListener token, int nonce) argument
493 _data.writeString(filename);
512 public void unmountObb(String filename, boolean force, IObbActionListener token, argument
518 _data.writeString(filename);
534 public boolean isObbMounted(String filename) throws RemoteException { argument
540 _data.writeString(filename);
554 public String getMountedObbPath(String filename) throws RemoteException { argument
560 _data.writeString(filename);
854 String filename;
855 filename
939 getMountedObbPath(String filename) argument
965 isObbMounted(String filename) argument
988 mountObb(String filename, String key, IObbActionListener token, int nonce) argument
1032 unmountObb(String filename, boolean force, IObbActionListener token, int nonce) argument
[all...]
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.cpp41 static void getJpegOutput(MediaBuffer* buffer, const char* filename) { argument
44 FILE *pFile = fopen(filename, "w+");
47 printf("Error: cannot open %s.\n", filename);
62 extern int storeBitmapToFile(SkBitmap* bitmap, const char* filename) { argument
66 FILE* fp = fopen(filename, "w+");
H A Domx_jpeg_decoder.h33 extern int storeBitmapToFile(SkBitmap* bitmap, const char* filename);
/frameworks/base/packages/TtsService/src/android/tts/
H A DSynthProxy.java95 public int synthesizeToFile(String text, String filename) { argument
96 return native_synthesizeToFile(mJniData, text, filename);
197 private native final int native_synthesizeToFile(int jniData, String text, String filename); argument
H A DTtsService.java87 int itemType, String filename) {
91 mFilename = filename;
246 // Generate the TTS .so filename from the package
451 * @param filename
452 * The filename of the sound resource. This must be a complete
455 private void addSpeech(String callingApp, String text, String filename) { argument
456 mUtterances.put(text, new SoundResource(filename));
478 * @param filename
479 * The filename of the sound resource. This must be a complete
482 private void addEarcon(String callingApp, String earcon, String filename) { argument
86 SpeechItem(String source, String text, ArrayList<String> params, int itemType, String filename) argument
1172 synthesizeToFile(String callingApp, String text, ArrayList<String> params, String filename) argument
[all...]
/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/libs/storage/
H A DIMountService.cpp432 void mountObb(const String16& filename, const String16& key, argument
437 data.writeString16(filename);
452 void unmountObb(const String16& filename, const bool force, argument
457 data.writeString16(filename);
472 bool isObbMounted(const String16& filename) argument
476 data.writeString16(filename);
489 bool getMountedObbPath(const String16& filename, String16& path) argument
493 data.writeString16(filename);
/frameworks/base/tools/aidl/
H A Daidl_language_l.l183 int parse_aidl(char const *filename)
185 yyin = fopen(filename, "r");
189 g_currentFilename = strdup(filename);
206 fprintf(stderr, "aidl: unable to open file for read: %s\n", filename);
/frameworks/base/core/java/android/speech/tts/
H A DITts.aidl42 void addSpeechFile(in String callingApp, in String text, in String filename);
56 void addEarconFile(in String callingApp, in String earcon, in String filename);
/frameworks/base/include/media/stagefright/
H A DMPEG2TSWriter.h32 MPEG2TSWriter(const char *filename);
/frameworks/base/opengl/tools/glgen/src/
H A DGenerateGL.java26 static void copy(String filename, PrintStream out) throws IOException { argument
27 BufferedReader br = new BufferedReader(new FileReader(filename));
60 String filename = "stubs/jsr239/" + fname + ".nativeReg";
62 new BufferedReader(new FileReader(filename));
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java354 private byte[] getWifiSupplicant(String filename) { argument
356 File file = new File(filename);
379 Log.w(TAG, "Couldn't backup " + filename);
384 private void restoreWifiSupplicant(String filename, BackupDataInput data) { argument
393 FileOutputStream fos = new FileOutputStream(filename, true);
397 Log.w(TAG, "Couldn't restore " + filename);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerStressTest.java81 String filename = cursor.getString(cursor.getColumnIndex(
84 "Status code: %d", filename, status);
/frameworks/base/media/libstagefright/
H A DStagefrightMediaScanner.cpp57 const char *filename, MediaScannerClient *client) {
72 file.path = filename;
56 HandleMIDI( const char *filename, MediaScannerClient *client) argument
/frameworks/base/media/libstagefright/rtsp/
H A DUDPPusher.cpp32 UDPPusher::UDPPusher(const char *filename, unsigned port) argument
33 : mFile(fopen(filename, "rb")),

Completed in 918 milliseconds

12345