Home
last modified time | relevance | path

Searched refs:allowList (Results 1 - 4 of 4) sorted by relevance

/test/ostest/wukong/test_flow/src/
H A Drandom_test_flow.cpp441 std::vector<std::string> allowList; in ProtectRightAbility() local
442 WuKongUtil::GetInstance()->GetAllowList(allowList); in ProtectRightAbility()
443 if (allowList.size() > 0 && g_commandALLOWABILITYENABLE == false) { in ProtectRightAbility()
451 // allowList 数量大于0 并且 elementName.GetBundleName() 不在allowList里面,重新拉起一个应用 in ProtectRightAbility()
453 auto it = find(allowList.begin(), allowList.end(), curBundleName); in ProtectRightAbility()
454 if (it == allowList.end()) { in ProtectRightAbility()
461 } else if (allowList.size() > 0 && g_commandALLOWABILITYENABLE && !g_commandURIENABLE) { in ProtectRightAbility()
468 auto bundleIndex = find(allowList in ProtectRightAbility()
[all...]
H A 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()
406 // allowList 数量大于0 并且 elementName.GetBundleName() 不在allowList里面,重新拉起一个应用 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/
H A Dapp_manager.cpp129 std::vector<std::string> allowList; in StartAbilityByAbilityAndUri() local
130 WuKongUtil::GetInstance()->GetAllowList(allowList); in StartAbilityByAbilityAndUri()
131 AppExecFwk::ElementName element("", allowList[0], abilityName[0]); in StartAbilityByAbilityAndUri()
H A Dwukong_util.cpp421 void WuKongUtil::GetAllowList(std::vector<std::string> &allowList) in GetAllowList() argument
423 allowList = allowList_; in GetAllowList()

Completed in 5 milliseconds