/system/connectivity/shill/ |
H A D | resolver_unittest.cc | 58 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 D | http_url.h | 45 const std::string& path() const { return path_; } 56 std::string path_; member in class:shill::HTTPURL
|
H A D | http_url.cc | 82 path_ = url_string.substr(host_end); 83 if (path_.empty() || path_[0] != '/') { 84 path_ = "/" + path_;
|
H A D | resolver.h | 48 virtual void set_path(const base::FilePath& path) { path_ = path; } 73 base::FilePath path_; member in class:shill::Resolver
|
H A D | resolver.cc | 103 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 D | key_file_store.cc | 63 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 D | json_store.cc | 333 : 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 D | property_store_unittest.h | 197 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 D | json_store.h | 103 // Tests which modify |path_|. 111 const base::FilePath path_; member in class:shill::JsonStore
|
H A D | key_file_store.h | 104 const base::FilePath path_; member in class:shill::KeyFileStore
|
H A D | property_store_unittest.cc | 86 path_(dir_.CreateUniqueTempDir() ? dir_.path().value() : ""),
|
/system/extras/simpleperf/ |
H A D | dso.h | 66 return path_; 101 const std::string path_; member in struct:Dso
|
H A D | dso.cpp | 139 : 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 D | utils.h | 396 : 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 D | test_utils.h | 173 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 D | modem.cc | 56 path_(path), 66 LOG(INFO) << "Modem destructed: " << path_; 104 path_);
|
H A D | modem.h | 60 const std::string& path() const { return path_; } 125 const std::string path_; member in class:shill::Modem
|
H A D | modem_manager.h | 65 const std::string& path() const { return path_; } 102 const std::string path_; member in class:shill::ModemManager
|
H A D | modem_1_unittest.cc | 88 EXPECT_EQ(kPath, modem_->path_);
|
H A D | modem_manager.cc | 41 path_(path),
|
H A D | modem_manager_unittest.cc | 174 Pointee(Field(&Modem::path_, StrEq(kModemPath)))));
|
H A D | modem_unittest.cc | 93 EXPECT_EQ(kPath, modem_->path_);
|
/system/connectivity/shill/wimax/ |
H A D | wimax.h | 72 const RpcIdentifier& path() const { return path_; } 119 const RpcIdentifier path_; member in class:shill::WiMax
|
H A D | wimax.cc | 79 path_(path), 96 proxy_.reset(control_interface()->CreateWiMaxDeviceProxy(path_));
|
/system/update_engine/payload_consumer/ |
H A D | download_action_unittest.cc | 77 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();
|