Searched refs:file_name (Results 1 – 5 of 5) sorted by relevance
88 std::map<std::string, int64_t> ParseLastInstall(const std::string& file_name) { in ParseLastInstall() argument89 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()
33 std::map<std::string, int64_t> ParseLastInstall(const std::string& file_name);
116 static void report_metrics_from_last_install(const std::string& file_name) { in report_metrics_from_last_install() argument117 auto metrics = ParseLastInstall(file_name); in report_metrics_from_last_install()
205 auto log_filter = [](const std::string& file_name) { in RemoveFilesInDirectory() argument206 return android::base::StartsWith(file_name, "last_log") || in RemoveFilesInDirectory()207 android::base::StartsWith(file_name, "last_kmsg"); in RemoveFilesInDirectory()
44 static void LoadKeyFromFile(const std::string& file_name, Certificate* cert) { in LoadKeyFromFile() argument46 ASSERT_TRUE(android::base::ReadFileToString(file_name, &testkey_string)); in LoadKeyFromFile()