Home
last modified time | relevance | path

Searched refs:oldGroup (Results 1 - 14 of 14) sorted by relevance

/foundation/resourceschedule/frame_aware_sched/interfaces/innerkits/frameintf/
H A Dframe_msg_intf.cpp118 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 Dframe_msg_intf.h33 void ReportCgroupChange(const int pid, const int uid, const int oldGroup, const int newGroup);
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_bundle_group_change_callback.cpp32 int32_t oldGroup = appGroupCallbackInfo.GetOldGroup(); in OnAppGroupChanged() local
41 if (newGroup < oldGroup) { in OnAppGroupChanged()
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/
H A Dapp_group_callback_info.cpp21 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 Dbundle_active_user_history.cpp203 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 Dbundle_active_group_controller.cpp316 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 Dapp_group_observer_napi.cpp52 // 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 Ddevice_usage_statistics_test.cpp385 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 Ddevice_usage_statistics_service_test.cpp219 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 Dapp_group_callback_info.h28 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 Dintellisense_server.h40 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 Dintellisense_server.cpp272 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 Dframe_aware_plugin.cpp162 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 Dbundle_state_data.h64 int32_t oldGroup = 0; member

Completed in 8 milliseconds