Home
last modified time | relevance | path

Searched refs:FileGetSize (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/
Dmock_p2p_manager.h55 ON_CALL(*this, FileGetSize(testing::_)) in MockP2PManager()
56 .WillByDefault(testing::Invoke(&fake_, &FakeP2PManager::FileGetSize)); in MockP2PManager()
84 MOCK_METHOD1(FileGetSize, ssize_t(const std::string&));
Dp2p_manager_unittest.cc401 EXPECT_EQ(manager_->FileGetSize("foo"), -1); in TEST_F()
410 EXPECT_EQ(manager_->FileGetSize("foo"), 42); in TEST_F()
417 EXPECT_EQ(manager_->FileGetSize("bar"), -1); in TEST_F()
426 EXPECT_EQ(manager_->FileGetSize("bar"), 44); in TEST_F()
Dfake_p2p_manager.h62 ssize_t FileGetSize(const std::string& file_id) override { return -1; } in FileGetSize() function
Dp2p_manager.h136 virtual ssize_t FileGetSize(const std::string& file_id) = 0;
Dp2p_manager.cc136 ssize_t FileGetSize(const string& file_id) override;
632 ssize_t P2PManagerImpl::FileGetSize(const string& file_id) { in FileGetSize() function in chromeos_update_engine::P2PManagerImpl
/system/update_engine/payload_consumer/
Ddownload_action_unittest.cc629 p2p_manager_->FileGetSize(file_id)); in TEST_F()
670 p2p_manager_->FileGetSize(file_id)); in TEST_F()
699 EXPECT_EQ(1000, p2p_manager_->FileGetSize(file_id)); in TEST_F()
705 EXPECT_EQ(-1, p2p_manager_->FileGetSize(file_id)); in TEST_F()