Searched refs:abilityList (Results 1 - 6 of 6) sorted by relevance
/test/ostest/wukong/input_factory/src/ |
H A D | appswitch_input.cpp | 43 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 D | random_test_flow.cpp | 352 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 D | special_test_flow.cpp | 216 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 D | wukong_shell_command.cpp | 191 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 D | wukong_util.h | 135 * @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 D | wukong_util.cpp | 451 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