Home
last modified time | relevance | path

Searched refs:Invoke (Results 1 – 25 of 52) sorted by relevance

123

/system/update_engine/common/
Dmock_hardware.h34 .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/
Dmock_p2p_manager.h35 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 …]
Dmock_omaha_request_params.h37 testing::Invoke(this, &MockOmahaRequestParams::FakeGetAppId)); in MockOmahaRequestParams()
39 .WillByDefault(testing::Invoke( in MockOmahaRequestParams()
42 .WillByDefault(testing::Invoke( in MockOmahaRequestParams()
45 .WillByDefault(testing::Invoke( in MockOmahaRequestParams()
Ddynamic_partition_control_android_unittest.cc42 using testing::Invoke;
61 .WillByDefault(Invoke([](auto path) { in SetUp()
70 .WillByDefault(Invoke([](auto partition_name_suffix, auto device) { in SetUp()
81 .WillByDefault(Invoke([&](uint32_t source_slot, in SetUp()
120 .WillRepeatedly(Invoke([sizes, partition_attr](auto, auto) { in SetMetadata()
128 .WillRepeatedly(Invoke([sizes, partition_attr](auto, auto, auto) { in SetMetadata()
305 .WillOnce(Invoke([](auto, auto, auto) { return nullptr; })); in TEST_P()
431 Invoke([](const auto&, const auto& name, auto, auto, auto* device) { in TEST_P()
817 .WillByDefault(Invoke([&](auto source_slot, in TEST_P()
842 .WillByDefault(Invoke([&](auto source_slot, in TEST_P()
[all …]
Dlibcurl_http_fetcher_unittest.cc162 .WillOnce(testing::Invoke( in TEST_F()
164 .WillRepeatedly(testing::Invoke( in TEST_F()
/system/update_engine/update_manager/
Dmock_policy.h37 .WillByDefault(testing::Invoke(&default_policy_, in MockPolicy()
42 .WillByDefault(testing::Invoke(&default_policy_, in MockPolicy()
48 testing::Invoke(&default_policy_, &DefaultPolicy::UpdateCanStart)); in MockPolicy()
52 .WillByDefault(testing::Invoke(&default_policy_, in MockPolicy()
56 testing::Invoke(&default_policy_, &DefaultPolicy::P2PEnabled)); in MockPolicy()
60 .WillByDefault(testing::Invoke(&default_policy_, in MockPolicy()
/system/core/fs_mgr/liblp/include/liblp/
Dmock_property_fetcher.h35 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/
Ddynamic_channel_service_manager_impl.cc32 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()
Ddynamic_channel_service_impl.h44 on_connection_open_callback_.Invoke(std::move(channel)); in NotifyChannelCreation()
/system/bt/gd/hci/
Dle_address_manager.cc117 handler_->BindOnceOn(this, &LeAddressManager::register_client, callback).Invoke(); in Register()
130 handler_->BindOnceOn(this, &LeAddressManager::unregister_client, callback).Invoke(); in Unregister()
141 handler_->BindOnceOn(this, &LeAddressManager::ack_pause, callback).Invoke(); in AckPause()
145 handler_->BindOnceOn(this, &LeAddressManager::ack_resume, callback).Invoke(); in AckResume()
238 handler_->BindOnceOn(this, &LeAddressManager::resume_registered_clients).Invoke(); in on_le_set_random_address_complete()
240 handler_->BindOnceOn(this, &LeAddressManager::handle_next_command).Invoke(); in on_le_set_random_address_complete()
327 handler_->BindOnceOn(this, &LeAddressManager::pause_registered_clients).Invoke(); in AddDeviceToConnectList()
339 handler_->BindOnceOn(this, &LeAddressManager::pause_registered_clients).Invoke(); in AddDeviceToResolvingList()
347 handler_->BindOnceOn(this, &LeAddressManager::pause_registered_clients).Invoke(); in RemoveDeviceFromConnectList()
356 handler_->BindOnceOn(this, &LeAddressManager::pause_registered_clients).Invoke(); in RemoveDeviceFromResolvingList()
[all …]
/system/connectivity/wificond/tests/
Dscan_utils_unittest.cpp37 using testing::Invoke;
153 WillOnce(Invoke(bind( in TEST_F()
172 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F()
190 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F()
208 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F()
226 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F()
246 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); in TEST_F()
260 WillOnce(Invoke(bind( in TEST_F()
274 WillOnce(Invoke(bind( in TEST_F()
296 WillOnce(Invoke(bind( in TEST_F()
Dap_interface_impl_unittest.cpp42 using testing::Invoke;
97 WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F()
129 WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F()
150 .WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F()
172 .WillOnce(Invoke(bind(CaptureStationEventHandler, &handler, _1, _2))); in TEST_F()
194 .WillOnce(Invoke(bind(CaptureChannelSwitchEventHandler, &handler, _1, _2))); in TEST_F()
Dscanner_unittest.cpp37 using ::testing::Invoke;
225 WillOnce(Invoke(bind( in TEST_F()
242 WillByDefault(Invoke(bind( in TEST_F()
309 WillOnce(Invoke(bind( in TEST_F()
352 WillOnce(Invoke(bind( in TEST_F()
385 WillOnce(Invoke(bind( in TEST_F()
/system/netd/server/
DInterfaceControllerTest.cpp29 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()
DNFLogListenerTest.cpp33 using ::testing::Invoke;
79 EXPECT_CALL(*mNLListener, send(_)).Times(Exactly(3)).WillRepeatedly(Invoke(sendOk)); in subscribe()
/system/core/fs_mgr/libsnapshot/
Dfuzz_utils.h151 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/common/
Dcontextual_callback.h48 void Invoke(Args... args) { in Invoke() function
84 void Invoke(Args... args) { in Invoke() function
/system/core/libunwindstack/tests/
DDwarfSectionTest.cpp133 .WillOnce(::testing::Invoke(MockGetCfaLocationInfo)); in TEST_F()
153 .WillOnce(::testing::Invoke(MockGetCfaLocationInfo)); in TEST_F()
168 .WillOnce(::testing::Invoke(MockGetCfaLocationInfo)); in TEST_F()
/system/connectivity/wifilogd/tests/
Dos_unittest.cpp43 using ::testing::Invoke;
155 .WillOnce(Invoke([](const timespec* /* desired */, timespec* remaining) { in TEST_F()
167 .WillOnce(Invoke([](const timespec* /* desired */, timespec* remaining) { in TEST_F()
173 .WillOnce(Invoke([](const timespec* /* desired */, timespec* remaining) { in TEST_F()
185 .WillOnce(Invoke([](const timespec* /* desired */, timespec* remaining) { in TEST_F()
/system/bt/service/test/
Dlow_energy_client_unittest.cc32 using ::testing::Invoke;
270 .WillOnce(DoAll(Invoke([&](int client_id, const RawAddress& bd_addr, in TEST_F()
286 Invoke([&](int client_id, const RawAddress& bd_addr, int connId) { in TEST_F()
/system/netd/libnetdutils/
DSyscallsTest.cpp35 using testing::Invoke;
76 .WillOnce(Invoke([expected](Fd, sockaddr* addr, socklen_t* addrlen) { in TEST_F()
189 .WillOnce(Invoke( in TEST_F()
/system/libvintf/test/
DRuntimeInfo-fake.cpp30 ON_CALL(*this, fetchAllInformation(_)).WillByDefault(Invoke(this, &MockRuntimeInfo::doFetch)); in MockRuntimeInfo()
Dvintf_object_tests.cpp386 Invoke([vendorManifestXml](const std::string& path, std::string& fetched) { in setupMockFetcher()
393 Invoke([systemManifestXml](const std::string& path, std::string& fetched) { in setupMockFetcher()
399 .WillByDefault(Invoke([vendorMatrixXml](const std::string& path, std::string& fetched) { in setupMockFetcher()
405 .WillByDefault(Invoke([systemMatrixXml](const std::string& path, std::string& fetched) { in setupMockFetcher()
443 .WillOnce(Invoke([content](const auto&, auto& out) { in expectFetch()
453 .WillRepeatedly(Invoke([content](const auto&, auto& out) { in expectFetchRepeatedly()
586 .WillOnce(Invoke([](const auto&, auto* out, auto*) { in TEST_F()
607 .WillOnce(Invoke([](const auto&, auto* out, auto*) { in TEST_F()
615 .WillRepeatedly(Invoke([](const auto&, auto* out, auto*) { in TEST_F()
878 .WillRepeatedly(Invoke([](const auto&, auto* out, auto*) { in SetUp()
[all …]
/system/bt/gd/shim/
Dl2cap_test.cc120 std::move(on_fail_callback_).Invoke(result); in SetConnectionOnFail()
125 std::move(on_open_callback_).Invoke(std::move(channel)); in SetConnectionOnOpen()
421 test_l2cap_classic_module_->impl_->on_registration_complete_.Invoke(result, std::move(service)); in TEST_F()
452 test_l2cap_classic_module_->impl_->on_registration_complete_.Invoke(result, std::move(service)); in TEST_F()
483 test_l2cap_classic_module_->impl_->on_registration_complete_.Invoke(result, std::move(service)); in TEST_F()
/system/core/libbacktrace/testdata/arm/
Doffline_testdata_for_libart7 function: start: a7129 end: a72f1 name: art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigne…

123