Searched refs:allowList (Results 1 – 3 of 3) sorted by relevance
402 std::vector<std::string> allowList; in ProtectRightAbility() local403 WuKongUtil::GetInstance()->GetAllowList(allowList); in ProtectRightAbility()404 if (allowList.size() > 0 && g_commandALLOWABILITYENABLE == false) { in ProtectRightAbility()414 auto it = find(allowList.begin(), allowList.end(), curBundleName); in ProtectRightAbility()415 if (it == allowList.end()) { in ProtectRightAbility()422 } else if (allowList.size() > 0 && g_commandALLOWABILITYENABLE == true) { in ProtectRightAbility()429 auto bundleIndex = find(allowList.begin(), allowList.end(), curBundleName); in ProtectRightAbility()431 if (bundleIndex == allowList.end() || abilityIndex == abilityList.end()) { in ProtectRightAbility()434 …ode result = AppManager::GetInstance()->StartAbilityByBundleInfo(abilityList[index], allowList[0]); in ProtectRightAbility()
401 std::vector<std::string> allowList; in ProtectRightAbility() local402 WuKongUtil::GetInstance()->GetAllowList(allowList); in ProtectRightAbility()403 if (allowList.size() > 0) { in ProtectRightAbility()408 auto it = find(allowList.begin(), allowList.end(), curBundleName); in ProtectRightAbility()409 if (it == allowList.end()) { in ProtectRightAbility()
343 void WuKongUtil::GetAllowList(std::vector<std::string> &allowList) in GetAllowList() argument345 allowList = allowList_; in GetAllowList()