Home
last modified time | relevance | path

Searched refs:resSchedType (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/test/unittest/res_sched_util_test/
H A Dres_sched_util_test.cpp60 int64_t resSchedType = -1; variable
62 …ResSchedUtil::GetInstance().ReportAbilityAssociatedStartInfoToRSS(abilityInfo, resSchedType, 0, 0);
63 int64_t ret = AAFwk::ResSchedUtil::GetInstance().convertType(resSchedType);
64 EXPECT_EQ(resSchedType, ret);
79 int64_t resSchedType = AAFwk::RES_TYPE_SCB_START_ABILITY; variable
80 int64_t ret = AAFwk::ResSchedUtil::GetInstance().convertType(resSchedType);
81 EXPECT_EQ(resSchedType, ret);
94 int64_t resSchedType = AAFwk::RES_TYPE_SCB_START_ABILITY; variable
95 int64_t ret = AAFwk::ResSchedUtil::GetInstance().convertType(resSchedType);
96 EXPECT_EQ(resSchedType, ret);
/ohos5.0/foundation/ability/ability_runtime/services/common/src/
H A Dres_sched_util.cpp37 int64_t ResSchedUtil::convertType(int64_t resSchedType) in convertType() argument
40 if (resSchedType == RES_TYPE_SCB_START_ABILITY) { in convertType()
42 } else if (resSchedType == RES_TYPE_EXTENSION_START_ABILITY) { in convertType()
44 } else if (resSchedType == RES_TYPE_MISSION_LIST_START_ABILITY) { in convertType()
69 const AbilityInfo &abilityInfo, int64_t resSchedType, int32_t callerUid, int32_t callerPid) in ReportAbilityAssociatedStartInfoToRSS() argument
80 int64_t type = convertType(resSchedType); in ReportAbilityAssociatedStartInfoToRSS()
/ohos5.0/foundation/ability/ability_runtime/services/common/include/
H A Dres_sched_util.h48 const AbilityInfo &abilityInfo, int64_t resSchedType, int32_t callerUid, int32_t callerPid);
62 int64_t convertType(int64_t resSchedType);