Home
last modified time | relevance | path

Searched refs:delayUnloadTime (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/schedule/
H A Dsystem_ability_state_scheduler.cpp115 int32_t delayUnloadTime = LimitDelayUnloadTime(saProfile.stopOnDemand.delayTime); in InitStateContext() local
116 abilityContext->delayUnloadTime = delayUnloadTime; in InitStateContext()
141 abilityContext->delayUnloadTime = MAX_DELAY_TIME; in InitSamgrProcessContext()
147 int32_t SystemAbilityStateScheduler::LimitDelayUnloadTime(int32_t delayUnloadTime) in LimitDelayUnloadTime() argument
149 if (delayUnloadTime < 0) { in LimitDelayUnloadTime()
152 if (delayUnloadTime > MAX_DELAY_TIME) { in LimitDelayUnloadTime()
155 return delayUnloadTime; in LimitDelayUnloadTime()
204 int64_t onceDelayTime = abilityContext->delayUnloadTime; in UpdateLimitDelayUnloadTimeTask()
206 abilityContext->delayUnloadTime = LimitDelayUnloadTime(onceDelayTime); in UpdateLimitDelayUnloadTimeTask()
208 abilityContext->delayUnloadTime, systemAbilityId); in UpdateLimitDelayUnloadTimeTask()
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/include/schedule/
H A Dsystem_ability_state_context.h88 int32_t delayUnloadTime = 0; member
H A Dsystem_ability_state_scheduler.h73 int32_t LimitDelayUnloadTime(int32_t delayUnloadTime);
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dsystem_ability_state_scheduler_test.cpp2495 int32_t delaytime = abilityContext->delayUnloadTime;
2498 EXPECT_EQ(delaytime, abilityContext->delayUnloadTime);
2520 int32_t delaytime = abilityContext->delayUnloadTime;
2522 EXPECT_EQ(delaytime, abilityContext->delayUnloadTime);