Searched refs:FileGetExpectedSize (Results 1 – 6 of 6) sorted by relevance
57 ON_CALL(*this, FileGetExpectedSize(testing::_)) in MockP2PManager()59 testing::Invoke(&fake_, &FakeP2PManager::FileGetExpectedSize)); in MockP2PManager()85 MOCK_METHOD1(FileGetExpectedSize, ssize_t(const std::string&));
402 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()
64 ssize_t FileGetExpectedSize(const std::string& file_id) override { in FileGetExpectedSize() function
145 virtual ssize_t FileGetExpectedSize(const std::string& file_id) = 0;
138 ssize_t FileGetExpectedSize(const string& file_id) override;502 ssize_t file_expected_size = FileGetExpectedSize(file_id); in FileShare()641 ssize_t P2PManagerImpl::FileGetExpectedSize(const string& file_id) { in FileGetExpectedSize() function in chromeos_update_engine::P2PManagerImpl
631 p2p_manager_->FileGetExpectedSize(file_id)); in TEST_F()672 p2p_manager_->FileGetExpectedSize(file_id)); in TEST_F()