Home
last modified time | relevance | path

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

/system/update_engine/
Dmock_p2p_manager.h57 ON_CALL(*this, FileGetExpectedSize(testing::_)) in MockP2PManager()
59 testing::Invoke(&fake_, &FakeP2PManager::FileGetExpectedSize)); in MockP2PManager()
85 MOCK_METHOD1(FileGetExpectedSize, ssize_t(const std::string&));
Dp2p_manager_unittest.cc402 EXPECT_EQ(manager_->FileGetExpectedSize("foo"), -1); in TEST_F()
411 EXPECT_EQ(manager_->FileGetExpectedSize("foo"), 43); in TEST_F()
418 EXPECT_EQ(manager_->FileGetExpectedSize("bar"), -1); in TEST_F()
427 EXPECT_EQ(manager_->FileGetExpectedSize("bar"), 45); in TEST_F()
Dfake_p2p_manager.h64 ssize_t FileGetExpectedSize(const std::string& file_id) override { in FileGetExpectedSize() function
Dp2p_manager.h145 virtual ssize_t FileGetExpectedSize(const std::string& file_id) = 0;
Dp2p_manager.cc137 ssize_t FileGetExpectedSize(const string& file_id) override;
501 ssize_t file_expected_size = FileGetExpectedSize(file_id); in FileShare()
640 ssize_t P2PManagerImpl::FileGetExpectedSize(const string& file_id) { in FileGetExpectedSize() function in chromeos_update_engine::P2PManagerImpl
/system/update_engine/payload_consumer/
Ddownload_action_unittest.cc631 p2p_manager_->FileGetExpectedSize(file_id)); in TEST_F()
672 p2p_manager_->FileGetExpectedSize(file_id)); in TEST_F()