Home
last modified time | relevance | path

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

/system/update_engine/
Dmock_p2p_manager.h55 ON_CALL(*this, FileGetPath(testing::_)) in MockP2PManager()
57 &FakeP2PManager::FileGetPath)); in MockP2PManager()
88 MOCK_METHOD1(FileGetPath, base::FilePath(const std::string&));
Dp2p_manager_unittest.cc351 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()
Dp2p_manager.cc139 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()
Dfake_p2p_manager.h67 base::FilePath FileGetPath(const std::string& file_id) override { in FileGetPath() function
Dp2p_manager.h129 virtual base::FilePath FileGetPath(const std::string& file_id) = 0;
/system/update_engine/payload_consumer/
Ddownload_action.cc70 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()
Ddownload_action_unittest.cc543 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()