Searched refs:FileGetSize (Results 1 – 6 of 6) sorted by relevance
55 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&));
401 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()
62 ssize_t FileGetSize(const std::string& file_id) override { return -1; } in FileGetSize() function
136 virtual ssize_t FileGetSize(const std::string& file_id) = 0;
136 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
629 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()