Searched refs:CgroupEventHandler (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/sched_controller/ |
H A D | cgroup_event_handler.cpp | 55 CgroupEventHandler::CgroupEventHandler(const std::string &queueName) in CgroupEventHandler() function in OHOS::ResourceSchedule::CgroupEventHandler 64 CgroupEventHandler::~CgroupEventHandler() in ~CgroupEventHandler() 71 void CgroupEventHandler::ProcessEvent(uint32_t eventId, int64_t eventParam) in ProcessEvent() 190 void CgroupEventHandler::HandleApplicationStateChanged(uid_t uid, pid_t pid, in HandleApplicationStateChanged() 217 void CgroupEventHandler::HandleProcessStateChanged(uid_t uid, pid_t pid, in HandleProcessStateChanged() 400 void CgroupEventHandler::HandleContinuousTaskUpdate(uid_t uid, pid_t pid, in HandleContinuousTaskUpdate() 534 void CgroupEventHandler::HandleWindowVisibilityChanged( in HandleWindowVisibilityChanged() 572 void CgroupEventHandler::HandleDrawingContentChangeWindow( in HandleDrawingContentChangeWindow() 1095 bool CgroupEventHandler::ParseValue(int32_t& value, const char* name, in ParseValue() 1105 void CgroupEventHandler::PostTask(const std::function<void()> task) in PostTask() [all …]
|
H A D | sched_controller.cpp | 203 cgHandler_ = std::make_shared<CgroupEventHandler>(CG_HANDLER_QUEUE); in InitCgroupHandler() 220 { ResType::RES_TYPE_REPORT_MMI_PROCESS, [](std::shared_ptr<CgroupEventHandler> handler, in InitDispatchResFuncMap() 223 { ResType::RES_TYPE_REPORT_RENDER_THREAD, [](std::shared_ptr<CgroupEventHandler> handler, in InitDispatchResFuncMap() 226 { ResType::RES_TYPE_REPORT_KEY_THREAD, [](std::shared_ptr<CgroupEventHandler> handler, in InitDispatchResFuncMap() 229 { ResType::RES_TYPE_REPORT_WINDOW_STATE, [](std::shared_ptr<CgroupEventHandler> handler, in InitDispatchResFuncMap() 232 … { ResType::RES_TYPE_WEBVIEW_AUDIO_STATUS_CHANGE, [](std::shared_ptr<CgroupEventHandler> handler, in InitDispatchResFuncMap() 235 … { ResType::RES_TYPE_AUDIO_RENDER_STATE_CHANGE, [](std::shared_ptr<CgroupEventHandler> handler, in InitDispatchResFuncMap() 238 { ResType::RES_TYPE_RUNNINGLOCK_STATE, [](std::shared_ptr<CgroupEventHandler> handler, in InitDispatchResFuncMap() 241 { ResType::RES_TYPE_REPORT_SCENE_BOARD, [](std::shared_ptr<CgroupEventHandler> handler, in InitDispatchResFuncMap() 244 { ResType::RES_TYPE_WEBVIEW_SCREEN_CAPTURE, [](std::shared_ptr<CgroupEventHandler> handler, in InitDispatchResFuncMap() [all …]
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/test/fuzztest/cgroupsched_fuzzer/ |
H A D | cgroupsched_fuzzer.cpp | 292 std::make_shared<CgroupEventHandler>("CgroupEventHandler_fuzz"); in ProcessEventFuzzTest() 321 std::make_shared<CgroupEventHandler>("CgroupEventHandler_fuzz"); in HandleAbilityAddedFuzzTest() 352 std::make_shared<CgroupEventHandler>("CgroupEventHandler_fuzz"); in HandleAbilityRemovedFuzzTest() 389 std::make_shared<CgroupEventHandler>("CgroupEventHandler_fuzz"); in HandleProcessDiedFuzzTest() 415 std::make_shared<CgroupEventHandler>("CgroupEventHandler_fuzz"); in HandleTransientTaskStartFuzzTest() 440 std::make_shared<CgroupEventHandler>("CgroupEventHandler_fuzz"); in HandleTransientTaskEndFuzzTest() 466 std::make_shared<CgroupEventHandler>("CgroupEventHandler_fuzz"); in HandleContinuousTaskUpdateFuzzTest() 492 std::make_shared<CgroupEventHandler>("CgroupEventHandler_fuzz"); in HandleContinuousTaskCancelFuzzTest() 517 std::make_shared<CgroupEventHandler>("CgroupEventHandler_fuzz"); in HandleReportMMIProcessFuzzTest() 542 std::make_shared<CgroupEventHandler>("CgroupEventHandler_fuzz"); in HandleReportRenderThreadFuzzTest() [all …]
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/sched_controller/include/ |
H A D | sched_controller.h | 38 class CgroupEventHandler; variable 64 const inline std::shared_ptr<CgroupEventHandler> GetCgroupEventHandler() const in GetCgroupEventHandler() 83 std::shared_ptr<CgroupEventHandler> cgHandler_; 93 std::unordered_map<uint32_t, std::function<void(std::shared_ptr<CgroupEventHandler>,
|
H A D | cgroup_event_handler.h | 30 class CgroupEventHandler { 32 explicit CgroupEventHandler(const std::string &queueName); 33 ~CgroupEventHandler();
|