Home
last modified time | relevance | path

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

/bootable/recovery/otautil/
Dparse_install_logs.cpp88 std::map<std::string, int64_t> ParseLastInstall(const std::string& file_name) { in ParseLastInstall() argument
89 if (access(file_name.c_str(), F_OK) != 0) { in ParseLastInstall()
94 if (!android::base::ReadFileToString(file_name, &content)) { in ParseLastInstall()
95 PLOG(ERROR) << "Failed to read " << file_name; in ParseLastInstall()
/bootable/recovery/otautil/include/otautil/
Dparse_install_logs.h33 std::map<std::string, int64_t> ParseLastInstall(const std::string& file_name);
/bootable/recovery/
Drecovery-persist.cpp116 static void report_metrics_from_last_install(const std::string& file_name) { in report_metrics_from_last_install() argument
117 auto metrics = ParseLastInstall(file_name); in report_metrics_from_last_install()
/bootable/recovery/applypatch/
Dfreecache.cpp205 auto log_filter = [](const std::string& file_name) { in RemoveFilesInDirectory() argument
206 return android::base::StartsWith(file_name, "last_log") || in RemoveFilesInDirectory()
207 android::base::StartsWith(file_name, "last_kmsg"); in RemoveFilesInDirectory()
/bootable/recovery/tests/component/
Dverifier_test.cpp44 static void LoadKeyFromFile(const std::string& file_name, Certificate* cert) { in LoadKeyFromFile() argument
46 ASSERT_TRUE(android::base::ReadFileToString(file_name, &testkey_string)); in LoadKeyFromFile()