/ohos5.0/foundation/window/window_manager/wm/include/ |
H A D | ressched_report.h | 73 std::unordered_map<std::string, std::string> mapPayload; in TrigClick() local 82 std::unordered_map<std::string, std::string> mapPayload; in AnimationBoost() local 139 std::unordered_map<std::string, std::string> mapPayload; in StatusBarDrag() local 141 1, mapPayload); in StatusBarDrag() 149 std::unordered_map<std::string, std::string> mapPayload; in StatusBarDrag() local 151 0, mapPayload); in StatusBarDrag() 154 std::unordered_map<std::string, std::string> mapPayload; in StatusBarDrag() local 156 0, mapPayload); in StatusBarDrag() 172 SlideEventStatus::SLIDE_EVENT_ON, mapPayload); in Slide() 177 SlideEventStatus::SLIDE_EVENT_OFF, mapPayload); in Slide() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/src/ |
H A D | vsync_system_ability_listener.cpp | 35 std::unordered_map<std::string, std::string> mapPayload; in OnAddSystemAbility() local 37 mapPayload["uid"] = uid_; in OnAddSystemAbility() 38 mapPayload["pid"] = pid_; in OnAddSystemAbility() 39 mapPayload["tid"] = tid_; in OnAddSystemAbility() 40 mapPayload["threadName"] = threadName_; in OnAddSystemAbility() 41 mapPayload["extType"] = threadName_ == "RSMainThread" ? "10003" : "10002"; in OnAddSystemAbility() 42 mapPayload["isSa"] = "1"; in OnAddSystemAbility() 43 mapPayload["cgroupPrio"] = "1"; in OnAddSystemAbility() 45 ResourceSchedule::ResType::RES_TYPE_KEY_PERF_SCENE, userInteraction, mapPayload); in OnAddSystemAbility()
|
/ohos5.0/foundation/resourceschedule/qos_manager/frameworks/concurrent_task_client/src/ |
H A D | concurrent_task_client.cpp | 32 … const std::unordered_map<std::string, std::string>& mapPayload) in ReportData() argument 40 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) { in ReportData() 57 const std::unordered_map<pid_t, uint32_t>& mapPayload) in QueryDeadline() argument 63 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) { in QueryDeadline() 70 …d ConcurrentTaskClient::RequestAuth(const std::unordered_map<std::string, std::string>& mapPayload) in RequestAuth() argument 76 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) { in RequestAuth() 84 … const std::unordered_map<std::string, std::string>& mapPayload) in QueryDeadline() argument 90 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) { in QueryDeadline()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/test/testutil/ |
H A D | ressched_test.cpp | 89 std::unordered_map<std::string, std::string> mapPayload; in KillProcess() local 90 mapPayload["pid"] = argv[PARAMETERS_NUM_MIN_KILL_PROCESS - 1]; in KillProcess() 92 mapPayload["processName"] = argv[PARAMETERS_NUM_KILL_PROCESS_PROCESSNAME - 1]; in KillProcess() 94 int32_t res = OHOS::ResourceSchedule::ResSchedClient::GetInstance().KillProcess(mapPayload); in KillProcess() 108 std::unordered_map<std::string, std::string> mapPayload; in ReportData() local 109 mapPayload["uid"] = uid; in ReportData() 110 mapPayload["pid"] = pid; in ReportData() 111 OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(resType, value, mapPayload); in ReportData() 124 std::unordered_map<std::string, std::string> mapPayload; in RequestTest() local 129 …esourceSchedule::ResSchedClient::GetInstance().ReportData(DEFAULT_TYPE, DEFAULT_VALUE, mapPayload); in RequestTest()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioschedule/ |
H A D | audio_schedule.cpp | 49 std::unordered_map<std::string, std::string> &mapPayload) in ConfigPayload() argument 55 mapPayload["pid"] = strPid; in ConfigPayload() 56 mapPayload[strTid] = strQos; in ConfigPayload() 57 mapPayload["bundleName"] = strBundleName; in ConfigPayload() 66 std::unordered_map<std::string, std::string> mapPayload; in ScheduleReportData() local 67 ConfigPayload(pid, tid, bundleName, AUDIO_QOS_LEVEL, mapPayload); in ScheduleReportData() 68 OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(g_type, g_value, mapPayload); in ScheduleReportData() 76 std::unordered_map<std::string, std::string> mapPayload; in UnscheduleReportData() local 77 ConfigPayload(pid, tid, bundleName, DEFAULT_QOS_LEVEL, mapPayload); in UnscheduleReportData() 78 OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(g_type, g_value, mapPayload); in UnscheduleReportData()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/test/unittest/src/ |
H A D | res_sched_client_test.cpp | 115 std::unordered_map<std::string, std::string> mapPayload; variable 116 mapPayload["pid"] = "65535"; 117 mapPayload["processName"] = "test"; 135 std::unordered_map<std::string, std::string> mapPayload; variable 136 ResSchedClient::GetInstance().KillProcess(mapPayload); 139 mapPayload["pid"] = "TEST"; 140 ResSchedClient::GetInstance().KillProcess(mapPayload); 143 mapPayload["pid"] = "65535"; 144 mapPayload["processName"] = "test"; 145 ResSchedClient::GetInstance().KillProcess(mapPayload); [all …]
|
/ohos5.0/base/web/webview/ohos_adapter/res_sched_adapter/src/ |
H A D | res_sched_client_adapter_impl.cpp | 184 std::unordered_map<std::string, std::string> mapPayload { { UID, GetUidString() }, in ReportSceneInternal() local 186 …ResSchedClient::GetInstance().ReportData(ResType::RES_TYPE_REPORT_SCENE_SCHED, status, mapPayload); in ReportSceneInternal() 243 ResType::RES_TYPE_REPORT_WINDOW_STATE, ResType::ReportChangeStatus::CREATE, mapPayload); in ReportStatusData() 279 mapPayload["bundleName"] = GetBundleNameByUid(getuid()); in ReportKeyThread() 282 … ResSchedClient::GetInstance().ReportData(ResType::RES_TYPE_REPORT_KEY_THREAD, status, mapPayload); in ReportKeyThread() 313 std::unordered_map<std::string, std::string> mapPayload { { UID, std::to_string(uid) }, in ReportAudioData() local 317 ResSchedClient::GetInstance().ReportData(resType, status, mapPayload); in ReportAudioData() 454 std::unordered_map<std::string, std::string> mapPayload { { UID, std::to_string(uid) }, in ReportScreenCapture() local 458 ResSchedClient::GetInstance().ReportData(resType, status, mapPayload); in ReportScreenCapture() 473 std::unordered_map<std::string, std::string> mapPayload { { UID, std::to_string(uid) }, in ReportVideoPlaying() local [all …]
|
/ohos5.0/foundation/resourceschedule/qos_manager/interfaces/inner_api/ |
H A D | concurrent_task_client.h | 48 …a(uint32_t resType, int64_t value, const std::unordered_map<std::string, std::string>& mapPayload); 66 const std::unordered_map<pid_t, uint32_t>& mapPayload); 76 const std::unordered_map<std::string, std::string>& mapPayload); 83 void RequestAuth(const std::unordered_map<std::string, std::string>& mapPayload);
|
/ohos5.0/base/web/webview/ohos_adapter/soc_perf_adapter/src/ |
H A D | soc_perf_client_adapter_impl.cpp | 58 std::unordered_map<std::string, std::string> mapPayload; in ApplySocPerfConfigById() local 59 …S::ResourceSchedule::ResSchedClient::GetInstance().ReportData(resType, SOC_PERF_START, mapPayload); in ApplySocPerfConfigById() 71 std::unordered_map<std::string, std::string> mapPayload; in ApplySocPerfConfigByIdEx() local 73 OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(resType, value, mapPayload); in ApplySocPerfConfigByIdEx()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_frame_trace/src/ |
H A D | frame_rate_report.cpp | 49 std::unordered_map<std::string, std::string> mapPayload; in SendFrameRatesToRss() local 51 mapPayload[std::to_string(it->first)] = std::to_string(it->second); in SendFrameRatesToRss() 54 OHOS::ResourceSchedule::ResType::RES_TYPE_FRAME_RATE_REPORT, 0, mapPayload); in SendFrameRatesToRss()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/src/ |
H A D | res_sched_client.cpp | 52 const std::unordered_map<std::string, std::string>& mapPayload) in ReportData() argument 60 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) { in ReportData() 104 int32_t ResSchedClient::KillProcess(const std::unordered_map<std::string, std::string>& mapPayload) in KillProcess() argument 108 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) { in KillProcess() 570 const std::unordered_map<std::string, std::string>& mapPayload) in ReportData() argument 572 ResSchedClient::GetInstance().ReportData(resType, value, mapPayload); in ReportData() 575 extern "C" void KillProcess(const std::unordered_map<std::string, std::string>& mapPayload) in KillProcess() argument 577 ResSchedClient::GetInstance().KillProcess(mapPayload); in KillProcess()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/test/fuzztest/ressched_fuzzer/ |
H A D | ressched_fuzzer.cpp | 221 std::unordered_map<std::string, std::string> mapPayload; in ResSchedClientFuzzTest() local 222 mapPayload["pid"] = GetStringFromData(int(size) - sizeof(uint32_t) - sizeof(int64_t)); in ResSchedClientFuzzTest() 223 mapPayload["processName"] = GetStringFromData(int(size) - sizeof(std::string) - in ResSchedClientFuzzTest() 226 ResSchedClient::GetInstance().ReportData(resType, value, mapPayload); in ResSchedClientFuzzTest() 227 ResSchedClient::GetInstance().KillProcess(mapPayload); in ResSchedClientFuzzTest()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/ressched/src/ |
H A D | ressched_event_listener.cpp | 60 std::unordered_map<std::string, std::string> mapPayload; in ReportFrameToRSS() local 61 … OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(type, value, mapPayload); in ReportFrameToRSS()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/include/ |
H A D | res_sched_client.h | 68 …a(uint32_t resType, int64_t value, const std::unordered_map<std::string, std::string>& mapPayload); 86 int32_t KillProcess(const std::unordered_map<std::string, std::string>& mapPayload);
|
/ohos5.0/foundation/resourceschedule/qos_manager/test/fuzztest/concurrent_fuzzer/ |
H A D | concurrent_fuzzer.cpp | 586 std::unordered_map<pid_t, uint32_t> mapPayload; in FuzzConcurrentTaskClientQueryDeadline() local 587 mapPayload.insert(std::pair<pid_t, uint32_t>(pid, qos)); in FuzzConcurrentTaskClientQueryDeadline() 588 ConcurrentTaskClient::GetInstance().QueryDeadline(queryItem, ddlReply, mapPayload); in FuzzConcurrentTaskClientQueryDeadline() 600 std::unordered_map<std::string, std::string> mapPayload; in FuzzConcurrentTaskClinetRequestAuth() local 601 mapPayload["2182"] = std::to_string(GetData<int32_t>()); in FuzzConcurrentTaskClinetRequestAuth() 602 ConcurrentTaskClient::GetInstance().RequestAuth(mapPayload); in FuzzConcurrentTaskClinetRequestAuth()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched_executor/test/unittest/ |
H A D | res_sched_exe_client_test.cpp | 138 std::unordered_map<std::string, std::string> mapPayload; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/transaction/ |
H A D | rs_render_service_connection_stub.cpp | 283 std::unordered_map<std::string, std::string> mapPayload; in SetQos() local 284 mapPayload["pid"] = strPid; in SetQos() 285 mapPayload[strTid] = strQos; in SetQos() 286 mapPayload["bundleName"] = strBundleName; in SetQos() 288 OHOS::ResourceSchedule::ResType::RES_TYPE_THREAD_QOS_CHANGE, 0, mapPayload); in SetQos()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_thread.cpp | 168 … std::unordered_map<std::string, std::string> mapPayload = { { "bundleName", "render_service" }, in InitGrContext() local 172 schedClient.ReportData(ResType::RES_TYPE_THREAD_QOS_CHANGE, 0, mapPayload); in InitGrContext()
|
/ohos5.0/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | event_normalize_handler.cpp | 524 std::unordered_map<std::string, std::string> mapPayload; in ReportTouchDownToRSS() local 528 mapPayload); in ReportTouchDownToRSS()
|
/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_windows_manager.cpp | 3188 std::unordered_map<std::string, std::string> mapPayload; in UpdateDisplayInfo() local 3189 mapPayload["msg"] = ""; in UpdateDisplayInfo() 3192 … OHOS::ResourceSchedule::ResType::RES_TYPE_ANCO_CUST, touchDownBoost, mapPayload); in UpdateDisplayInfo() 3195 std::unordered_map<std::string, std::string> mapPayload; in UpdateDisplayInfo() local 3196 mapPayload["msg"] = ""; in UpdateDisplayInfo() 3198 OHOS::ResourceSchedule::ResType::RES_TYPE_ANCO_CUST, touchUpBoost, mapPayload); in UpdateDisplayInfo()
|
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_session_manager.cpp | 3015 std::unordered_map<std::string, std::string> mapPayload; in OnReportData() local 3016 if (!ConvertStringMapFromJs(env, argv[ARG_INDEX_TWO], mapPayload)) { in OnReportData() 3022 mapPayload["srcPid"] = std::to_string(getprocpid()); in OnReportData() 3024 std::string reclaimTag = mapPayload[RES_PARAM_RECLAIM_TAG]; in OnReportData() 3033 OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(resType, value, mapPayload); in OnReportData()
|