Home
last modified time | relevance | path

Searched defs:handler (Results 1 – 25 of 216) sorted by relevance

123456789

/base/notification/eventhandler/test/systemtest/ems_event_handler_system_test/
Dems_event_handler_test.cpp248 auto handler = std::make_shared<TestEventHandler>(runner); in ProcessEventTest() local
274 auto handler = std::make_shared<EventHandler>(runner); variable
289 auto handler = std::make_shared<EventHandler>(runner); variable
304 auto handler = std::make_shared<EventHandler>(runner); variable
320 auto handler = std::make_shared<EventHandler>(runner); variable
336 auto handler = std::make_shared<EventHandler>(runner); variable
352 auto handler = std::make_shared<EventHandler>(runner); variable
368 auto handler = std::make_shared<EventHandler>(runner); variable
382 auto handler = std::make_shared<EventHandler>(runner); variable
396 auto handler = std::make_shared<EventHandler>(runner); variable
[all …]
/base/telephony/core_service/services/tel_ril/test/
Dtel_ril_test.cpp196 …d TelRilTest::OnInitForRegister(int32_t slotId, const std::shared_ptr<AppExecFwk::EventHandler> &h… in OnInitForRegister()
238 …t::OnProcessInput(int32_t slotId, int32_t what, const std::shared_ptr<AppExecFwk::EventHandler> &h… in OnProcessInput()
250 int32_t slotId, const std::shared_ptr<AppExecFwk::EventHandler> &handler) in OnRequestCallGetCurrentCallsStatusTest()
261 …t::OnRequestSimGetSimStatusTest(int32_t slotId, const std::shared_ptr<AppExecFwk::EventHandler> &h… in OnRequestSimGetSimStatusTest()
272 …lRilTest::OnRequestSimIccIoTest(int32_t slotId, const std::shared_ptr<AppExecFwk::EventHandler> &h… in OnRequestSimIccIoTest()
292 …TelRilTest::OnRequestSimSmsTest(int32_t slotId, const std::shared_ptr<AppExecFwk::EventHandler> &h… in OnRequestSimSmsTest()
337 …lTest::OnRequestOpenLGSimIOTest(int32_t slotId, const std::shared_ptr<AppExecFwk::EventHandler> &h… in OnRequestOpenLGSimIOTest()
355 const std::shared_ptr<AppExecFwk::EventHandler> &handler) in OnRequestTransmitApduLogicalChannelTest()
374 const std::shared_ptr<AppExecFwk::EventHandler> &handler) in OnRequestTransmitApduBasicChannelTest()
393 const std::shared_ptr<AppExecFwk::EventHandler> &handler) in OnRequestSimAuthenticationTest()
[all …]
/base/notification/eventhandler/frameworks/test/moduletest/
Devent_handler_set_get_remove_module_test.cpp62 auto handler = std::make_shared<MyEventHandler>(nullptr); variable
82 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
101 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
118 auto handler = std::make_shared<MyEventHandler>(nullptr); variable
137 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
159 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
179 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
200 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
223 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
242 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
[all …]
Devent_handler_send_sync_event_module_test.cpp33 void WaitTaskCalled(const F &f, const std::shared_ptr<EventHandler> &handler) in WaitTaskCalled()
62 auto handler = std::make_shared<MyEventHandler>(myRunner); in SendEventWithSmartPtr() local
146 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
166 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
188 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
214 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
236 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
261 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
357 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
382 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
Devent_handler_send_event_module_test.cpp33 auto handler = std::make_shared<MyEventHandler>(myRunner); in SendAndCheck() local
54 auto handler = std::make_shared<MyEventHandler>(myRunner); in SendEventWithPriority() local
89 auto handler = std::make_shared<MyEventHandler>(myRunner); in SendEventWithPriorityByEventId() local
122 const std::shared_ptr<MyEventHandler> &handler, EventQueue::Priority priority, const T &ptr) in SendEventWithSharedOrWeakPtr()
144const std::shared_ptr<MyEventHandler> &handler, EventQueue::Priority priority, bool isRValue = fal… in SendEventWithUniquePtr()
195 auto handler = std::make_shared<MyEventHandler>(myRunner); in SendEventWithSmartPtr() local
331 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
374 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
398 auto handler = std::make_shared<MyEventHandler>(nullptr); variable
473 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
Devent_handler_post_task_module_test.cpp64 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
90 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
115 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
141 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
166 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
192 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
222 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
248 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
279 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
310 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
Devent_handler_fd_listener_module_test.cpp102 auto handler = GetOwner(); in OnWritable() local
158 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
186 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
212 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
236 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
260 auto handler = std::make_shared<MyEventHandler>(nullptr); variable
285 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
319 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
353 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
390 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
[all …]
Devent_handler_send_timing_event_module_test.cpp43 void WaitTaskCalled(const F &f, const std::shared_ptr<EventHandler> &handler) in WaitTaskCalled()
73 auto handler = std::make_shared<MyEventHandler>(myRunner); in SendEventWithSmartPtr() local
152 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
174 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
198 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
223 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
316 auto handler = std::make_shared<MyEventHandler>(myRunner); variable
/base/notification/eventhandler/test/systemtest/ems_event_runner_system_test/
Dems_event_runner_system_test.cpp179 F const &f, const std::shared_ptr<EventHandler> &handler, const std::atomic<bool> &taskCalled) in WaitUntilTaskCalled()
203 static void CreateRunnerWithName(const std::shared_ptr<EventHandler> &handler, const std::string &t… in CreateRunnerWithName()
237 auto handler = std::make_shared<EventHandler>(runner); variable
256 auto handler = std::make_shared<EventHandler>(runner); variable
274 auto handler = std::make_shared<EventHandler>(runner); variable
292 auto handler = std::make_shared<EventHandler>(runner); variable
310 auto handler = std::make_shared<EventHandler>(runner); variable
328 auto handler = std::make_shared<EventHandler>(runner); variable
347 auto handler = std::make_shared<EventHandler>(runner); variable
365 auto handler = std::make_shared<EventHandler>(runner); variable
[all …]
/base/useriam/user_auth_framework/test/unittest/services/src/
Dwidget_context_test.cpp70 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
80 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
90 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
100 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
110 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
120 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
132 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
145 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
159 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
174 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
[all …]
Dwidget_schedule_node_impl_test.cpp73 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
86 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
100 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
114 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
126 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
138 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
150 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
Dstate_machine_test.cpp71 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
84 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
100 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
113 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
125 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
137 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
158 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
192 auto handler = MockThreadHandler::InvokeDirectly(); variable
230 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
254 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
[all …]
/base/hiviewdfx/hiview/base/event_publish/test/unittest/common/
Dapp_event_handler_test.cpp42 auto handler = std::make_shared<AppEventHandler>(); variable
56 auto handler = std::make_shared<AppEventHandler>(); variable
70 auto handler = std::make_shared<AppEventHandler>(); variable
84 auto handler = std::make_shared<AppEventHandler>(); variable
98 auto handler = std::make_shared<AppEventHandler>(); variable
/base/telephony/core_service/test/unittest/tel_ril_gtest/
Dtel_ril_test_util.cpp131 …RilTest::ProcessTest(int32_t index, int32_t slotId, std::shared_ptr<AppExecFwk::EventHandler> hand… in ProcessTest()
303 …Test::CallGetCurrentCallsStatusTest(int32_t slotId, std::shared_ptr<AppExecFwk::EventHandler> hand… in CallGetCurrentCallsStatusTest()
323 …oid TelRilTest::SimGetSimStatusTest(int32_t slotId, std::shared_ptr<AppExecFwk::EventHandler> hand… in SimGetSimStatusTest()
342 void TelRilTest::SimIccIoTest(int32_t slotId, std::shared_ptr<AppExecFwk::EventHandler> handler) in SimIccIoTest()
370 void TelRilTest::SimGetImsiTest(int32_t slotId, std::shared_ptr<AppExecFwk::EventHandler> handler) in SimGetImsiTest()
389 …id TelRilTest::GetSimLockStatusTest(int32_t slotId, std::shared_ptr<AppExecFwk::EventHandler> hand… in GetSimLockStatusTest()
409 void TelRilTest::SetSimLockTest(int32_t slotId, std::shared_ptr<AppExecFwk::EventHandler> handler) in SetSimLockTest()
432 void TelRilTest::UnSetSimLockTest(int32_t slotId, std::shared_ptr<AppExecFwk::EventHandler> handler) in UnSetSimLockTest()
455 …d TelRilTest::ChangeSimPasswordTest(int32_t slotId, std::shared_ptr<AppExecFwk::EventHandler> hand… in ChangeSimPasswordTest()
479 void TelRilTest::RadioRestartTest(int32_t slotId, std::shared_ptr<AppExecFwk::EventHandler> handler) in RadioRestartTest()
[all …]
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
Dlib_event_handler_event_runner_test.cpp43 static void WaitUntilTaskCalled(F const &f, const std::shared_ptr<EventHandler> &handler, const std… in WaitUntilTaskCalled()
67 static void CreateRunnerWithName(const std::shared_ptr<EventHandler> &handler, const std::string &t… in CreateRunnerWithName()
138 auto handler = std::make_shared<EventHandler>(EventRunner::Create()); variable
162 auto handler = std::make_shared<EventHandler>(runner); variable
188 auto handler = std::make_shared<EventHandler>(EventRunner::Create(threadName)); variable
208 auto handler = std::make_shared<EventHandler>(EventRunner::Create("threadName")); variable
229 auto handler = std::make_shared<EventHandler>(runner); variable
258 auto handler = std::make_shared<EventHandler>(runner); variable
307 auto handler = std::make_shared<EventHandler>(runner); variable
332 auto handler = std::make_shared<EventHandler>(runner); variable
[all …]
Dlib_event_handler_event_queue_test.cpp760 auto handler = std::make_shared<EventHandler>(runner); variable
788 auto handler = std::make_shared<MyEventHandler>(runner); variable
815 auto handler = std::make_shared<MyEventHandler>(runner); variable
846 auto handler = std::make_shared<EventHandler>(runner); variable
873 auto handler = std::make_shared<EventHandler>(runner); variable
912 auto handler = std::make_shared<EventHandler>(runner); variable
968 auto handler = std::make_shared<EventHandler>(runner); variable
1100 auto handler = std::make_shared<EventHandler>(runner); variable
1135 auto handler = std::make_shared<EventHandler>(runner); variable
1172 auto handler = std::make_shared<EventHandler>(runner); variable
[all …]
/base/telephony/state_registry/frameworks/js/napi/src/
Devent_listener_manager.cpp24 auto handler = DelayedSingleton<EventListenerHandler>::GetInstance(); in RegisterEventListener() local
35 auto handler = DelayedSingleton<EventListenerHandler>::GetInstance(); in UnregisterEventListener() local
46 auto handler = DelayedSingleton<EventListenerHandler>::GetInstance(); in UnregisterEventListener() local
56 auto handler = DelayedSingleton<EventListenerHandler>::GetInstance(); in UnRegisterAllListener() local
/base/security/huks/services/huks_standard/huks_engine/main/core/include/
Dhks_core_service.h109 int32_t (*handler)(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet, member
115 int32_t (*handler)(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet, member
121 int32_t (*handler)(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet, member
127 …int32_t (*handler)(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet, uint32_t… member
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_slot_service.cpp72 ffrt::task_handle handler = notificationSvrQueue_->submit_h(std::bind([&]() { in AddSlots() local
111 ffrt::task_handle handler = notificationSvrQueue_->submit_h(std::bind([&]() { in GetSlots() local
149 ffrt::task_handle handler = notificationSvrQueue_->submit_h(std::bind([&]() { in GetSlotsByBundle() local
189 ffrt::task_handle handler = notificationSvrQueue_->submit_h(std::bind([&]() { in GetSlotByBundle() local
226 ffrt::task_handle handler = notificationSvrQueue_->submit_h(std::bind([&]() { in UpdateSlots() local
257 ffrt::task_handle handler = notificationSvrQueue_->submit_h(std::bind([&]() { in RemoveAllSlots() local
308 ffrt::task_handle handler = notificationSvrQueue_->submit_h(std::bind([&]() { in AddSlotByType() local
346 ffrt::task_handle handler = notificationSvrQueue_->submit_h(std::bind([&]() { in GetEnabledForBundleSlotSelf() local
391 ffrt::task_handle handler = notificationSvrQueue_->submit_h(std::bind([&]() { in GetSlotFlagsAsBundle() local
434 ffrt::task_handle handler = notificationSvrQueue_->submit_h( in SetSlotFlagsAsBundle() local
[all …]
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dnapi_native_media_player.cpp242 NapiNativeMediaPlayerHandlerImpl* handler = nullptr; in HandleStatusChanged() local
280 NapiNativeMediaPlayerHandlerImpl* handler = nullptr; in HandleVolumeChanged() local
312 NapiNativeMediaPlayerHandlerImpl* handler = nullptr; in HandleMutedChanged() local
350 NapiNativeMediaPlayerHandlerImpl* handler = nullptr; in HandlePlaybackRateChanged() local
388 NapiNativeMediaPlayerHandlerImpl* handler = nullptr; in HandleDurationChanged() local
424 NapiNativeMediaPlayerHandlerImpl* handler = nullptr; in HandleTimeUpdate() local
462 NapiNativeMediaPlayerHandlerImpl* handler = nullptr; in HandleBufferedEndTimeChanged() local
480 NapiNativeMediaPlayerHandlerImpl* handler = nullptr; in HandleEnded() local
518 NapiNativeMediaPlayerHandlerImpl* handler = nullptr; in HandleNetworkStateChanged() local
557 NapiNativeMediaPlayerHandlerImpl* handler = nullptr; in HandleReadyStateChanged() local
[all …]
/base/update/updater/utils/include/
Dupdater_event.h30 static void Subscribe(enum EventId id, EventHandler handler) in Subscribe()
38 for (const auto &handler : eventMap_[id]) { in Invoke() local
/base/useriam/face_auth/test/unittest/
Dstate_machine_test.cpp80 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
93 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
109 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
122 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
134 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
146 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
167 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
201 auto handler = MockThreadHandler::InvokeDirectly(); variable
239 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
263 auto handler = ThreadHandler::GetSingleThreadInstance(); variable
[all …]
/base/telephony/core_service/services/satellite_service_interaction/src/
Dsatellite_service_client.cpp135 …atelliteServiceClient::AddSimHandler(int32_t slotId, const std::shared_ptr<TelEventHandler> &handl… in AddSimHandler()
147 …liteServiceClient::AddNetworkHandler(int32_t slotId, const std::shared_ptr<TelEventHandler> &handl… in AddNetworkHandler()
162 auto handler = static_cast<SimStateHandle *>(pair.second.get()); in ServiceOn() local
170 auto handler = static_cast<NetworkSearchHandler *>(pair.second.get()); in ServiceOn() local
185 auto handler = static_cast<SimStateHandle *>(pair.second.get()); in ServiceOff() local
193 auto handler = static_cast<NetworkSearchHandler *>(pair.second.get()); in ServiceOff() local
/base/telephony/core_service/services/tel_ril/src/
Dobserver_handler.cpp26 void ObserverHandler::RegObserver(int32_t what, const std::shared_ptr<AppExecFwk::EventHandler> han… in RegObserver()
57 void ObserverHandler::Remove(int32_t what, const std::shared_ptr<AppExecFwk::EventHandler> handler) in Remove()
85 for (auto handler : iter->second) { in NotifyObserver() local
/base/msdp/device_status/frameworks/js/napi/src/
Ddevicestatus_event.cpp49 bool DeviceStatusEvent::On(int32_t eventType, napi_value handler, bool isOnce) in On()
75 bool DeviceStatusEvent::SaveCallbackByEvent(int32_t eventType, napi_value handler, bool isOnce, in SaveCallbackByEvent()
104 napi_value handler, int32_t eventType) in IsNoExistCallback()
140 bool DeviceStatusEvent::Off(int32_t eventType, napi_value handler) in Off()
178 bool DeviceStatusEvent::OffOnce(int32_t eventType, napi_value handler) in OffOnce()
222 napi_value handler = nullptr; in CheckRet() local
291 for (auto handler : typeHandler->second) { in OnEvent() local

123456789