Searched refs:FakeP2PManager (Results 1 – 2 of 2) sorted by relevance
/system/update_engine/ |
D | mock_p2p_manager.h | 35 testing::Invoke(&fake_, &FakeP2PManager::SetDevicePolicy)); in MockP2PManager() 37 .WillByDefault(testing::Invoke(&fake_, &FakeP2PManager::IsP2PEnabled)); in MockP2PManager() 40 testing::Invoke(&fake_, &FakeP2PManager::EnsureP2PRunning)); in MockP2PManager() 43 testing::Invoke(&fake_, &FakeP2PManager::EnsureP2PNotRunning)); in MockP2PManager() 46 testing::Invoke(&fake_, &FakeP2PManager::PerformHousekeeping)); in MockP2PManager() 50 testing::Invoke(&fake_, &FakeP2PManager::LookupUrlForFile)); in MockP2PManager() 52 .WillByDefault(testing::Invoke(&fake_, &FakeP2PManager::FileShare)); in MockP2PManager() 54 .WillByDefault(testing::Invoke(&fake_, &FakeP2PManager::FileGetPath)); in MockP2PManager() 56 .WillByDefault(testing::Invoke(&fake_, &FakeP2PManager::FileGetSize)); in MockP2PManager() 59 testing::Invoke(&fake_, &FakeP2PManager::FileGetExpectedSize)); in MockP2PManager() [all …]
|
D | fake_p2p_manager.h | 27 class FakeP2PManager : public P2PManager { 29 FakeP2PManager() in FakeP2PManager() function 107 DISALLOW_COPY_AND_ASSIGN(FakeP2PManager);
|