Home
last modified time | relevance | path

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

/foundation/ability/ability_runtime/test/unittest/res_sched_util_test/
H A Dres_sched_util_test.cpp60 int64_t resSchedType = -1; in HWTEST_F() local
62 AAFwk::ResSchedUtil::GetInstance().ReportAbilityAssociatedStartInfoToRSS(abilityInfo, resSchedType, 0, 0); in HWTEST_F()
63 int64_t ret = AAFwk::ResSchedUtil::GetInstance().convertType(resSchedType); in HWTEST_F()
64 EXPECT_EQ(resSchedType, ret); in HWTEST_F()
79 int64_t resSchedType = AAFwk::RES_TYPE_SCB_START_ABILITY; in HWTEST_F() local
80 int64_t ret = AAFwk::ResSchedUtil::GetInstance().convertType(resSchedType); in HWTEST_F()
81 EXPECT_EQ(resSchedType, ret); in HWTEST_F()
94 int64_t resSchedType = AAFwk::RES_TYPE_SCB_START_ABILITY; in HWTEST_F() local
95 int64_t ret = AAFwk::ResSchedUtil::GetInstance().convertType(resSchedType); in HWTEST_F()
96 EXPECT_EQ(resSchedType, re in HWTEST_F()
[all...]
/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()
80 int64_t type = convertType(resSchedType); in ReportAbilityAssociatedStartInfoToRSS()
68 ReportAbilityAssociatedStartInfoToRSS( const AbilityInfo &abilityInfo, int64_t resSchedType, int32_t callerUid, int32_t callerPid) ReportAbilityAssociatedStartInfoToRSS() argument
/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);
60 int64_t convertType(int64_t resSchedType);

Completed in 1 milliseconds