Home
last modified time | relevance | path

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

12

/system/webservd/webservd/
Dlog_manager.cc102 char file_name[32] = {}; in Log() local
106 strftime(file_name, sizeof(file_name), "%Y-%m-%d.log", in Log()
108 base::FilePath file_path = log_directory_.Append(file_name); in Log()
118 exists = !ArchiveLogFile(file_name); in Log()
144 bool ArchiveLogFile(const std::string& file_name) { in ArchiveLogFile() argument
146 auto pair = brillo::string_utils::SplitAtFirst(file_name, "."); in ArchiveLogFile()
154 base::FilePath file_path = log_directory_.Append(file_name); in ArchiveLogFile()
Dtemp_file_manager.cc38 base::FilePath file_name = temp_dir_path_.AppendASCII(name); in CreateTempFileName() local
39 file_list_ref.push_back(file_name); in CreateTempFileName()
40 return file_name; in CreateTempFileName()
Ddbus_request_handler.cc60 files.emplace_back(index++, file->field_name, file->file_name, in HandleRequest()
Drequest.h52 std::string file_name; variable
/system/update_engine/
Dp2p_manager_unittest.cc167 string file_name; in TEST_F() local
171 file_name = base::StringPrintf( in TEST_F()
174 EXPECT_EQ(expect, utils::FileExists(file_name.c_str())); in TEST_F()
176 file_name = base::StringPrintf( in TEST_F()
179 EXPECT_TRUE(utils::FileExists(file_name.c_str())); in TEST_F()
240 string file_name; in TEST_F() local
244 file_name = base::StringPrintf( in TEST_F()
247 EXPECT_EQ(expect, utils::FileExists(file_name.c_str())); in TEST_F()
249 file_name = base::StringPrintf( in TEST_F()
252 EXPECT_TRUE(utils::FileExists(file_name.c_str())); in TEST_F()
[all …]
/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)
335 file_name = sys.argv[1] variable
338 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/connectivity/apmanager/
Derror.cc78 string file_name = base::FilePath(from_here.file_name()).BaseName().value(); in PopulateAndLog() local
79 LOG(ERROR) << "[" << file_name << "(" in PopulateAndLog()
Dfile_writer.cc37 bool FileWriter::Write(const std::string& file_name, in Write() argument
39 if (base::WriteFile(base::FilePath(file_name), in Write()
Ddhcp_server.cc81 string file_name = base::StringPrintf(kDnsmasqConfigFilePathFormat, in Start() local
83 if (!file_writer_->Write(file_name, config_str)) { in Start()
104 file_name.c_str())); in Start()
Dmock_file_writer.h33 MOCK_METHOD2(Write, bool(const std::string& file_name,
Dfile_writer.h34 virtual bool Write(const std::string& file_name,
Ddevice_info_unittest.cc89 const string& file_name, in CreateDeviceInfoFile() argument
92 device_info_root_.Append(interface_name).Append(file_name); in CreateDeviceInfoFile()
/system/weaved/buffet/
Dweave_error_conversion.h36 location.function_name.c_str(), location.file_name.c_str(), in ConvertError()
51 location.function_name.c_str(), location.file_name.c_str(), in ConvertError()
/system/connectivity/shill/
Derror.cc133 string file_name = base::FilePath(from_here.file_name()).BaseName().value(); in PopulateAndLog() local
134 LOG(ERROR) << "[" << file_name << "(" in PopulateAndLog()
/system/core/adb/
Dbugreport.h46 virtual void UpdateProgress(const std::string& file_name, int progress, int total);
/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/webservd/libwebserv/
Drequest.cc28 const std::string& file_name, in FileInfo() argument
34 file_name_(file_name),
Drequest.h57 const std::string& file_name,
/system/core/init/
Dinit.cpp442 std::string file_name = android::base::StringPrintf("%s/compatible", android_dir); in process_kernel_dt() local
445 android::base::ReadFileToString(file_name, &dt_file); in process_kernel_dt()
460 file_name = android::base::StringPrintf("%s/%s", android_dir, dp->d_name); in process_kernel_dt()
462 android::base::ReadFileToString(file_name, &dt_file); in process_kernel_dt()
/system/core/logcat/
Dlogcat.cpp491 std::string file_name = directory; in lastLogTime() local
492 file_name += "/"; in lastLogTime()
493 file_name += dp->d_name; in lastLogTime()
495 if (!android::base::ReadFileToString(file_name, &file)) { in lastLogTime()
/system/tools/aidl/
Dtype_cpp.cpp527 const string& file_name) { in AddBinderType() argument
528 Add(new BinderType(b, file_name)); in AddBinderType()
/system/bt/vendor_libs/test_vendor_lib/include/
Ddual_mode_controller.h51 Properties(const std::string& file_name);
/system/bt/vendor_libs/test_vendor_lib/src/
Ddual_mode_controller.cc469 DualModeController::Properties::Properties(const std::string& file_name) in Properties() argument
472 if (!base::ReadFileToString(base::FilePath(file_name), &properties_raw)) in Properties()
/system/core/libziparchive/
Dzip_archive.cc406 const uint8_t* file_name = ptr + sizeof(CentralDirectoryRecord); in ParseZipArchive() local
409 if (!IsValidEntryName(file_name, file_name_length)) { in ParseZipArchive()
415 entry_name.name = file_name; in ParseZipArchive()

12