/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 | 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 | 153 FilePath GetPath(const string& file_id, Visibility visibility); 310 FilePath P2PManagerImpl::GetPath(const string& file_id, Visibility visibility) { in GetPath() function in chromeos_update_engine::P2PManagerImpl 535 path = GetPath(file_id, kNonVisible); in FileShare() 585 path = GetPath(file_id, kVisible); in FileGetPath() 590 path = GetPath(file_id, kNonVisible); in FileGetPath()
|
D | omaha_response_handler_action_unittest.cc | 447 params.set_root(tempdir.GetPath().value()); in TEST_F() 479 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() 442 EXPECT_FALSE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST() 446 loop_dev, mnt_dir.GetPath().value(), MS_RDONLY, "ext4", "")); in TEST() 448 EXPECT_TRUE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST() 450 string target_file = mnt_dir.GetPath().Append("empty-file").value(); in TEST() 453 EXPECT_TRUE(utils::UnmountFilesystem(mnt_dir.GetPath().value())); in TEST() 455 EXPECT_FALSE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST() 458 EXPECT_FALSE(utils::UnmountFilesystem(mnt_dir.GetPath().value())); in TEST() [all …]
|
D | test_utils.cc | 220 *mnt_path = temp_dir_.GetPath().value(); in ScopedLoopMounter()
|
D | subprocess_unittest.cc | 227 string fifo_path = tempdir.GetPath().Append("fifo").value(); in TEST_F()
|
D | prefs_unittest.cc | 47 prefs_dir_ = temp_dir_.GetPath(); in SetUp()
|
/system/apex/apexd/ |
D | apexd_prepostinstall.cpp | 70 LOG(VERBOSE) << name << " for " << hook_file->GetPath(); in StageFnInstall() 78 LOG(ERROR) << "Failed to unmount " << f->GetPath() << " after " << name in StageFnInstall() 95 if (!apexd_private::IsMounted(apex.GetManifest().name(), apex.GetPath())) { in StageFnInstall() 121 hook_file->GetPath(), // Make the APEX with hook first. in StageFnInstall() 125 args.push_back(apex.GetPath()); in StageFnInstall()
|
D | apex_file.cpp | 260 << apex.GetPath()); in getPublicKeyName() 286 << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature() 290 << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature() 294 << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature() 316 LOG(WARNING) << "Verifying " << apex.GetPath() << " with the bundled key"; in verifyVbMetaSignature() 323 LOG(VERBOSE) << apex.GetPath() << ": public key matches."; in verifyVbMetaSignature() 328 << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature() 407 unique_fd fd(open(GetPath().c_str(), O_RDONLY | O_CLOEXEC)); in VerifyApexVerity() 410 << GetPath()); in VerifyApexVerity()
|
D | apexd.cpp | 344 if (files_to_keep.find(apex_file->GetPath()) != files_to_keep.end()) { in RemovePreviouslyActiveApexFiles() 349 LOG(DEBUG) << "Deleting previously active apex " << apex_file->GetPath(); in RemovePreviouslyActiveApexFiles() 350 if (unlink(apex_file->GetPath().c_str()) != 0) { in RemovePreviouslyActiveApexFiles() 352 << "Failed to unlink " << apex_file->GetPath()); in RemovePreviouslyActiveApexFiles() 401 const std::string& full_path = apex.GetPath(); in mountNonFlattened() 432 MountedApexData apex_data(loopbackDevice.name, apex.GetPath(), mountPoint, in mountNonFlattened() 507 if (!isPathForBuiltinApexes(apex.GetPath())) { in mountFlattened() 509 << apex.GetPath()); in mountFlattened() 512 if (mount(apex.GetPath().c_str(), mountPoint.c_str(), nullptr, MS_BIND, in mountFlattened() 515 << apex.GetPath() << " on " << mountPoint; in mountFlattened() [all …]
|
D | apex_file.h | 49 const std::string& GetPath() const { return apex_path_; } in GetPath() function
|
D | apexservice.cpp | 170 out.packagePath = package.GetPath(); in submitStagedSession() 262 out.packagePath = package.GetPath(); in getApexInfo() 371 ::android::apex::isPathForBuiltinApexes(package.GetPath()); in getActivePackages() 383 aidl_return->packagePath = apex->GetPath(); in getActivePackage() 388 ::android::apex::isPathForBuiltinApexes(apex->GetPath()); in getActivePackage()
|
/system/extras/libperfmgr/tools/ |
D | ConfigVerifier.cc | 55 if (!android::base::WriteStringToFile(value, node->GetPath())) { in VerifyNodes() 56 LOG(ERROR) << "Failed to write to node: " << node->GetPath() in VerifyNodes() 60 LOG(VERBOSE) << "Wrote to node: " << node->GetPath() in VerifyNodes()
|
/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()
|
D | PropertyNodeTest.cc | 110 EXPECT_EQ(test_path, t.GetPath()); in TEST()
|
D | FileNodeTest.cc | 101 EXPECT_EQ(test_path, t.GetPath()); in TEST()
|
/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/extras/simpleperf/ |
D | UnixSocket.h | 109 const std::string& GetPath() const { return path_; } in GetPath() function
|
/system/update_engine/payload_consumer/ |
D | delta_performer_unittest.cc | 999 string non_existing_file = temp_dir.GetPath().Append("non-existing").value(); in TEST_F() 1000 string existing_file = temp_dir.GetPath().Append("existing").value(); in TEST_F()
|