Home
last modified time | relevance | path

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

/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/src/slite/
H A Dability_thread_loader.cpp19 void AbilityThreadLoader::SetCreatorFunc(AbilityThreadCreatorType type, AbilityThreadCreatorFunc fu… in SetCreatorFunc()
25 case AbilityThreadCreatorType::JS_CREATOR: in SetCreatorFunc()
30 case AbilityThreadCreatorType::NATIVE_CREATOR: in SetCreatorFunc()
40 AbilityThread *AbilityThreadLoader::CreateAbilityThread(AbilityThreadCreatorType type) const in CreateAbilityThread()
42 if (AbilityThreadCreatorType::JS_CREATOR == type && jsAbilityThreadFunc_ != nullptr) { in CreateAbilityThread()
45 if (AbilityThreadCreatorType::NATIVE_CREATOR == type && nativeAbilityThreadFunc_ != nullptr) { in CreateAbilityThread()
51 void AbilityThreadLoader::UnsetCreatorFunc(AbilityThreadCreatorType type) in UnsetCreatorFunc()
54 case AbilityThreadCreatorType::JS_CREATOR: in UnsetCreatorFunc()
57 case AbilityThreadCreatorType::NATIVE_CREATOR: in UnsetCreatorFunc()
H A Dability_mgr_service_slite.cpp263 …AbilityThreadLoader::GetInstance().SetCreatorFunc(AbilityThreadCreatorType::JS_CREATOR, CreateJsAb… in InitAbilityThreadLoad()
264 AbilityThreadLoader::GetInstance().SetCreatorFunc(AbilityThreadCreatorType::NATIVE_CREATOR, in InitAbilityThreadLoad()
H A Dability_record_manager.cpp677 … AbilityThreadLoader::GetInstance().CreateAbilityThread(AbilityThreadCreatorType::NATIVE_CREATOR); in CreateAppTask()
680 … AbilityThreadLoader::GetInstance().CreateAbilityThread(AbilityThreadCreatorType::JS_CREATOR); in CreateAppTask()
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/include/slite/
H A Dability_thread_loader.h23 enum class AbilityThreadCreatorType { enum
48 void SetCreatorFunc(AbilityThreadCreatorType type, AbilityThreadCreatorFunc creator);
50 AbilityThread *CreateAbilityThread(AbilityThreadCreatorType type) const;
52 void UnsetCreatorFunc(AbilityThreadCreatorType type);