Home
last modified time | relevance | path

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

/test/ostest/wukong/test_flow/src/
Drandom_test_flow.cpp402 std::vector<std::string> allowList; in ProtectRightAbility() local
403 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()
Dfocus_test_flow.cpp401 std::vector<std::string> allowList; in ProtectRightAbility() local
402 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()
/test/ostest/wukong/common/src/
Dwukong_util.cpp343 void WuKongUtil::GetAllowList(std::vector<std::string> &allowList) in GetAllowList() argument
345 allowList = allowList_; in GetAllowList()