Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 7 of 7) sorted by relevance

/system/media/camera/docs/
Dmetadata_parser_xml.py64 def __init__(self, xml, file_name): argument
79 raise ValueError("%s has an invalid XML file" % (file_name))
86 def create_from_file(file_name): argument
99 return MetadataParserXml(file(file_name).read(), file_name)
330 file_name = sys.argv[1] variable
333 parser = MetadataParserXml.create_from_file(file_name)
Dmetadata_validate.py316 file_name = sys.argv[1] variable
317 succ = validate_xml(file(file_name).read()) is not None
320 print "%s: SUCCESS! Document validated" %(file_name)
323 print >> sys.stderr, "%s: ERRORS: Document failed to validate" %(file_name)
/system/extras/tests/fstest/
Drecovery_test.cpp51 DataFileVerifier(const char* file_name) { in DataFileVerifier() argument
52 strncpy(test_file_, file_name, FILENAME_MAX); in DataFileVerifier()
/system/core/logcat/
Dlogcat.cpp415 std::string file_name = directory; in lastLogTime() local
416 file_name += "/"; in lastLogTime()
417 file_name += dp->d_name; in lastLogTime()
419 if (!android::base::ReadFileToString(file_name, &file)) { in lastLogTime()
/system/core/init/
Dinit.cpp820 std::string file_name = android::base::StringPrintf("%s/compatible", android_dir); in process_kernel_dt() local
823 android::base::ReadFileToString(file_name, &dt_file); in process_kernel_dt()
838 file_name = android::base::StringPrintf("%s/%s", android_dir, dp->d_name); in process_kernel_dt()
840 android::base::ReadFileToString(file_name, &dt_file); in process_kernel_dt()
/system/core/libziparchive/
Dzip_archive.cc600 const uint8_t* file_name = ptr + sizeof(CentralDirectoryRecord); in ParseZipArchive() local
603 if (!IsValidEntryName(file_name, file_name_length)) { in ParseZipArchive()
609 entry_name.name = file_name; in ParseZipArchive()
/system/keymaster/
Dandroid_keymaster_test.cpp1648 static string read_file(const string& file_name) { in read_file() argument
1649 ifstream file_stream(file_name, std::ios::binary); in read_file()