Searched refs:path_ (Results 1 - 25 of 25) sorted by relevance

/system/connectivity/shill/
H A Dresolver_unittest.cc58 path_ = temp_dir_.path().Append("resolver");
59 resolver_->set_path(path_);
72 FilePath path_; member in class:shill::ResolverTest
77 EXPECT_TRUE(base::ReadFileToString(resolver_->path_, &data));
82 EXPECT_FALSE(base::PathExists(path_));
94 EXPECT_TRUE(base::PathExists(path_));
101 EXPECT_FALSE(base::PathExists(path_));
108 EXPECT_FALSE(base::PathExists(path_));
112 EXPECT_FALSE(base::PathExists(path_));
127 EXPECT_TRUE(base::PathExists(path_));
[all...]
H A Dhttp_url.h45 const std::string& path() const { return path_; }
56 std::string path_; member in class:shill::HTTPURL
H A Dhttp_url.cc82 path_ = url_string.substr(host_end);
83 if (path_.empty() || path_[0] != '/') {
84 path_ = "/" + path_;
H A Dresolver.h48 virtual void set_path(const base::FilePath& path) { path_ = path; }
73 base::FilePath path_; member in class:shill::Resolver
H A Dresolver.cc103 SLOG(this, 2) << "Writing DNS out to " << path_.value();
104 int count = base::WriteFile(path_, contents.c_str(), contents.size());
112 CHECK(!path_.empty());
114 return base::DeleteFile(path_, false);
H A Dkey_file_store.cc63 path_(path) {
64 CHECK(!path_.empty());
80 return base::GetFileSize(path_, &file_size) && file_size != 0;
88 LOG(INFO) << "Creating a new key file at " << path_.value();
94 path_.value().c_str(),
100 LOG(ERROR) << "Failed to load key file from " << path_.value() << ": "
126 success = base::ImportantFileWriter::WriteFileAtomically(path_, data);
128 LOG(ERROR) << "Failed to store key file: " << path_.value();
136 LOG(INFO) << "In " << __func__ << " for " << path_.value();
137 string corrupted_path = path_
[all...]
H A Djson_store.cc333 : path_(path) {
334 CHECK(!path_.empty());
339 return base::GetFileSize(path_, &file_size) && file_size != 0;
344 LOG(INFO) << "Creating a new key file at |" << path_.value() << "|.";
349 if (!base::ReadFileToString(path_, &json_string)) {
350 LOG(ERROR) << "Failed to read data from |" << path_.value() << "|.";
361 LOG(ERROR) << "Failed to parse JSON data from |" << path_.value() <<"|.";
457 if (!base::ImportantFileWriter::WriteFileAtomically(path_, json_string)) {
458 LOG(ERROR) << "Failed to write JSON file: |" << path_.value() << "|.";
466 LOG(INFO) << "In " << __func__ << " for " << path_
[all...]
H A Dproperty_store_unittest.h197 const std::string& run_path() const { return path_; }
198 const std::string& storage_path() const { return path_; }
209 const std::string path_; member in class:shill::PropertyStoreTest
H A Djson_store.h103 // Tests which modify |path_|.
111 const base::FilePath path_; member in class:shill::JsonStore
H A Dkey_file_store.h104 const base::FilePath path_; member in class:shill::KeyFileStore
H A Dproperty_store_unittest.cc86 path_(dir_.CreateUniqueTempDir() ? dir_.path().value() : ""),
/system/extras/simpleperf/
H A Ddso.h66 return path_;
101 const std::string path_; member in struct:Dso
H A Ddso.cpp139 : type_(type), path_(path), min_vaddr_(std::numeric_limits<uint64_t>::max()), is_loaded_(false) {
156 return symfs_dir_ + path_;
163 LOG(DEBUG) << "failed to load dso: " << path_;
204 if (std::get<0>(SplitUrlInApk(path_))) {
285 BuildId build_id = GetExpectedBuildId(path_);
287 symfs_dir_ + path_, build_id,
303 "/usr/lib/debug" + path_, build_id,
/system/update_engine/common/
H A Dutils.h396 : path_(path),
399 if (should_remove_ && unlink(path_.c_str()) < 0) {
400 PLOG(ERROR) << "Unable to unlink path " << path_;
406 const std::string path_; member in class:chromeos_update_engine::ScopedPathUnlinker
415 : path_(path),
418 if (should_remove_ && (rmdir(path_.c_str()) < 0)) {
419 PLOG(ERROR) << "Unable to remove dir " << path_;
425 const std::string path_; member in class:chromeos_update_engine::ScopedDirRemover
H A Dtest_utils.h173 EXPECT_TRUE(utils::MakeTempFile(pattern, &path_, nullptr));
174 unlinker_.reset(new ScopedPathUnlinker(path_));
177 const std::string& path() { return path_; }
180 std::string path_; member in class:chromeos_update_engine::test_utils::ScopedTempFile
/system/connectivity/shill/cellular/
H A Dmodem.cc56 path_(path),
66 LOG(INFO) << "Modem destructed: " << path_;
104 path_);
H A Dmodem.h60 const std::string& path() const { return path_; }
125 const std::string path_; member in class:shill::Modem
H A Dmodem_manager.h65 const std::string& path() const { return path_; }
102 const std::string path_; member in class:shill::ModemManager
H A Dmodem_1_unittest.cc88 EXPECT_EQ(kPath, modem_->path_);
H A Dmodem_manager.cc41 path_(path),
H A Dmodem_manager_unittest.cc174 Pointee(Field(&Modem::path_, StrEq(kModemPath)))));
H A Dmodem_unittest.cc93 EXPECT_EQ(kPath, modem_->path_);
/system/connectivity/shill/wimax/
H A Dwimax.h72 const RpcIdentifier& path() const { return path_; }
119 const RpcIdentifier path_; member in class:shill::WiMax
H A Dwimax.cc79 path_(path),
96 proxy_.reset(control_interface()->CreateWiMaxDeviceProxy(path_));
/system/update_engine/payload_consumer/
H A Ddownload_action_unittest.cc77 ASSERT_TRUE(utils::ReadFile(path_, &found_data));
98 string path_; member in class:chromeos_update_engine::__anon2023::DownloadActionTestProcessorDelegate
185 delegate.path_ = output_temp_file.path();
474 delegate.path_ = output_temp_file.path();

Completed in 560 milliseconds