Home
last modified time | relevance | path

Searched refs:RECLAIM_PRIORITY_FOREGROUND (Results 1 - 8 of 8) sorted by relevance

/foundation/resourceschedule/memmgr/interface/innerkits/include/
H A Dmem_mgr_constant.h31 constexpr int RECLAIM_PRIORITY_FOREGROUND = 0; member
53 { RECLAIM_PRIORITY_FOREGROUND, "Foreground" },
/foundation/resourceschedule/memmgr/interface/innerkits/src/
H A Dmem_mgr_constant.cpp28 } else if (priority < RECLAIM_PRIORITY_FOREGROUND) { in GetReclaimPriorityString()
31 return ReclaimPriorityMapping.at(RECLAIM_PRIORITY_FOREGROUND); in GetReclaimPriorityString()
/foundation/resourceschedule/memmgr/test/unittest/phone/
H A Dreclaim_priority_manager_test.cpp165 EXPECT_EQ(bundle->priority_, RECLAIM_PRIORITY_FOREGROUND); in HWTEST_F()
240 EXPECT_EQ(bundle->priority_, RECLAIM_PRIORITY_FOREGROUND); in HWTEST_F()
465 EXPECT_EQ(proc.priority_, RECLAIM_PRIORITY_FOREGROUND); in HWTEST_F()
486 EXPECT_EQ(proc.priority_, RECLAIM_PRIORITY_FOREGROUND); in HWTEST_F()
542 ASSERT_EQ(proc1.priority_, RECLAIM_PRIORITY_FOREGROUND); in HWTEST_F()
543 ASSERT_EQ(proc2.priority_, RECLAIM_PRIORITY_FOREGROUND); in HWTEST_F()
544 ASSERT_EQ(bundle->priority_, RECLAIM_PRIORITY_FOREGROUND); in HWTEST_F()
549 ASSERT_EQ(proc1.priority_, RECLAIM_PRIORITY_FOREGROUND); in HWTEST_F()
551 ASSERT_EQ(bundle->priority_, RECLAIM_PRIORITY_FOREGROUND); in HWTEST_F()
556 ASSERT_EQ(proc1.priority_, RECLAIM_PRIORITY_FOREGROUND); in HWTEST_F()
[all...]
H A Dmulti_account_manager_test.cpp85 int bundlePriority = RECLAIM_PRIORITY_FOREGROUND; in HWTEST_F()
90 EXPECT_EQ(recalcPriority, RECLAIM_PRIORITY_FOREGROUND + 50); in HWTEST_F()
/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/
H A Dreclaim_priority_constants.h26 constexpr int RECLAIM_PRIORITY_FOREGROUND = 0; member
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/
H A Dprocess_priority_info.cpp37 this->isFreground = (priority == RECLAIM_PRIORITY_FOREGROUND) ? true : false; in ProcessPriorityInfo()
H A Dmulti_account_manager.cpp135 if (recalcPriority < RECLAIM_PRIORITY_FOREGROUND) { in RecalcBundlePriority()
136 recalcPriority = RECLAIM_PRIORITY_FOREGROUND; in RecalcBundlePriority()
H A Dreclaim_priority_manager.cpp421 // priority of process is less important than RECLAIM_PRIORITY_FOREGROUND in CheckSatifyAbilityStartCondition()
422 if (proc.priority_ > RECLAIM_PRIORITY_FOREGROUND) { in CheckSatifyAbilityStartCondition()
425 if (proc.priority_ < RECLAIM_PRIORITY_FOREGROUND) { in CheckSatifyAbilityStartCondition()
573 OomScoreAdjUtils::WriteOomScoreAdjToKernel(target.pid, RECLAIM_PRIORITY_FOREGROUND); in HandleCreateProcess()
595 int priority = RECLAIM_PRIORITY_FOREGROUND; in HandleCreateProcess()
896 priority = RECLAIM_PRIORITY_FOREGROUND;
1034 if (bundle->priority_ < RECLAIM_PRIORITY_FOREGROUND) { // is a system process
1041 if (proc.priority_ > RECLAIM_PRIORITY_FOREGROUND) {
1042 proc.SetPriority(RECLAIM_PRIORITY_FOREGROUND);
1286 // set priority of proc to RECLAIM_PRIORITY_FOREGROUND whe
[all...]

Completed in 6 milliseconds