/system/webservd/webservd/ |
D | log_manager.cc | 102 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()
|
D | temp_file_manager.cc | 38 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()
|
D | dbus_request_handler.cc | 60 files.emplace_back(index++, file->field_name, file->file_name, in HandleRequest()
|
D | request.h | 52 std::string file_name; variable
|
/system/update_engine/ |
D | p2p_manager_unittest.cc | 167 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/ |
D | metadata_parser_xml.py | 64 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)
|
D | metadata_validate.py | 316 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/ |
D | error.cc | 78 string file_name = base::FilePath(from_here.file_name()).BaseName().value(); in PopulateAndLog() local 79 LOG(ERROR) << "[" << file_name << "(" in PopulateAndLog()
|
D | file_writer.cc | 37 bool FileWriter::Write(const std::string& file_name, in Write() argument 39 if (base::WriteFile(base::FilePath(file_name), in Write()
|
D | dhcp_server.cc | 81 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()
|
D | mock_file_writer.h | 33 MOCK_METHOD2(Write, bool(const std::string& file_name,
|
D | file_writer.h | 34 virtual bool Write(const std::string& file_name,
|
D | device_info_unittest.cc | 89 const string& file_name, in CreateDeviceInfoFile() argument 92 device_info_root_.Append(interface_name).Append(file_name); in CreateDeviceInfoFile()
|
/system/weaved/buffet/ |
D | weave_error_conversion.h | 36 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/ |
D | error.cc | 133 string file_name = base::FilePath(from_here.file_name()).BaseName().value(); in PopulateAndLog() local 134 LOG(ERROR) << "[" << file_name << "(" in PopulateAndLog()
|
/system/core/adb/ |
D | bugreport.h | 46 virtual void UpdateProgress(const std::string& file_name, int progress, int total);
|
/system/extras/tests/fstest/ |
D | recovery_test.cpp | 51 DataFileVerifier(const char* file_name) { in DataFileVerifier() argument 52 strncpy(test_file_, file_name, FILENAME_MAX); in DataFileVerifier()
|
/system/webservd/libwebserv/ |
D | request.cc | 28 const std::string& file_name, in FileInfo() argument 34 file_name_(file_name),
|
D | request.h | 57 const std::string& file_name,
|
/system/core/init/ |
D | init.cpp | 442 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/ |
D | logcat.cpp | 491 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/ |
D | type_cpp.cpp | 527 const string& file_name) { in AddBinderType() argument 528 Add(new BinderType(b, file_name)); in AddBinderType()
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
D | dual_mode_controller.h | 51 Properties(const std::string& file_name);
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | dual_mode_controller.cc | 469 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/ |
D | zip_archive.cc | 406 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()
|