Searched refs:fake_ (Results 1 – 4 of 4) sorted by relevance
/system/update_engine/common/ |
D | mock_hardware.h | 34 .WillByDefault(testing::Invoke(&fake_, &FakeHardware::IsOfficialBuild)); in MockHardware() 37 testing::Invoke(&fake_, &FakeHardware::IsNormalBootMode)); in MockHardware() 40 testing::Invoke(&fake_, &FakeHardware::AreDevFeaturesEnabled)); in MockHardware() 42 .WillByDefault(testing::Invoke(&fake_, &FakeHardware::IsOOBEEnabled)); in MockHardware() 44 .WillByDefault(testing::Invoke(&fake_, &FakeHardware::IsOOBEComplete)); in MockHardware() 47 testing::Invoke(&fake_, &FakeHardware::GetHardwareClass)); in MockHardware() 50 testing::Invoke(&fake_, &FakeHardware::GetFirmwareVersion)); in MockHardware() 52 .WillByDefault(testing::Invoke(&fake_, &FakeHardware::GetECVersion)); in MockHardware() 55 testing::Invoke(&fake_, &FakeHardware::GetMinKernelKeyVersion)); in MockHardware() 58 testing::Invoke(&fake_, &FakeHardware::GetMinFirmwareKeyVersion)); in MockHardware() [all …]
|
/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 …]
|
/system/iorap/src/binder/ |
D | iiorap_impl.cc | 65 bool fake_{false}; member 124 DCHECK(service_params_.fake_); in HandleFakeBehavior() 134 if (service_params_.fake_) { in MaybeHandleFakeBehavior() 182 p->fake_ = ::android::base::GetBoolProperty("iorapd.binder.fake", /*default*/false); in Start()
|
/system/iorap/tests/src/inode2filename/ |
D | search_directories_test.cc | 2620 .WillByDefault(Invoke(&fake_, &FakeSystemCall::stat)); in DelegateToFake() 2622 .WillByDefault(Invoke(&fake_, &FakeSystemCall::opendir)); in DelegateToFake() 2624 .WillByDefault(Invoke(&fake_, &FakeSystemCall::readdir)); in DelegateToFake() 2626 .WillByDefault(Invoke(&fake_, &FakeSystemCall::closedir)); in DelegateToFake() 2632 FakeSystemCall fake_; member in MockSystemCall
|