Home
last modified time | relevance | path

Searched refs:abilityList (Results 1 - 6 of 6) sorted by relevance

/test/ostest/wukong/input_factory/src/
H A Dappswitch_input.cpp43 std::vector<std::string> abilityList(0); in OrderInput()
45 util->GetBundleList(bundleList, abilityList); in OrderInput()
46 if (bundleList.size() == 0 || abilityList.size() == 0) { in OrderInput()
47 ERROR_LOG_STR("bundleList (%u) or abilityList (%u) is 0", bundleList.size(), abilityList.size()); in OrderInput()
57 ErrCode result = AppManager::GetInstance()->StartAbilityByBundleInfo(abilityList[index], bundleList[index]); in OrderInput()
67 std::vector<std::string> abilityList(0); in RandomInput()
68 WuKongUtil::GetInstance()->GetBundleList(bundleList, abilityList); in RandomInput()
69 if (bundleList.size() == 0 || abilityList.size() == 0) { in RandomInput()
70 ERROR_LOG_STR("bundleList (%u) or abilityList ( in RandomInput()
109 std::vector<std::string> abilityList; PrintResultOfStartAbility() local
[all...]
/test/ostest/wukong/test_flow/src/
H A Drandom_test_flow.cpp352 std::vector<std::string> abilityList; in InputScene() local
353 WuKongUtil::GetInstance()->GetAllowAbilityList(abilityList); in InputScene()
354 result = inputaction->RandomInput(uri, abilityList); in InputScene()
462 std::vector<std::string> abilityList; in ProtectRightAbility() local
463 WuKongUtil::GetInstance()->GetAllowAbilityList(abilityList); in ProtectRightAbility()
469 auto abilityIndex = find(abilityList.begin(), abilityList.end(), curAbilityName); in ProtectRightAbility()
470 if (bundleIndex == allowList.end() || abilityIndex == abilityList.end()) { in ProtectRightAbility()
471 int index = rand() % abilityList.size(); in ProtectRightAbility()
473 ErrCode result = AppManager::GetInstance()->StartAbilityByBundleInfo(abilityList[inde in ProtectRightAbility()
[all...]
H A Dspecial_test_flow.cpp216 std::vector<std::string> abilityList(0); in ProtectRightAbility()
218 util->GetBundleList(bundleList, abilityList); in ProtectRightAbility()
219 if (bundleList.size() == 0 || abilityList.size() == 0) { in ProtectRightAbility()
220 ERROR_LOG_STR("bundleList (%u) or abilityList (%u) is 0", bundleList.size(), abilityList.size()); in ProtectRightAbility()
229 result = AppManager::GetInstance()->StartAbilityByBundleInfo(abilityList[index], bundleList[index]); in ProtectRightAbility()
/test/ostest/wukong/shell_command/src/
H A Dwukong_shell_command.cpp191 std::vector<std::string> abilityList; in ShowAllAppInfo() local
194 WuKongUtil::GetInstance()->GetBundleList(bundleList, abilityList); in ShowAllAppInfo()
199 DEBUG_LOG_STR("Bundle Name: (%s), Ability Name: (%s)", bundleList[index].c_str(), abilityList[index].c_str()); in ShowAllAppInfo()
201 appInfo << "AbilityName: " << abilityList[index] << std::endl; in ShowAllAppInfo()
/test/ostest/wukong/common/include/
H A Dwukong_util.h135 * @param abilityList the ability list of the test.
137 void SetAllAppInfo(std::vector<std::string> &bundleList, std::vector<std::string> &abilityList);
/test/ostest/wukong/common/src/
H A Dwukong_util.cpp451 void WuKongUtil::SetAllAppInfo(std::vector<std::string> &bundleList, std::vector<std::string> &abilityList) in SetAllAppInfo() argument
454 abilityList_ = abilityList; in SetAllAppInfo()

Completed in 7 milliseconds