/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::GetMinKernelKeyVersion)); in MockHardware() 53 testing::Invoke(&fake_, &FakeHardware::GetMinFirmwareKeyVersion)); in MockHardware() 55 .WillByDefault(testing::Invoke( in MockHardware() 58 .WillByDefault(testing::Invoke( in MockHardware() [all …]
|
/system/update_engine/cros/ |
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 | mock_omaha_request_params.h | 36 testing::Invoke(this, &MockOmahaRequestParams::FakeGetAppId)); in MockOmahaRequestParams() 38 .WillByDefault(testing::Invoke( in MockOmahaRequestParams() 41 .WillByDefault(testing::Invoke( in MockOmahaRequestParams() 44 .WillByDefault(testing::Invoke( in MockOmahaRequestParams()
|
/system/update_engine/update_manager/ |
D | mock_policy.h | 36 .WillByDefault(testing::Invoke(&default_policy_, in MockPolicy() 41 .WillByDefault(testing::Invoke(&default_policy_, in MockPolicy() 47 testing::Invoke(&default_policy_, &DefaultPolicy::UpdateCanStart)); in MockPolicy() 50 testing::Invoke(&default_policy_, &DefaultPolicy::P2PEnabled)); in MockPolicy() 54 .WillByDefault(testing::Invoke(&default_policy_, in MockPolicy()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | mock_property_fetcher.h | 35 using ::testing::Invoke; in MockPropertyFetcher() 36 ON_CALL(*this, GetProperty(_, _)).WillByDefault(Invoke([](const auto&, const auto& def) { in MockPropertyFetcher() 39 ON_CALL(*this, GetBoolProperty(_, _)).WillByDefault(Invoke([](const auto&, auto def) { in MockPropertyFetcher()
|
/system/bt/gd/l2cap/classic/internal/ |
D | dynamic_channel_service_manager_impl.cc | 32 pending_registration.on_registration_complete_callback_.Invoke( in Register() 36 pending_registration.on_registration_complete_callback_.Invoke( in Register() 46 pending_registration.on_registration_complete_callback_.Invoke( in Register() 54 callback.Invoke(); in Unregister()
|
D | dynamic_channel_service_impl.h | 44 on_connection_open_callback_.Invoke(std::move(channel)); in NotifyChannelCreation()
|
/system/bt/gd/hci/ |
D | le_address_manager.cc | 61 handler_->BindOnceOn(this, &LeAddressManager::resume_registered_clients).Invoke(); in SetPrivacyPolicyForInitiatorAddress() 140 handler_->BindOnceOn(this, &LeAddressManager::register_client, callback).Invoke(); in Register() 164 handler_->BindOnceOn(this, &LeAddressManager::unregister_client, callback).Invoke(); in Unregister() 175 handler_->BindOnceOn(this, &LeAddressManager::ack_pause, callback).Invoke(); in AckPause() 179 handler_->BindOnceOn(this, &LeAddressManager::ack_resume, callback).Invoke(); in AckResume() 375 handler_->BindOnceOn(this, &LeAddressManager::push_command, std::move(command)).Invoke(); in AddDeviceToConnectList() 386 handler_->BindOnceOn(this, &LeAddressManager::push_command, std::move(command)).Invoke(); in AddDeviceToResolvingList() 393 handler_->BindOnceOn(this, &LeAddressManager::push_command, std::move(command)).Invoke(); in RemoveDeviceFromConnectList() 401 handler_->BindOnceOn(this, &LeAddressManager::push_command, std::move(command)).Invoke(); in RemoveDeviceFromResolvingList() 407 handler_->BindOnceOn(this, &LeAddressManager::push_command, std::move(command)).Invoke(); in ClearConnectList() [all …]
|
/system/connectivity/wificond/tests/ |
D | scan_utils_unittest.cpp | 37 using testing::Invoke; 154 WillOnce(Invoke(bind( in TEST_F() 173 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F() 193 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F() 211 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F() 229 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F() 249 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F() 263 WillOnce(Invoke(bind( in TEST_F() 277 WillOnce(Invoke(bind( in TEST_F() 299 WillOnce(Invoke(bind( in TEST_F()
|
D | ap_interface_impl_unittest.cpp | 42 using testing::Invoke; 96 .WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F() 118 .WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F() 140 .WillOnce(Invoke(bind(CaptureChannelSwitchEventHandler, &handler, _1, _2))); in TEST_F()
|
/system/netd/server/ |
D | InterfaceControllerTest.cpp | 29 using testing::Invoke; 80 EXPECT_CALL(mSyscalls, read(kDevRandomFd, _)).WillOnce(Invoke([data](Fd, const Slice buf) { in expectReadFromDevRandom() 88 .WillOnce(Invoke([](const std::string&, const std::string& dflt) { return dflt; })); in expectGetPropertyDefault() 93 .WillOnce(Invoke([val](const std::string&, const std::string&) { return val; })); in expectGetProperty() 102 .WillOnce(Invoke([val, err](Fd, const Slice buf) -> StatusOr<size_t> { in expectWriteToFile()
|
D | NFLogListenerTest.cpp | 33 using ::testing::Invoke; 79 EXPECT_CALL(*mNLListener, send(_)).Times(Exactly(3)).WillRepeatedly(Invoke(sendOk)); in subscribe()
|
/system/core/fs_mgr/libsnapshot/ |
D | fuzz_utils.h | 151 static typename FuzzFunction::ReturnType Invoke( 163 static typename FuzzFunction::ReturnType Invoke( 174 static typename FuzzFunction::ReturnType Invoke(typename FuzzFunction::ClassType* module, 183 static typename FuzzFunction::ReturnType Invoke( 262 Action, FunctionName)>::Invoke; \
|
/system/bt/gd/l2cap/fuzz/ |
D | fuzz_dynamic_channel_manager_impl.h | 84 std::move(on_fail_callback_).Invoke(result); in SetConnectionOnFail() 89 std::move(on_open_callback_).Invoke(std::move(channel)); in SetConnectionOnOpen()
|
/system/bt/gd/common/ |
D | contextual_callback.h | 48 void Invoke(Args... args) { in Invoke() function 84 void Invoke(Args... args) { in Invoke() function
|
/system/core/healthd/ |
D | healthd_mode_charger_test.cpp | 36 using testing::Invoke; 142 .WillRepeatedly(Invoke([](const auto&, GRSurface** surface) { in ExpectChargerResAt() 148 .WillRepeatedly(Invoke([&](const auto&, int* frames, int* fps, GRSurface*** surface) { in ExpectChargerResAt()
|
/system/update_engine/aosp/ |
D | dynamic_partition_control_android_unittest.cc | 43 using testing::Invoke; 65 .WillByDefault(Invoke([](auto path) { in SetUp() 74 .WillByDefault(Invoke([](auto partition_name_suffix, auto device) { in SetUp() 85 .WillByDefault(Invoke([&](uint32_t source_slot, in SetUp() 125 .WillRepeatedly(Invoke([=](auto, auto) { in SetMetadata() 134 .WillRepeatedly(Invoke([=](auto, auto, auto) { in SetMetadata() 314 .WillOnce(Invoke([](auto, auto, auto) { return nullptr; })); in TEST_P() 526 Invoke([](const auto&, const auto& name, auto, auto, auto* device) { in TEST_P() 911 .WillByDefault(Invoke([&](auto source_slot, in TEST_P() 936 .WillByDefault(Invoke([&](auto source_slot, in TEST_P() [all …]
|
/system/bt/gd/iso/internal/ |
D | iso_manager_impl.cc | 58 cis_established_callback.Invoke(le_cis_established_view.GetConnectionHandle()); in OnHciLeEvent() 145 command_complete_callback.Invoke(handles); in SetCigParametersComplete() 218 command_complete_callback.Invoke(handles); in SetCigParametersTestComplete() 266 iso_data_callback.Invoke(std::move(packet)); in OnIncomingPacket()
|
/system/libvintf/test/ |
D | VintfFmTest.cpp | 43 using ::testing::Invoke; 197 .WillByDefault(Invoke([](const auto&, auto* fetched, auto*) { in SetUp() 253 .WillByDefault(Invoke([this](const auto&, auto* out, auto*) { in SetUp() 261 .WillByDefault(Invoke([this](const auto& path, auto* fetched, auto*) { in SetUp()
|
/system/bt/bta/vc/ |
D | vc_test.cc | 47 using testing::Invoke; 131 .WillByDefault(Invoke([&](uint16_t conn_id, uint16_t handle, in set_sample_database() 171 Invoke([&](uint16_t conn_id, in SetUp() 187 .WillByDefault(Invoke( in SetUp() 202 Invoke([&](uint16_t conn_id) -> std::list<gatt::Service>* { in SetUp() 217 Invoke([](uint16_t conn_id, uint16_t handle, in SetUp() 367 .WillOnce(Invoke( in SetEncryptionResult()
|
/system/unwinding/libunwindstack/tests/ |
D | DwarfSectionTest.cpp | 137 .WillOnce(::testing::Invoke(MockGetCfaLocationInfo)); in TEST_F() 158 .WillOnce(::testing::Invoke(MockGetCfaLocationInfo)); in TEST_F() 174 .WillOnce(::testing::Invoke(MockGetCfaLocationInfo)); in TEST_F()
|
/system/chre/apps/tflm_demo/src/ |
D | model.cc | 58 TfLiteStatus invoke_status = interpreter.Invoke(); in run()
|
/system/update_engine/ |
D | libcurl_http_fetcher_unittest.cc | 154 .WillOnce(testing::Invoke( in TEST_F() 156 .WillRepeatedly(testing::Invoke( in TEST_F()
|
/system/netd/libnetdutils/ |
D | SyscallsTest.cpp | 35 using testing::Invoke; 76 .WillOnce(Invoke([expected](Fd, sockaddr* addr, socklen_t* addrlen) { in TEST_F() 189 .WillOnce(Invoke( in TEST_F()
|
/system/bt/service/test/ |
D | low_energy_client_unittest.cc | 33 using ::testing::Invoke; 272 .WillOnce(DoAll(Invoke([&](int client_id, const RawAddress& bd_addr, in TEST_F() 288 Invoke([&](int client_id, const RawAddress& bd_addr, int connId) { in TEST_F()
|