/base/hiviewdfx/hiview/base/test/unittest/common/ |
D | plugin_example.cpp | 36 auto looper = std::make_shared<EventLoop>("PluginExample"); in OnLoad() local 37 if (looper != nullptr) { in OnLoad() 38 looper->StartLoop(); in OnLoad() 39 BindWorkLoop(looper); in OnLoad()
|
/base/hiviewdfx/hiview/plugins/event_store/store/ |
D | sys_event_db_mgr.cpp | 38 void SysEventDbMgr::StartCheckStoreTask(std::shared_ptr<EventLoop> looper) in StartCheckStoreTask() argument 40 if (looper == nullptr) { in StartCheckStoreTask() 47 looper->AddTimerEvent(nullptr, nullptr, statusTask, delay, true); in StartCheckStoreTask()
|
/base/update/updateservice/services/startup/manage/include/ |
D | startup_schedule.h | 31 virtual void RegisterLooper(const ScheduleLooper &looper) = 0; 40 void RegisterLooper(const ScheduleLooper &looper) final;
|
/base/update/updateservice/services/startup/manage/src/ |
D | startup_schedule.cpp | 39 void StartupSchedule::RegisterLooper(const ScheduleLooper &looper) in RegisterLooper() argument 42 RegisterRepeatingAlarm(BusinessAlarmType::STARTUP, [=]() { looper(); }); in RegisterLooper()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/ |
D | sys_event_service_adapter.cpp | 77 void SysEventServiceAdapter::SetWorkLoop(std::shared_ptr<EventLoop> looper) in SetWorkLoop() argument 84 service->SetWorkLoop(looper); in SetWorkLoop()
|
D | sys_event_service_adapter.h | 29 static void SetWorkLoop(std::shared_ptr<EventLoop> looper);
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
D | faultlog_manager.h | 35 explicit FaultLogManager(std::shared_ptr<EventLoop> looper) : looper_(looper) {}; in FaultLogManager() argument
|
/base/hiviewdfx/hiview/plugins/event_store/include/ |
D | sys_event_db_mgr.h | 32 void StartCheckStoreTask(std::shared_ptr<EventLoop> looper);
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/ |
D | data_publisher.h | 47 void SetWorkLoop(std::shared_ptr<EventLoop> looper);
|
D | sys_event_service_ohos.h | 89 void SetWorkLoop(std::shared_ptr<EventLoop> looper);
|
/base/hiviewdfx/hiview/plugins/sysevent_source/ |
D | sysevent_source.cpp | 69 std::shared_ptr<EventLoop> looper = GetHiviewContext()->GetSharedWorkLoop(); in OnLoad() local 70 platformMonitor_.StartMonitor(looper); in OnLoad()
|
D | platform_monitor.cpp | 423 void PlatformMonitor::StartMonitor(std::shared_ptr<EventLoop> looper) in StartMonitor() argument 425 if (looper == nullptr) { in StartMonitor() 431 looper_ = looper; in StartMonitor()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
D | data_publisher.cpp | 218 void DataPublisher::SetWorkLoop(std::shared_ptr<EventLoop> looper) in SetWorkLoop() argument 220 if (looper == nullptr) { in SetWorkLoop() 224 looper_ = looper; in SetWorkLoop()
|
D | sys_event_service_ohos.cpp | 562 void SysEventServiceOhos::SetWorkLoop(std::shared_ptr<EventLoop> looper) in SetWorkLoop() argument 564 if (looper == nullptr) { in SetWorkLoop() 568 dataPublisher_->SetWorkLoop(looper); in SetWorkLoop()
|
/base/hiviewdfx/hiview/plugins/sysevent_source/include/ |
D | platform_monitor.h | 65 void StartMonitor(std::shared_ptr<EventLoop> looper);
|
/base/hiviewdfx/hiview/core/ |
D | hiview_platform.cpp | 716 auto looper = target->GetWorkLoop(); in UnloadPlugin() local 717 if (looper == nullptr) { in UnloadPlugin() 721 auto looperName = looper->GetName(); in UnloadPlugin() 723 if (looper.use_count() <= 3) { in UnloadPlugin() 724 HIVIEW_LOGI("%s has refs(%ld).", looperName.c_str(), looper.use_count()); in UnloadPlugin() 725 looper->StopLoop(); in UnloadPlugin()
|