Home
last modified time | relevance | path

Searched refs:FileGetPath (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/cros/
Dmock_p2p_manager.h53 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&));
Dp2p_manager_unittest.cc364 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()
Dp2p_manager.cc135 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()
Dfake_p2p_manager.h58 base::FilePath FileGetPath(const std::string& file_id) override { in FileGetPath() function
Dp2p_manager.h127 virtual base::FilePath FileGetPath(const std::string& file_id) = 0;
Ddownload_action_chromeos.cc72 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()
Ddownload_action_chromeos_unittest.cc622 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()