Home
last modified time | relevance | path

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

/system/vold/
DExt4Crypt.cpp186 static std::vector<std::string> get_ce_key_paths(const std::string& directory_path) { in get_ce_key_paths() argument
187 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(directory_path.c_str()), closedir); in get_ce_key_paths()
189 PLOG(ERROR) << "Unable to open ce key directory: " + directory_path; in get_ce_key_paths()
198 PLOG(ERROR) << "Unable to read ce key directory: " + directory_path; in get_ce_key_paths()
207 result.emplace_back(directory_path + "/" + entry->d_name); in get_ce_key_paths()
214 static std::string get_ce_key_current_path(const std::string& directory_path) { in get_ce_key_current_path() argument
215 return directory_path + "/current"; in get_ce_key_current_path()
218 static bool get_ce_key_new_path(const std::string& directory_path, in get_ce_key_new_path() argument
222 *ce_key_path = get_ce_key_current_path(directory_path); in get_ce_key_new_path()
226 auto const candidate = StringPrintf("%s/cx%010u", directory_path.c_str(), i); in get_ce_key_new_path()
[all …]