Searched refs:FileGetPath (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/ |
D | mock_p2p_manager.h | 55 ON_CALL(*this, FileGetPath(testing::_)) in MockP2PManager() 57 &FakeP2PManager::FileGetPath)); in MockP2PManager() 88 MOCK_METHOD1(FileGetPath, base::FilePath(const std::string&));
|
D | p2p_manager_unittest.cc | 351 EXPECT_EQ(manager_->FileGetPath("foo"), in TEST_F() 374 EXPECT_EQ(manager_->FileGetPath("foo"), in TEST_F() 382 EXPECT_EQ(manager_->FileGetPath("foo"), in TEST_F() 400 EXPECT_EQ(manager_->FileGetPath("foo"), base::FilePath()); in TEST_F() 408 EXPECT_EQ(manager_->FileGetPath("foo"), in TEST_F() 416 EXPECT_EQ(manager_->FileGetPath("bar"), base::FilePath()); in TEST_F() 424 EXPECT_EQ(manager_->FileGetPath("bar"), in TEST_F()
|
D | p2p_manager.cc | 139 FilePath FileGetPath(const string& file_id) override; 507 FilePath path = FileGetPath(file_id); in FileShare() 586 FilePath P2PManagerImpl::FileGetPath(const string& file_id) { in FileGetPath() function in chromeos_update_engine::P2PManagerImpl 606 FilePath path = FileGetPath(file_id); in FileGetVisible() 617 FilePath path = FileGetPath(file_id); in FileMakeVisible() 640 FilePath path = FileGetPath(file_id); in FileGetSize() 648 FilePath path = FileGetPath(file_id); in FileGetExpectedSize()
|
D | fake_p2p_manager.h | 67 base::FilePath FileGetPath(const std::string& file_id) override { in FileGetPath() function
|
D | p2p_manager.h | 129 virtual base::FilePath FileGetPath(const std::string& file_id) = 0;
|
/system/update_engine/payload_consumer/ |
D | download_action.cc | 70 system_state_->p2p_manager()->FileGetPath(p2p_file_id_); in CloseP2PSharingFd() 93 FilePath path = p2p_manager->FileGetPath(p2p_file_id_); in SetupP2PSharingFd() 261 FilePath path = system_state_->p2p_manager()->FileGetPath(file_id); in StartDownloading()
|
D | download_action_unittest.cc | 543 EXPECT_TRUE(ReadFileToString(p2p_manager_->FileGetPath(file_id), in TEST_F() 581 ASSERT_EQ(WriteFile(p2p_manager_->FileGetPath(file_id), existing_data.c_str(), in TEST_F() 596 EXPECT_TRUE(ReadFileToString(p2p_manager_->FileGetPath(file_id), in TEST_F() 619 ASSERT_EQ(WriteFile(p2p_manager_->FileGetPath(file_id), existing_data.c_str(), in TEST_F()
|