Searched refs:AbilityThreadCreatorType (Results 1 – 4 of 4) sorted by relevance
19 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()
263 …AbilityThreadLoader::GetInstance().SetCreatorFunc(AbilityThreadCreatorType::JS_CREATOR, CreateJsAb… in InitAbilityThreadLoad()264 AbilityThreadLoader::GetInstance().SetCreatorFunc(AbilityThreadCreatorType::NATIVE_CREATOR, in InitAbilityThreadLoad()
677 … AbilityThreadLoader::GetInstance().CreateAbilityThread(AbilityThreadCreatorType::NATIVE_CREATOR); in CreateAppTask()680 … AbilityThreadLoader::GetInstance().CreateAbilityThread(AbilityThreadCreatorType::JS_CREATOR); in CreateAppTask()
23 enum class AbilityThreadCreatorType { enum48 void SetCreatorFunc(AbilityThreadCreatorType type, AbilityThreadCreatorFunc creator);50 AbilityThread *CreateAbilityThread(AbilityThreadCreatorType type) const;52 void UnsetCreatorFunc(AbilityThreadCreatorType type);