/base/notification/eventhandler/test/systemtest/ems_event_runner_system_test/ |
D | ems_event_runner_system_test.cpp | 236 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/ |
D | lib_event_handler_event_runner_test.cpp | 161 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 …]
|
D | lib_event_handler_checker_test.cpp | 80 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 …]
|
D | lib_event_handler_trace_test.cpp | 37 …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 …]
|
D | lib_event_handler_event_queue_test.cpp | 330 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/ |
D | ems_event_handler_test.cpp | 168 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/ |
D | eventrunner_fuzzer.cpp | 52 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/ |
D | handler_checker_test.cpp | 30 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);
|
D | watchdog_interface_test.cpp | 31 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/ |
D | ems_dumper_system_test.cpp | 187 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/ |
D | ems_event_queue_system_test.cpp | 77 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/ |
D | sensor_event_handler.cpp | 25 …ventHandler::SensorEventHandler(const std::shared_ptr<EventRunner> &runner):EventHandler(runner) {} in SensorEventHandler() argument
|
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/ |
D | my_event_handler.cpp | 27 MyEventHandler::MyEventHandler(const std::shared_ptr<EventRunner> &runner):EventHandler(runner) {} in MyEventHandler() argument
|
/base/telephony/cellular_data/test/ |
D | zero_branch_test.cpp | 53 …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/ |
D | usb_server_event_handler.cpp | 21 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/ |
D | sim_state_tracker.cpp | 23 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()
|
D | isim_file_controller.cpp | 20 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/ |
D | ans_watchdog.cpp | 23 std::shared_ptr<AppExecFwk::EventRunner> runner) in AddHandlerThread() argument 25 if (handler != nullptr && runner != nullptr) { in AddHandlerThread()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/ |
D | app_event_handler.cpp | 25 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/ |
D | ordered_event_handler.cpp | 23 …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/ |
D | thermalsrv_event_handler.cpp | 23 …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/ |
D | event_handler_test_common.cpp | 24 MyEventHandler::MyEventHandler(const std::shared_ptr<EventRunner> &runner) : EventHandler(runner) in MyEventHandler() argument
|
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/ |
D | action_shutdown.cpp | 145 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/ |
D | battery_service_event_handler.cpp | 22 …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/ |
D | dump_event_handler.cpp | 24 DumpEventHandler::DumpEventHandler(const std::shared_ptr<AppExecFwk::EventRunner>& runner, in DumpEventHandler() argument 26 : AppExecFwk::EventHandler(runner), service_(service) in DumpEventHandler()
|