Home
last modified time | relevance | path

Searched refs:runner (Results 1 – 25 of 170) sorted by relevance

1234567

/base/notification/eventhandler/test/systemtest/ems_event_runner_system_test/
Dems_event_runner_system_test.cpp236 auto runner = EventRunner::Create(true); variable
237 auto handler = std::make_shared<EventHandler>(runner);
242 runner->SetLogger(logtest);
255 auto runner = EventRunner::Create(true); variable
256 auto handler = std::make_shared<EventHandler>(runner);
260 runner->SetLogger(logtest);
273 auto runner = EventRunner::Create(true); variable
274 auto handler = std::make_shared<EventHandler>(runner);
278 runner->SetLogger(logtest);
291 auto runner = EventRunner::Create(true); variable
[all …]
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
Dlib_event_handler_event_runner_test.cpp161 auto runner = EventRunner::Create(false); variable
162 auto handler = std::make_shared<EventHandler>(runner);
163 auto f = [&runner]() { runner->Stop(); }; in __anon1fbc2ed60302()
171 result = runner->Run();
228 auto runner = EventRunner::Create(false); variable
229 auto handler = std::make_shared<EventHandler>(runner);
230 auto mainTask = [&runner]() { runner->Stop(); }; in __anon1fbc2ed60402()
236 auto f = [&runner]() { in __anon1fbc2ed60502()
238 auto runResult = runner->Run(); in __anon1fbc2ed60502()
244 runner->Run();
[all …]
Dlib_event_handler_checker_test.cpp80 auto runner = EventRunner::Create(true); variable
81 auto handler = std::make_shared<EventHandler>(runner);
104 runner->SetDeliveryTimeout(deliveryTimeout);
105 runner->SetDistributeTimeout(distributeTimeout);
132 auto runner = EventRunner::Create(true); variable
133 auto handler = std::make_shared<EventHandler>(runner);
156 runner->SetDeliveryTimeout(deliveryTimeout);
157 runner->SetDistributeTimeout(distributeTimeout);
183 auto runner = EventRunner::Create(true); variable
184 auto handler = std::make_shared<EventHandler>(runner);
[all …]
Dlib_event_handler_trace_test.cpp37 …xplicit FirstTestEventHandler(const std::shared_ptr<EventRunner>& runner) : EventHandler(runner) {} in FirstTestEventHandler() argument
77 …plicit SecondTestEventHandler(const std::shared_ptr<EventRunner>& runner) : EventHandler(runner) {} in SecondTestEventHandler() argument
90 …xplicit ThirdTestEventHandler(const std::shared_ptr<EventRunner>& runner) : EventHandler(runner) {} in ThirdTestEventHandler() argument
123 auto runner = EventRunner::Create(true); in TraceFlagTest() local
124 auto handler = std::make_shared<FirstTestEventHandler>(runner); in TraceFlagTest()
233 auto runner = EventRunner::Create(true); variable
234 auto handler = std::make_shared<EventHandler>(runner);
264 auto runner = EventRunner::Create(true); variable
265 auto handler = std::make_shared<EventHandler>(runner);
476 auto runner = EventRunner::Create(false); variable
[all …]
Dlib_event_handler_event_queue_test.cpp330 explicit MyEventHandler(const std::shared_ptr<EventRunner> &runner) : EventHandler(runner) in MyEventHandler() argument
756 auto runner = EventRunner::Create(true); variable
757 auto handler = std::make_shared<EventHandler>(runner);
784 auto runner = EventRunner::Create(true); variable
785 auto handler = std::make_shared<MyEventHandler>(runner);
811 auto runner = EventRunner::Create(true); variable
812 auto handler = std::make_shared<MyEventHandler>(runner);
842 auto runner = EventRunner::Create(true); variable
843 auto handler = std::make_shared<EventHandler>(runner);
869 auto runner = EventRunner::Create(false); variable
[all …]
/base/notification/eventhandler/test/systemtest/ems_event_handler_system_test/
Dems_event_handler_test.cpp168 explicit MyEventHandler(const std::shared_ptr<EventRunner> &runner) : EventHandler(runner) in MyEventHandler() argument
210 explicit TestEventHandler(const std::shared_ptr<EventRunner> &runner) : EventHandler(runner) in TestEventHandler() argument
247 auto runner = EventRunner::Create(true); in ProcessEventTest() local
248 auto handler = std::make_shared<TestEventHandler>(runner); in ProcessEventTest()
273 auto runner = EventRunner::Create(true); variable
274 auto handler = std::make_shared<EventHandler>(runner);
288 auto runner = EventRunner::Create(true); variable
289 auto handler = std::make_shared<EventHandler>(runner);
303 auto runner = EventRunner::Create(true); variable
304 auto handler = std::make_shared<EventHandler>(runner);
[all …]
/base/notification/eventhandler/test/fuzztest/eventrunner_fuzzer/
Deventrunner_fuzzer.cpp52 auto runner = AppExecFwk::EventRunner::Create(true); in DoSomethingInterestingWithMyAPI() local
53 runner->Dump(dumper); in DoSomethingInterestingWithMyAPI()
54 runner->DumpRunnerInfo(stringData); in DoSomethingInterestingWithMyAPI()
55 runner->SetLogger(logger); in DoSomethingInterestingWithMyAPI()
56 runner->GetCurrentEventQueue(); in DoSomethingInterestingWithMyAPI()
57 runner->GetThreadId(); in DoSomethingInterestingWithMyAPI()
58 runner->IsCurrentRunnerThread(); in DoSomethingInterestingWithMyAPI()
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/
Dhandler_checker_test.cpp30 explicit TestEventHandler(const std::shared_ptr<EventRunner> &runner) in TestEventHandler() argument
31 : EventHandler(runner) {}; in TestEventHandler()
71 auto runner = EventRunner::Create(true); variable
72 auto handler = std::make_shared<TestEventHandler>(runner);
98 auto runner = EventRunner::Create(true); variable
99 auto handler = std::make_shared<TestEventHandler>(runner);
131 auto runner = EventRunner::Create(true); variable
132 auto handler = std::make_shared<TestEventHandler>(runner);
Dwatchdog_interface_test.cpp31 explicit TestEventHandler(const std::shared_ptr<EventRunner> &runner) in TestEventHandler() argument
32 : EventHandler(runner) {}; in TestEventHandler()
63 auto runner = EventRunner::Create("test_thread"); in DoAddWatchThread() local
64 auto handler = std::make_shared<TestEventHandler>(runner); in DoAddWatchThread()
97 auto runner = EventRunner::Create("test_thread"); variable
98 auto handler = std::make_shared<TestEventHandler>(runner);
124 auto runner = EventRunner::Create(true); variable
125 auto handler = std::make_shared<TestEventHandler>(runner);
164 auto runner = EventRunner::Create(true); variable
165 auto handler = std::make_shared<TestEventHandler>(runner);
/base/notification/eventhandler/test/systemtest/ems_dumper_system_test/
Dems_dumper_system_test.cpp187 auto runner = EventRunner::Create(true); variable
188 auto handler = std::make_shared<EventHandler>(runner);
204 auto runner = EventRunner::Create(true); variable
205 auto handler = std::make_shared<EventHandler>(runner);
222 auto runner = EventRunner::Create(true); variable
223 auto handler = std::make_shared<EventHandler>(runner);
240 auto runner = EventRunner::Create(true); variable
241 auto handler = std::make_shared<EventHandler>(runner);
258 auto runner = EventRunner::Create(true); variable
259 auto handler = std::make_shared<EventHandler>(runner);
/base/notification/eventhandler/test/systemtest/ems_event_queue_system_test/
Dems_event_queue_system_test.cpp77 auto runner = EventRunner::Create(true); variable
78 auto handler = std::make_shared<EventHandler>(runner);
98 auto runner = EventRunner::Create(true); variable
99 auto handler = std::make_shared<EventHandler>(runner);
126 auto runner = EventRunner::Create(true); variable
127 auto handler = std::make_shared<EventHandler>(runner);
/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_event_handler.cpp25 …ventHandler::SensorEventHandler(const std::shared_ptr<EventRunner> &runner):EventHandler(runner) {} in SensorEventHandler() argument
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/
Dmy_event_handler.cpp27 MyEventHandler::MyEventHandler(const std::shared_ptr<EventRunner> &runner):EventHandler(runner) {} in MyEventHandler() argument
/base/telephony/cellular_data/test/
Dzero_branch_test.cpp53 …t DemoHandler(std::shared_ptr<AppExecFwk::EventRunner> &runner) : AppExecFwk::EventHandler(runner)… in DemoHandler() argument
80 std::shared_ptr<AppExecFwk::EventRunner> runner = AppExecFwk::EventRunner::Create("test"); variable
84 CellularDataHandler cellularDataHandler { runner, subscriberInfo, 0 };
130 std::shared_ptr<AppExecFwk::EventRunner> runner = AppExecFwk::EventRunner::Create("test"); variable
134 CellularDataHandler cellularDataHandler { runner, subscriberInfo, 0 };
171 std::shared_ptr<AppExecFwk::EventRunner> runner = AppExecFwk::EventRunner::Create("test"); variable
175 CellularDataHandler cellularDataHandler { runner, subscriberInfo, INVALID_SLOTID };
184 …cellularDataHandler.connectionManager_ = std::make_unique<DataConnectionManager>(runner, INVALID_S…
194 …cellularDataHandler.connectionManager_ = std::make_unique<DataConnectionManager>(runner, INVALID_S…
242 std::shared_ptr<AppExecFwk::EventRunner> runner = AppExecFwk::EventRunner::Create("test"); variable
[all …]
/base/usb/usb_manager/services/native/src/
Dusb_server_event_handler.cpp21 UsbServerEventHandler::UsbServerEventHandler(const std::shared_ptr<AppExecFwk::EventRunner> &runner, in UsbServerEventHandler() argument
23 : AppExecFwk::EventHandler(runner), service_(service) in UsbServerEventHandler()
/base/telephony/core_service/services/sim/src/
Dsim_state_tracker.cpp23 SimStateTracker::SimStateTracker(const std::shared_ptr<AppExecFwk::EventRunner> &runner, in SimStateTracker() argument
26 …: AppExecFwk::EventHandler(runner), simFileManager_(simFileManager), operatorConfigCache_(operator… in SimStateTracker()
29 if (runner != nullptr) { in SimStateTracker()
30 runner->Run(); in SimStateTracker()
Disim_file_controller.cpp20 IsimFileController::IsimFileController(const std::shared_ptr<AppExecFwk::EventRunner> &runner, int … in IsimFileController() argument
21 : IccFileController(runner, slotId) in IsimFileController()
/base/notification/distributed_notification_service/frameworks/core/common/src/
Dans_watchdog.cpp23 std::shared_ptr<AppExecFwk::EventRunner> runner) in AddHandlerThread() argument
25 if (handler != nullptr && runner != nullptr) { in AddHandlerThread()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/
Dapp_event_handler.cpp25 AppEventHandler::AppEventHandler(const std::shared_ptr<AppExecFwk::EventRunner>& runner) in AppEventHandler() argument
26 : AppExecFwk::EventHandler(runner) in AppEventHandler()
/base/notification/common_event_service/services/src/
Dordered_event_handler.cpp23 …const std::shared_ptr<EventRunner> &runner, const std::shared_ptr<CommonEventControlManager> &cont… in OrderedEventHandler() argument
24 : EventHandler(runner), controlManager_(controlManager) in OrderedEventHandler()
/base/powermgr/thermal_manager/services/native/src/
Dthermalsrv_event_handler.cpp23 …rmalsrvEventHandler::ThermalsrvEventHandler(const std::shared_ptr<AppExecFwk::EventRunner> &runner, in ThermalsrvEventHandler() argument
24 const wptr<ThermalService> &service) : AppExecFwk::EventHandler(runner), service_(service) in ThermalsrvEventHandler()
/base/notification/eventhandler/frameworks/test/moduletest/
Devent_handler_test_common.cpp24 MyEventHandler::MyEventHandler(const std::shared_ptr<EventRunner> &runner) : EventHandler(runner) in MyEventHandler() argument
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_shutdown.cpp145 auto runner = g_service->GetEventRunner(); in DelayShutdown() local
146 if (runner == nullptr) { in DelayShutdown()
152 runner->Stop(); in DelayShutdown()
162 auto runResult = runner->Stop(); in DelayShutdown()
171 runner->Run(); in DelayShutdown()
/base/powermgr/battery_manager/services/native/src/
Dbattery_service_event_handler.cpp22 …iceEventHandler::BatteryServiceEventHandler(const std::shared_ptr<AppExecFwk::EventRunner>& runner, in BatteryServiceEventHandler() argument
24 : AppExecFwk::EventHandler(runner), service_(service) in BatteryServiceEventHandler()
/base/hiviewdfx/hidumper/services/native/src/
Ddump_event_handler.cpp24 DumpEventHandler::DumpEventHandler(const std::shared_ptr<AppExecFwk::EventRunner>& runner, in DumpEventHandler() argument
26 : AppExecFwk::EventHandler(runner), service_(service) in DumpEventHandler()

1234567