/foundation/resourceschedule/frame_aware_sched/interfaces/innerkits/frameintf/ |
H A D | frame_msg_intf.cpp | 118 void FrameMsgIntf::ReportCgroupChange(const int pid, const int uid, const int oldGroup, const int newGroup) in ReportCgroupChange() argument 125 RME_LOGI("CgroupChanged pid is %{public}d, uid is %{public}d, oldGroup is %{public}d, newGroup is %{public}d", in ReportCgroupChange() 126 pid, uid, oldGroup, newGroup); in ReportCgroupChange() 127 taskQueue_->submit([pid, uid, oldGroup, newGroup] { in ReportCgroupChange() 128 IntelliSenseServer::GetInstance().ReportCgroupChange(pid, uid, oldGroup, newGroup); in ReportCgroupChange()
|
H A D | frame_msg_intf.h | 33 void ReportCgroupChange(const int pid, const int uid, const int oldGroup, const int newGroup);
|
/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_bundle_group_change_callback.cpp | 32 int32_t oldGroup = appGroupCallbackInfo.GetOldGroup(); in OnAppGroupChanged() local 41 if (newGroup < oldGroup) { in OnAppGroupChanged()
|
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/ |
H A D | app_group_callback_info.cpp | 21 AppGroupCallbackInfo::AppGroupCallbackInfo(int32_t userId, int32_t oldGroup, int32_t newGroup, in AppGroupCallbackInfo() argument 25 oldGroup_ = oldGroup; in AppGroupCallbackInfo()
|
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/ |
H A D | bundle_active_user_history.cpp | 203 int32_t oldGroup = oneBundleUsageHistory->currentGroup_; in ReportUsage() local 210 bool isGroupChanged = (oldGroup == oneBundleUsageHistory->currentGroup_) ? false : true; in ReportUsage() 213 userId, oldGroup, newGroup, oneBundleUsageHistory->reasonInGroup_, bundleName); in ReportUsage() 241 int32_t oldGroup = oneBundleHistory->currentGroup_; in SetAppGroup() local 250 bool isGroupChanged = (oldGroup == newGroup) ? true : false; in SetAppGroup() 253 userId, oldGroup, newGroup, oneBundleHistory->reasonInGroup_, bundleName); in SetAppGroup()
|
H A D | bundle_active_group_controller.cpp | 316 int32_t oldGroup = oneBundleHistory->currentGroup_; in CheckAndUpdateGroup() local 317 int32_t newGroup = std::max(oldGroup, ACTIVE_GROUP_ALIVE); in CheckAndUpdateGroup() 340 if (oldGroup < newGroup || notTimeout) { in CheckAndUpdateGroup()
|
/foundation/resourceschedule/device_usage_statistics/frameworks/src/ |
H A D | app_group_observer_napi.cpp | 52 // oldGroup in SetBundleGroupChangedData() 53 napi_create_int32(commonEventDataWorkerData->env, commonEventDataWorkerData->oldGroup, &value); in SetBundleGroupChangedData() 74 commonEventDataWorkerData->oldGroup, commonEventDataWorkerData->newGroup, commonEventDataWorkerData->userId, in SetBundleGroupChangedData() 158 callbackReceiveDataWorker->oldGroup = callBackInfo->GetOldGroup(); in OnAppGroupChanged()
|
/foundation/resourceschedule/device_usage_statistics/test/unittest/ |
H A D | device_usage_statistics_test.cpp | 385 int32_t oldGroup = 60; in HWTEST_F() local 389 std::make_shared<AppGroupCallbackInfo>(g_commonUserid, oldGroup, newGroup, changeReason, g_defaultBundleName); in HWTEST_F() 397 EXPECT_EQ(appGroupCallback->GetOldGroup(), oldGroup); in HWTEST_F() 526 int32_t oldGroup = 60; in HWTEST_F() local 529 AppGroupCallbackInfo appGroupCallbackInfo(g_commonUserid, oldGroup, newGroup, changeReason, g_defaultBundleName); in HWTEST_F() 544 int32_t oldGroup = 60; in HWTEST_F() local 547 AppGroupCallbackInfo appGroupCallbackInfo(g_commonUserid, oldGroup, newGroup, changeReason, g_defaultBundleName); in HWTEST_F()
|
H A D | device_usage_statistics_service_test.cpp | 219 int32_t oldGroup = 60; in HWTEST_F() local 221 AppGroupCallbackInfo appGroupCallbackInfo(userId, newGroup, oldGroup, reasonInGroup, "test"); in HWTEST_F()
|
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/ |
H A D | app_group_callback_info.h | 28 AppGroupCallbackInfo(int32_t userId, int32_t oldGroup, int32_t newGroup, uint32_t changeReason,
|
/foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_policy/include/ |
H A D | intellisense_server.h | 40 void ReportCgroupChange(const int pid, const int uid, const int oldGroup, const int newGroup);
|
/foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_policy/src/ |
H A D | intellisense_server.cpp | 272 void IntelliSenseServer::ReportCgroupChange(const int pid, const int uid, const int oldGroup, const int newGroup) in ReportCgroupChange() argument 281 CgroupPolicy oldState = CheckCgroupState(static_cast<CgroupPolicy>(oldGroup)); in ReportCgroupChange()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/frame_aware_plugin/src/ |
H A D | frame_aware_plugin.cpp | 162 if (!data->payload.contains("oldGroup") || !data->payload.contains("newGroup") ||
in HandleCgroupAdjuster() 163 !data->payload["oldGroup"].is_string() || !data->payload["newGroup"].is_string()) {
in HandleCgroupAdjuster() 164 RME_LOGI("FrameAwarePlugin::HandleCgroupAdjuster payload is not contains oldGroup or newGroup");
in HandleCgroupAdjuster() 169 int oldGroup = ConvertToInteger(data, "oldGroup");
in HandleCgroupAdjuster() local 172 RME::FrameMsgIntf::GetInstance().ReportCgroupChange(pid, uid, oldGroup, newGroup);
in HandleCgroupAdjuster()
|
/foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/ |
H A D | bundle_state_data.h | 64 int32_t oldGroup = 0; member
|