Home
last modified time | relevance | path

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

/system/tpm/tpm_manager/server/
Dlocal_data_store_impl.cc82 std::string dir_name = path.DirName().value(); in Write() local
83 int dir_fd = HANDLE_EINTR(open(dir_name.c_str(), O_RDONLY | O_DIRECTORY)); in Write()
85 PLOG(WARNING) << "Could not open " << dir_name << " for syncing"; in Write()
91 PLOG(WARNING) << "Failed to sync " << dir_name; in Write()
98 PLOG(WARNING) << "Failed to close after sync " << dir_name; in Write()
/system/tpm/attestation/server/
Ddatabase_impl.cc129 std::string dir_name = file_path.DirName().value(); in Write() local
130 int dir_fd = HANDLE_EINTR(open(dir_name.c_str(), O_RDONLY | O_DIRECTORY)); in Write()
132 PLOG(WARNING) << "Could not open " << dir_name << " for syncing"; in Write()
138 PLOG(WARNING) << "Failed to sync " << dir_name; in Write()
145 PLOG(WARNING) << "Failed to close after sync " << dir_name; in Write()
/system/update_engine/payload_generator/
Dext2_filesystem.cc257 char* dir_name = nullptr; in GetFiles() local
258 errcode_t error = ext2fs_get_pathname(filsys_, dir_ino, 0, &dir_name); in GetFiles()
266 inodes[dir_ino].name = dir_name; in GetFiles()
270 ext2fs_free_mem(&dir_name); in GetFiles()
/system/core/base/
Dfile_test.cpp166 std::string dir_name = android::base::Dirname(td.path); in TEST() local
167 std::string base_dir_name = android::base::Basename(dir_name); in TEST()
170 std::string path = dir_name + "/../" + base_dir_name + "/" + basename; in TEST()
180 ASSERT_EQ(dir_name, result); in TEST()