Searched refs:FileGetPath (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/cros/ |
D | mock_p2p_manager.h | 53 ON_CALL(*this, FileGetPath(testing::_)) in MockP2PManager() 54 .WillByDefault(testing::Invoke(&fake_, &FakeP2PManager::FileGetPath)); in MockP2PManager() 83 MOCK_METHOD1(FileGetPath, base::FilePath(const std::string&));
|
D | p2p_manager_unittest.cc | 364 EXPECT_EQ(manager_->FileGetPath("foo"), in TEST_F() 384 EXPECT_EQ(manager_->FileGetPath("foo"), in TEST_F() 394 EXPECT_EQ(manager_->FileGetPath("foo"), in TEST_F() 408 EXPECT_EQ(manager_->FileGetPath("foo"), base::FilePath()); in TEST_F() 416 EXPECT_EQ(manager_->FileGetPath("foo"), in TEST_F() 424 EXPECT_EQ(manager_->FileGetPath("bar"), base::FilePath()); in TEST_F() 432 EXPECT_EQ(manager_->FileGetPath("bar"), in TEST_F()
|
D | p2p_manager.cc | 135 FilePath FileGetPath(const string& file_id) override; 494 FilePath path = FileGetPath(file_id); in FileShare() 576 FilePath P2PManagerImpl::FileGetPath(const string& file_id) { in FileGetPath() function in chromeos_update_engine::P2PManagerImpl 595 FilePath path = FileGetPath(file_id); in FileGetVisible() 606 FilePath path = FileGetPath(file_id); in FileMakeVisible() 629 FilePath path = FileGetPath(file_id); in FileGetSize() 637 FilePath path = FileGetPath(file_id); in FileGetExpectedSize()
|
D | fake_p2p_manager.h | 58 base::FilePath FileGetPath(const std::string& file_id) override { in FileGetPath() function
|
D | p2p_manager.h | 127 virtual base::FilePath FileGetPath(const std::string& file_id) = 0;
|
D | download_action_chromeos.cc | 72 SystemState::Get()->p2p_manager()->FileGetPath(p2p_file_id_); in CloseP2PSharingFd() 95 FilePath path = p2p_manager->FileGetPath(p2p_file_id_); in SetupP2PSharingFd() 314 FilePath path = SystemState::Get()->p2p_manager()->FileGetPath(file_id); in StartDownloading()
|
D | download_action_chromeos_unittest.cc | 622 ReadFileToString(p2p_manager_->FileGetPath(file_id), &p2p_file_contents)); in TEST_F() 649 p2p_manager_->FileGetPath(file_id), existing_data.c_str(), 1000), in TEST_F() 665 ReadFileToString(p2p_manager_->FileGetPath(file_id), &p2p_file_contents)); in TEST_F() 683 p2p_manager_->FileGetPath(file_id), existing_data.c_str(), 1000), in TEST_F()
|