Searched refs:directory_path (Results 1 – 4 of 4) sorted by relevance
/system/bt/gd/os/linux_generic/ |
D | files.cc | 111 std::string directory_path; in WriteToFile() local 116 directory_path.append(dirname(temp_path_for_dir.data())); in WriteToFile() 118 if (directory_path.empty()) { in WriteToFile() 123 int dir_fd = open(directory_path.c_str(), O_RDONLY | O_DIRECTORY); in WriteToFile() 125 LOG_ERROR("unable to open dir '%s', error: %s", directory_path.c_str(), strerror(errno)); in WriteToFile() 179 LOG_WARN("unable to fsync dir '%s', error: %s", directory_path.c_str(), strerror(errno)); in WriteToFile() 183 LOG_ERROR("unable to close dir '%s', error: %s", directory_path.c_str(), strerror(errno)); in WriteToFile()
|
/system/vold/ |
D | FsCrypt.cpp | 128 static std::vector<std::string> get_ce_key_paths(const std::string& directory_path) { in get_ce_key_paths() argument 129 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(directory_path.c_str()), closedir); in get_ce_key_paths() 131 PLOG(ERROR) << "Unable to open ce key directory: " + directory_path; in get_ce_key_paths() 140 PLOG(ERROR) << "Unable to read ce key directory: " + directory_path; in get_ce_key_paths() 150 result.emplace_back(directory_path + "/" + entry->d_name); in get_ce_key_paths() 157 static std::string get_ce_key_current_path(const std::string& directory_path) { in get_ce_key_current_path() argument 158 return directory_path + "/current"; in get_ce_key_current_path() 161 static bool get_ce_key_new_path(const std::string& directory_path, in get_ce_key_new_path() argument 164 *ce_key_path = get_ce_key_current_path(directory_path); in get_ce_key_new_path() 168 auto const candidate = StringPrintf("%s/cx%010u", directory_path.c_str(), i); in get_ce_key_new_path() [all …]
|
/system/incremental_delivery/incfs/kernel-headers/linux/ |
D | incrementalfs.h | 316 __aligned_u64 directory_path; member 459 __aligned_u64 directory_path; member
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 772 .directory_path = (uint64_t)subdir.data(), in IncFs_MakeFile() 819 .directory_path = (uint64_t)subdir.data(), in IncFs_MakeMappedFile()
|