/system/core/libprocessgroup/cgrouprc_format/ |
D | cgroup_controller.cpp | 25 memset(path_, 0, sizeof(path_)); in CgroupController() 38 strncpy(path_, path.c_str(), sizeof(path_) - 1); in CgroupController() 39 path_[sizeof(path_) - 1] = '\0'; in CgroupController() 55 return path_; in path()
|
/system/apex/apexd/ |
D | apexd_session_test.cpp | 81 path_ = "/data/apex/sessions/" + std::to_string(id); in TEST() 82 if (auto status = createDirIfNeeded(path_, 0700); !status.ok()) { in TEST() 83 ADD_FAILURE() << "Failed to create " << path_ << " : " in TEST() 90 path_ + "/state", std::ios::out | std::ios::trunc | std::ios::binary); in TEST() 92 ADD_FAILURE() << "Failed to write to " << path_; in TEST() 96 ~TestApexSession() { fs::remove_all(path_); } in TEST() 99 std::string path_; in TEST() member in android::apex::__anon8b02d8c10111::TEST::TestApexSession
|
/system/core/fs_mgr/libdm/ |
D | test_util.h | 41 valid_ = dm_.CreateDevice(name, table, &path_, std::chrono::seconds(5)); in TempDevice() 44 : dm_(other.dm_), name_(other.name_), path_(other.path_), valid_(other.valid_) { in TempDevice() 59 std::string path() const { return path_; } in path() 76 std::string path_; variable
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_stats.cpp | 28 CHECK(g_instance.path_ == parent.GetMergeStateFilePath()); in GetInstance() 32 SnapshotMergeStats::SnapshotMergeStats(const std::string& path) : path_(path), running_(false) {} in SnapshotMergeStats() 36 if (!android::base::ReadFileToString(path_, &contents)) { in ReadState() 53 if (!WriteStringToFileAtomic(contents, path_)) { in WriteState() 62 if (!android::base::RemoveFileIfExists(path_, &error)) { in DeleteState() 63 LOG(ERROR) << "Failed to remove merge statistics file " << path_ << ": " << error; in DeleteState()
|
/system/core/adb/fastdeploy/deploypatchgenerator/ |
D | apk_archive.cpp | 69 ApkArchive::ApkArchive(const std::string& path) : path_(path), size_(0) { in ApkArchive() 70 fd_.reset(adb_open(path_.c_str(), O_RDONLY)); in ApkArchive() 72 fprintf(stderr, "Unable to open file '%s'\n", path_.c_str()); in ApkArchive() 77 if (stat(path_.c_str(), &st) == -1) { in ApkArchive() 78 fprintf(stderr, "Unable to stat file '%s'\n", path_.c_str()); in ApkArchive() 98 dump.set_absolute_path(path_); in ExtractMetadata() 160 path_.c_str()); in GetCDLocation() 169 path_.c_str()); in GetCDLocation() 183 fprintf(stderr, "Unable to find signature in file '%s'\n", path_.c_str()); in GetSignatureLocation() 331 CHECK(ready()) << path_; in CalculateLocalFileEntrySize() [all …]
|
D | apk_archive.h | 77 std::string path_; variable
|
/system/teeui/libteeui/src/ |
D | evdev.cpp | 177 EventDev::EventDev() : fd_(-1), path_("") {} in EventDev() 178 EventDev::EventDev(const std::string& path) : fd_(-1), path_(path) {} in EventDev() 179 EventDev::EventDev(EventDev&& other) : fd_(other.fd_), path_(std::move(other.path_)) { in EventDev() 185 path_ = std::move(other.path_); in operator =() 193 fd_ = TEMP_FAILURE_RETRY(open(path_.c_str(), O_RDWR | O_NONBLOCK)); in grab() 195 LOG(ERROR) << "failed to open event device \"" << path_ << "\""; in grab() 200 LOG(ERROR) << "failed to grab event device " << path_ << " exclusively EVIOCGRAB returned " in grab() 215 LOG(ERROR) << "failed to ungrab \"" << path_ << "\" EVIOCGRAB returned " << error; in ungrab()
|
/system/core/fastboot/device/ |
D | utility.h | 33 explicit PartitionHandle(const std::string& path) : path_(path) {} in PartitionHandle() 35 : path_(path), closer_(std::move(closer)) {} in PartitionHandle() 45 const std::string& path() const { return path_; } in path() 50 std::string path_;
|
/system/core/fs_mgr/ |
D | file_wait.cpp | 86 std::string path_; member in android::fs_mgr::OneShotInotify 95 : path_(path), in OneShotInotify() 135 return PollForFile(path_, timeout); in Wait() 137 return PollForFileDeleted(path_, timeout); in Wait() 168 LOG(ERROR) << "error reading inotify for " << path_; in WaitImpl() 182 finished_ = !access(path_.c_str(), F_OK) || errno != ENOENT; in CheckCompleted() 184 finished_ = access(path_.c_str(), F_OK) && errno == ENOENT; in CheckCompleted()
|
/system/iorap/tests/src/inode2filename/ |
D | search_directories_test.cc | 418 constexpr PurePath() : path_(".") { in PurePath() 428 constexpr PurePath(std::string_view path) : path_(path) { in PurePath() 441 PurePath(std::string&& path) : owner_(std::move(path)), path_(owner_.value()) { in PurePath() 475 VisitSplitStringView(path_, in VisitParts() 520 std::string_view component = StringSplit::EmptySubstringAtEnd(path_); in Name() 609 DCHECK_GE(prev_last_view.data(), path_.data()); in Parent() 610 DCHECK_LE(prev_last_view.data() + prev_last_view.size(), path_.data() + path_.size()); in Parent() 614 size_t length = prev_last_view.data() + prev_last_view.size() - path_.data(); in Parent() 615 std::string_view parent = std::string_view{path_.data(), length} ; in Parent() 618 LOG(DEBUG) << "PurePath::Parent of \"" << path_ << "\" returns \"" << parent << "\""; in Parent() [all …]
|
/system/update_engine/common/ |
D | test_utils.h | 146 EXPECT_TRUE(utils::MakeTempFile(pattern, &path_, nullptr)); in ScopedTempFile() 147 unlinker_.reset(new ScopedPathUnlinker(path_)); in ScopedTempFile() 150 const std::string& path() const { return path_; } in path() 153 std::string path_;
|
D | utils.h | 358 : path_(path), should_remove_(true) {} in ScopedPathUnlinker() 360 if (should_remove_ && unlink(path_.c_str()) < 0) { in ~ScopedPathUnlinker() 361 PLOG(ERROR) << "Unable to unlink path " << path_; in ~ScopedPathUnlinker() 367 const std::string path_;
|
/system/extras/boottime_tools/bootio/ |
D | bootio_collector.h | 34 std::string path_; variable
|
D | bootio_collector.cpp | 323 path_ = path; in BootioCollector() 378 return path_ + SAMPLES_FILE; in getStoragePath()
|
/system/core/libprocessgroup/cgrouprc_format/include/processgroup/format/ |
D | cgroup_controller.h | 47 char path_[CGROUP_PATH_BUF_SZ]; member
|
/system/extras/simpleperf/ |
D | dso.cpp | 278 return FindExpectedBuildIdForPath(path_); in GetExpectedBuildId() 283 path_(path), in Dso() 361 size_t pos = path_.rfind('/'); in IsForJavaMethod() 363 return strncmp(&path_[pos], "TemporaryFile", strlen("TemporaryFile")) == 0; in IsForJavaMethod() 536 dex_file_dso_.reset(new DexFileDso(path_, path_)); in AddDexFileOffset() 570 ReportReadElfSymbolResult(status, path_, debug_file_path_, in LoadSymbols() 604 ReportReadElfSymbolResult(status, path_, vmlinux_); in LoadSymbols() 671 ReportReadElfSymbolResult(status, path_, debug_file_path_, in LoadSymbols()
|
D | dso.h | 147 const std::string& Path() const { return path_; } in Path() 206 const std::string path_; variable
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot_stats.h | 55 std::string path_; variable
|
/system/core/libprocessgroup/ |
D | task_profiles.cpp | 145 : controller_(c), path_(p) { in SetCgroupAction() 147 if (IsAppDependentPath(path_)) { in SetCgroupAction() 163 std::string tasks_path = controller_.GetTasksFilePath(path_); in EnableResourceCaching() 209 std::string procs_path = controller()->GetProcsFilePath(path_, uid, pid); in ExecuteForProcess() 246 std::string tasks_path = controller()->GetTasksFilePath(path_); in ExecuteForTask()
|
D | task_profiles.h | 122 std::string path() const { return path_; } in path() 132 std::string path_; variable
|
/system/core/adb/client/ |
D | fastdeploy.cpp | 74 FileDeleter(const char* path) : path_(path) {} in FileDeleter() 75 ~FileDeleter() { adb_unlink(path_); } in ~FileDeleter() 78 const char* const path_; member
|
/system/update_engine/ |
D | dynamic_partition_control_android.cc | 500 explicit AvbFooterEraser(const std::string& path) : path_(path) {} in AvbFooterEraser() 504 ignore_result(utils::SetBlockDeviceReadOnly(path_, false /* readonly */)); in Erase() 508 TEST_AND_RETURN_FALSE(fd_->Open(path_.c_str(), flags)); in Erase() 515 LOG(INFO) << "Zeroing " << path_ << " @ [" << offset << ", " in Erase() 524 LOG(WARNING) << "Failed to close fd for " << path_; in ~AvbFooterEraser() 529 std::string path_; member in chromeos_update_engine::__anon4b8959d70111::AvbFooterEraser
|
/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | image_manager.h | 200 const std::string& path() const { return path_; } in path() 207 std::string path_; variable
|
/system/update_engine/payload_consumer/ |
D | download_action_unittest.cc | 76 ASSERT_TRUE(utils::ReadFile(path_, &found_data)); in ProcessingDone() 98 string path_; member in chromeos_update_engine::__anon82896a710111::DownloadActionTestProcessorDelegate 188 delegate.path_ = output_temp_file.path(); in TestWithData() 579 delegate_.path_ = output_temp_file.path(); in StartDownload()
|
/system/teeui/libteeui/include/secure_input/ |
D | evdev.h | 138 std::string path_; variable
|