/system/update_engine/ |
D | image_properties_chromeos_unittest.cc | 39 EXPECT_TRUE(base::CreateDirectory(tempdir_.GetPath().Append("etc"))); in SetUp() 41 tempdir_.GetPath().value() + kStatefulPartition + "/etc"))); in SetUp() 42 test::SetImagePropertiesRootPrefix(tempdir_.GetPath().value().c_str()); in SetUp() 58 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 74 tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 82 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 96 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 102 tempdir_.GetPath().value() + kStatefulPartition + "/etc/lsb-release", in TEST_F() 117 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 123 tempdir_.GetPath().value() + kStatefulPartition + "/etc/lsb-release", in TEST_F() [all …]
|
D | omaha_request_params_unittest.cc | 47 params_.set_root(tempdir_.GetPath().value()); in SetUp() 106 WriteFileString(tempdir_.GetPath().Append(".nodelta").value(), "")); in TEST_F() 114 params.set_root(tempdir_.GetPath().value()); in TEST_F() 119 params_.set_root(tempdir_.GetPath().value()); in TEST_F() 128 params.set_root(tempdir_.GetPath().value()); in TEST_F() 133 params_.set_root(tempdir_.GetPath().value()); in TEST_F() 142 params.set_root(tempdir_.GetPath().value()); in TEST_F() 153 params_.set_root(tempdir_.GetPath().value()); in TEST_F()
|
D | hardware_chromeos_unittest.cc | 40 base::FilePath kFile(root_dir_.GetPath().value() + kStatefulPartition + in WriteStatefulConfig() 47 base::FilePath kFile(root_dir_.GetPath().value() + in WriteRootfsConfig() 55 hardware_.LoadConfig(root_dir_.GetPath().value(), normal_mode); in CallLoadConfig()
|
D | excluder_chromeos_unittest.cc | 39 ASSERT_TRUE(base::PathExists(tempdir_.GetPath())); in SetUp() 40 ASSERT_TRUE(prefs_.Init(tempdir_.GetPath())); in SetUp()
|
D | image_properties_android_unittest.cc | 40 osrelease_dir_ = tempdir_.GetPath().Append("etc/os-release.d"); in SetUp() 42 test::SetImagePropertiesRootPrefix(tempdir_.GetPath().value().c_str()); in SetUp() 54 WriteFileString(tempdir_.GetPath().Append("misc").value(), misc)); in WriteChannel()
|
D | fake_p2p_manager_configuration.h | 38 base::FilePath GetP2PDir() override { return p2p_dir_.GetPath(); } in GetP2PDir()
|
D | p2p_manager.cc | 152 FilePath GetPath(const string& file_id, Visibility visibility); 309 FilePath P2PManagerImpl::GetPath(const string& file_id, Visibility visibility) { in GetPath() function in chromeos_update_engine::P2PManagerImpl 534 path = GetPath(file_id, kNonVisible); in FileShare() 584 path = GetPath(file_id, kVisible); in FileGetPath() 589 path = GetPath(file_id, kNonVisible); in FileGetPath()
|
D | omaha_response_handler_action_unittest.cc | 449 params.set_root(tempdir.GetPath().value()); in TEST_F() 482 params.set_root(tempdir.GetPath().value()); in TEST_F() 516 params.set_root(tempdir.GetPath().value()); in TEST_F() 550 params.set_root(tempdir.GetPath().value()); in TEST_F()
|
/system/update_engine/common/ |
D | hwid_override_unittest.cc | 35 ASSERT_TRUE(base::CreateDirectory(tempdir_.GetPath().Append("etc"))); in SetUp() 49 ASSERT_EQ(base::WriteFile(tempdir_.GetPath().Append("etc/lsb-release"), in TEST_F() 53 EXPECT_EQ(expected_hwid, HwidOverride::Read(tempdir_.GetPath())); in TEST_F() 58 ASSERT_EQ(base::WriteFile(tempdir_.GetPath().Append("etc/lsb-release"), in TEST_F() 62 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.GetPath())); in TEST_F() 66 EXPECT_EQ(std::string(), HwidOverride::Read(tempdir_.GetPath())); in TEST_F()
|
D | utils_unittest.cc | 100 string temp_file = temp_dir.GetPath().Append("temp-file").value(); in TEST() 102 string temp_symlink = temp_dir.GetPath().Append("temp-symlink").value(); in TEST() 104 EXPECT_FALSE(utils::IsSymlink(temp_dir.GetPath().value().c_str())); in TEST() 407 EXPECT_FALSE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST() 411 loop_dev, mnt_dir.GetPath().value(), MS_RDONLY, "ext4", "")); in TEST() 413 EXPECT_TRUE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST() 415 string target_file = mnt_dir.GetPath().Append("empty-file").value(); in TEST() 418 EXPECT_TRUE(utils::UnmountFilesystem(mnt_dir.GetPath().value())); in TEST() 420 EXPECT_FALSE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST() 423 EXPECT_FALSE(utils::UnmountFilesystem(mnt_dir.GetPath().value())); in TEST() [all …]
|
D | prefs_unittest.cc | 130 prefs_dir_ = temp_dir_.GetPath(); in SetUp() 155 auto ns1_path = temp_dir.GetPath().Append(ns1); in TEST() 167 ASSERT_TRUE(prefs.Init(temp_dir.GetPath())); in TEST()
|
D | test_utils.cc | 244 *mnt_path = temp_dir_.GetPath().value(); in ScopedLoopMounter()
|
D | subprocess_unittest.cc | 231 string fifo_path = tempdir.GetPath().Append("fifo").value(); in TEST_F()
|
/system/apex/apexd/ |
D | apex_file.cpp | 191 << apex.GetPath(); in getPublicKeyName() 215 return Error() << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature() 218 return Error() << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature() 221 return Error() << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature() 238 return Error() << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature() 244 LOG(VERBOSE) << apex.GetPath() << ": public key matches."; in verifyVbMetaSignature() 317 unique_fd fd(open(GetPath().c_str(), O_RDONLY | O_CLOEXEC)); in VerifyApexVerity() 319 return ErrnoError() << "Failed to open " << GetPath(); in VerifyApexVerity()
|
D | apexd_verity.cpp | 63 TEMP_FAILURE_RETRY(open(apex.GetPath().c_str(), O_RDONLY | O_CLOEXEC))); in GenerateHashTree() 65 return ErrnoError() << "Failed to open " << apex.GetPath(); in GenerateHashTree() 169 << " does not match digest of " << apex.GetPath() << " : " in PrepareHashTree()
|
D | apexd.cpp | 309 if (files_to_keep.find(apex_file->GetPath()) != files_to_keep.end()) { in RemovePreviouslyActiveApexFiles() 314 LOG(DEBUG) << "Deleting previously active apex " << apex_file->GetPath(); in RemovePreviouslyActiveApexFiles() 315 if (unlink(apex_file->GetPath().c_str()) != 0) { in RemovePreviouslyActiveApexFiles() 316 return ErrnoError() << "Failed to unlink " << apex_file->GetPath(); in RemovePreviouslyActiveApexFiles() 391 const std::string& full_path = apex.GetPath(); in MountPackageImpl() 414 MountedApexData apex_data(loopbackDevice.name, apex.GetPath(), mountPoint, in MountPackageImpl() 654 return shim::ValidateUpdate(system_apex_path, to.GetPath()); in ValidateStagingShimApex() 802 if (link(apex_file->GetPath().c_str(), dest_path.c_str()) != 0) { in BackupActivePackages() 803 return ErrnoError() << "Failed to backup " << apex_file->GetPath(); in BackupActivePackages() 860 if (d.full_path == apex.GetPath()) { in UnmountPackage() [all …]
|
D | apex_file.h | 50 const std::string& GetPath() const { return apex_path_; } in GetPath() function
|
D | apex_preinstalled_data.cpp | 73 apexPreInstalledData.path = apex_file->GetPath(); in collectPreinstalleDataFromDir()
|
D | apexd_prepostinstall.cpp | 80 LOG(VERBOSE) << name << " for " << apexes[hook_idx].GetPath(); in StageFnInstall()
|
D | apexservice.cpp | 180 out.modulePath = package.GetPath(); in submitStagedSession() 272 out.modulePath = package.GetPath(); in getApexInfo() 400 return o.GetPath() == pkg.GetPath(); in getAllPackages()
|
/system/extras/libperfmgr/tests/ |
D | HintManagerTest.cc | 278 EXPECT_EQ(files_[0 + 2]->path, nodes[0]->GetPath()); in TEST_F() 279 EXPECT_EQ(files_[1 + 2]->path, nodes[1]->GetPath()); in TEST_F() 294 EXPECT_EQ(prop_, nodes[2]->GetPath()); in TEST_F() 371 EXPECT_EQ(files_[0 + 2]->path, nodes[0]->GetPath()); in TEST_F() 372 EXPECT_EQ(files_[1 + 2]->path, nodes[1]->GetPath()); in TEST_F() 387 EXPECT_EQ(prop_, nodes[2]->GetPath()); in TEST_F()
|
/system/extras/libperfmgr/include/perfmgr/ |
D | Node.h | 65 const std::string& GetPath() const;
|
/system/extras/libperfmgr/ |
D | Node.cc | 67 const std::string& Node::GetPath() const { in GetPath() function in android::perfmgr::Node
|
/system/update_engine/payload_generator/ |
D | squashfs_filesystem.cc | 109 unsquash_dir.GetPath().value(), in GetUpdateEngineConfig() 121 auto config_path = unsquash_dir.GetPath().Append(kUpdateEngineConf); in GetUpdateEngineConfig()
|
/system/update_engine/payload_consumer/ |
D | partition_update_generator_android_unittest.cc | 47 generator_->block_device_dir_ = device_dir_.GetPath().value(); in SetUp()
|