/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()
|
H A D | vsync_receiver.cpp | 209 std::unordered_map<std::string, std::string> mapPayload;
in ThreadCreateNotify() local 210 mapPayload["pid"] = std::to_string(pid);
in ThreadCreateNotify() 211 mapPayload["uid"] = std::to_string(uid);
in ThreadCreateNotify() 212 mapPayload["tid"] = std::to_string(tid);
in ThreadCreateNotify() 214 ResourceSchedule::ResType::RES_TYPE_REPORT_VSYNC_TID, tid, mapPayload);
in ThreadCreateNotify()
|
/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() 40 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) { in ReportData() 57 const std::unordered_map<pid_t, uint32_t>& mapPayload) in QueryDeadline() 63 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) { in QueryDeadline() 70 void 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() 31 ReportData(uint32_t resType, int64_t value, const std::unordered_map<std::string, std::string>& mapPayload) ReportData() argument 56 QueryDeadline(int queryItem, DeadlineReply& ddlReply, const std::unordered_map<pid_t, uint32_t>& mapPayload) QueryDeadline() argument 83 QueryDeadline(int queryItem, DeadlineReply& ddlReply, const std::unordered_map<std::string, std::string>& mapPayload) QueryDeadline() argument [all...] |
/foundation/window/window_manager/wm/include/ |
H A D | ressched_report.h | 73 std::unordered_map<std::string, std::string> mapPayload; in TrigClick() local 75 OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(PERF_CLICK_NORMAL_CODE, 2, mapPayload); in TrigClick() 82 std::unordered_map<std::string, std::string> mapPayload; in AnimationBoost() local 83 OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(PERF_ANIMATION_BOOST_CODE, 0, mapPayload); in AnimationBoost() 138 std::unordered_map<std::string, std::string> mapPayload; in StatusBarDrag() 140 1, mapPayload); in StatusBarDrag() 148 std::unordered_map<std::string, std::string> mapPayload; in StatusBarDrag() local 150 0, mapPayload); in StatusBarDrag() 153 std::unordered_map<std::string, std::string> mapPayload; in StatusBarDrag() local 155 0, mapPayload); in StatusBarDrag() 169 std::unordered_map<std::string, std::string> mapPayload; Slide() local 174 std::unordered_map<std::string, std::string> mapPayload; Slide() local 186 std::unordered_map<std::string, std::string> mapPayload; RequestPerf() local 195 std::unordered_map<std::string, std::string> mapPayload; ClosePerf() local [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audioschedule/ |
H A D | audio_schedule.cpp | 52 std::unordered_map<std::string, std::string> &mapPayload)
in ConfigPayload() 58 mapPayload["pid"] = strPid;
in ConfigPayload() 59 mapPayload[strTid] = strQos;
in ConfigPayload() 60 mapPayload["bundleName"] = strBundleName;
in ConfigPayload() 69 std::unordered_map<std::string, std::string> mapPayload;
in ScheduleReportData() local 70 ConfigPayload(pid, tid, bundleName, AUDIO_QOS_LEVEL, mapPayload);
in ScheduleReportData() 71 OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(g_type, g_value, mapPayload);
in ScheduleReportData() 79 std::unordered_map<std::string, std::string> mapPayload;
in UnscheduleReportData() local 80 ConfigPayload(pid, tid, bundleName, DEFAULT_QOS_LEVEL, mapPayload);
in UnscheduleReportData() 81 OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(g_type, g_value, mapPayload);
in UnscheduleReportData() 51 ConfigPayload(uint32_t pid, uint32_t tid, const char *bundleName, int32_t qosLevel, std::unordered_map<std::string, std::string> &mapPayload) ConfigPayload() argument [all...] |
/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 OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(DEFAULT_TYPE, DEFAULT_VALUE, mapPayload);
in RequestTest() [all...] |
/foundation/resourceschedule/qos_manager/interfaces/inner_api/ |
H A D | concurrent_task_client.h | 46 * @param mapPayload Indicates the context info of the scene data. 48 void ReportData(uint32_t resType, int64_t value, const std::unordered_map<std::string, std::string>& mapPayload); 63 * @param mapPayload Indicates the context info of the frame rate data. 66 const std::unordered_map<pid_t, uint32_t>& mapPayload); 73 * @param mapPayload Indicates the context info of game. 76 const std::unordered_map<std::string, std::string>& mapPayload); 81 * @param mapPayload Indicates the context info of the auth request data. 83 void RequestAuth(const std::unordered_map<std::string, std::string>& mapPayload);
|
/foundation/resourceschedule/resource_schedule_service/ressched/test/unittest/src/ |
H A D | res_sched_client_test.cpp | 116 std::unordered_map<std::string, std::string> mapPayload;
in HWTEST_F() local 117 mapPayload["pid"] = "65535";
in HWTEST_F() 118 mapPayload["processName"] = "test";
in HWTEST_F() 120 ResSchedClient::GetInstance().KillProcess(mapPayload);
in HWTEST_F() 136 std::unordered_map<std::string, std::string> mapPayload;
in HWTEST_F() local 137 ResSchedClient::GetInstance().KillProcess(mapPayload);
in HWTEST_F() 140 mapPayload["pid"] = "TEST";
in HWTEST_F() 141 ResSchedClient::GetInstance().KillProcess(mapPayload);
in HWTEST_F() 144 mapPayload["pid"] = "65535";
in HWTEST_F() 145 mapPayload["processNam in HWTEST_F() [all...] |
/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()
|
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/src/ |
H A D | res_sched_client.cpp | 54 const std::unordered_map<std::string, std::string>& mapPayload)
in ReportData() 62 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) {
in ReportData() 106 int32_t ResSchedClient::KillProcess(const std::unordered_map<std::string, std::string>& mapPayload)
in KillProcess() argument 110 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) {
in KillProcess() 573 const std::unordered_map<std::string, std::string>& mapPayload)
in ReportData() 575 ResSchedClient::GetInstance().ReportData(resType, value, mapPayload);
in ReportData() 578 extern "C" void KillProcess(const std::unordered_map<std::string, std::string>& mapPayload)
in KillProcess() argument 580 ResSchedClient::GetInstance().KillProcess(mapPayload);
in KillProcess() 53 ReportData(uint32_t resType, int64_t value, const std::unordered_map<std::string, std::string>& mapPayload) ReportData() argument 572 ReportData(uint32_t resType, int64_t value, const std::unordered_map<std::string, std::string>& mapPayload) ReportData() argument [all...] |
/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()
|
/foundation/resourceschedule/resource_schedule_service/ressched/test/fuzztest/ressched_fuzzer/ |
H A D | ressched_fuzzer.cpp | 303 std::unordered_map<std::string, std::string> mapPayload; in ResSchedClientFuzzTest() local 304 mapPayload["pid"] = GetStringFromData(int(size) - sizeof(uint32_t) - sizeof(int64_t)); in ResSchedClientFuzzTest() 305 mapPayload["processName"] = GetStringFromData(int(size) - sizeof(std::string) - in ResSchedClientFuzzTest() 308 ResSchedClient::GetInstance().ReportData(resType, value, mapPayload); in ResSchedClientFuzzTest() 309 ResSchedClient::GetInstance().KillProcess(mapPayload); in ResSchedClientFuzzTest() 508 auto mapPayload = GetPayload(resType); in ResSchedThirdPartyFuzzTest() local 509 ResSchedClient::GetInstance().ReportData(resType, value, mapPayload); in ResSchedThirdPartyFuzzTest()
|
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/include/ |
H A D | res_sched_client.h | 66 * @param mapPayload Indicates the context info of the resource type event.
68 void ReportData(uint32_t resType, int64_t value, const std::unordered_map<std::string, std::string>& mapPayload);
84 * @param mapPayload Indicates the context info of the kill message.
86 int32_t KillProcess(const std::unordered_map<std::string, std::string>& mapPayload);
|
/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; in HWTEST_F() local
|
/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()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_windows_manager.cpp | 3253 std::unordered_map<std::string, std::string> mapPayload; in UpdateDisplayInfo() local 3254 mapPayload["msg"] = ""; in UpdateDisplayInfo() 3257 OHOS::ResourceSchedule::ResType::RES_TYPE_ANCO_CUST, touchDownBoost, mapPayload); in UpdateDisplayInfo() 3260 std::unordered_map<std::string, std::string> mapPayload; in UpdateDisplayInfo() local 3261 mapPayload["msg"] = ""; in UpdateDisplayInfo() 3263 OHOS::ResourceSchedule::ResType::RES_TYPE_ANCO_CUST, touchUpBoost, mapPayload); in UpdateDisplayInfo()
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_session_manager.cpp | 2823 std::unordered_map<std::string, std::string> mapPayload; in OnReportData() local 2824 if (!ConvertStringMapFromJs(env, argv[ARG_INDEX_TWO], mapPayload)) { in OnReportData() 2830 mapPayload["srcPid"] = std::to_string(getprocpid()); in OnReportData() 2832 std::string reclaimTag = mapPayload[RES_PARAM_RECLAIM_TAG]; in OnReportData() 2841 OHOS::ResourceSchedule::ResSchedClient::GetInstance().ReportData(resType, value, mapPayload); in OnReportData()
|