Home
last modified time | relevance | path

Searched refs:WuKongUtil (Results 1 – 19 of 19) sorted by relevance

/test/ostest/wukong/common/src/
Dwukong_util.cpp89 WuKongUtil::WuKongUtil() in WuKongUtil() function in OHOS::WuKong::WuKongUtil
136 WuKongUtil::~WuKongUtil() in ~WuKongUtil()
141 ErrCode WuKongUtil::GetAllAppInfo() in GetAllAppInfo()
175 void WuKongUtil::GetBundleList(std::vector<std::string> &bundlelist, std::vector<std::string> &abil… in GetBundleList()
184 uint32_t WuKongUtil::FindElement(std::vector<std::string> bundleList, std::string key) in FindElement()
193 ErrCode WuKongUtil::CheckBundleNameList() in CheckBundleNameList()
206 ErrCode WuKongUtil::CheckArgumentList(std::vector<std::string> &arguments) in CheckArgumentList()
220 ErrCode WuKongUtil::SetAllowList(const std::string &optarg) in SetAllowList()
234 ErrCode WuKongUtil::SetBlockList(const std::string &optarg) in SetBlockList()
248 void WuKongUtil::DelRepeatArguments(std::vector<std::string> &argumentlist) in DelRepeatArguments()
[all …]
Dapp_manager.cpp39 auto util = WuKongUtil::GetInstance(); in AllowAbilityStart()
71 if (WuKongUtil::GetInstance()->GetOrderFlag()) { in AllowAbilityBackground()
Dwukong_logger.cpp73 logFileName_ = WuKongUtil::GetInstance()->GetCurrentTestDir() + "wukong.log"; in Start()
/test/ostest/wukong/input_factory/src/
Dappswitch_input.cpp44 auto util = WuKongUtil::GetInstance(); in OrderInput()
68 WuKongUtil::GetInstance()->GetBundleList(bundleList, abilityList); in RandomInput()
91 WuKongUtil::GetInstance()->GetBundleList(bundleList, abilityList); in PrintResultOfStartAbility()
110 WuKongUtil::GetInstance()->GetAllowList(allowlist); in GetAbilityIndex()
111 WuKongUtil::GetInstance()->GetValidBundleList(validlist); in GetAbilityIndex()
114 …index = WuKongUtil::GetInstance()->FindElement(bundlelist, allowlist.at(rand() % allowlist.size())… in GetAbilityIndex()
116 …index = WuKongUtil::GetInstance()->FindElement(bundlelist, validlist.at(rand() % validlist.size())… in GetAbilityIndex()
Dmouse_input.cpp45 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in RandomInput()
Dswap_input.cpp65 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in RandomInput()
Dtouch_input.cpp59 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in RandomInput()
Dcomponent_input.cpp65 WuKongUtil::GetInstance()->SetTempAllowList(tempAllowList); in CheckLauncherApp()
/test/ostest/wukong/common/include/
Dwukong_util.h31 class WuKongUtil : public DelayedSingleton<WuKongUtil> {
182 DECLARE_DELAYED_SINGLETON(WuKongUtil);
/test/ostest/wukong/shell_command/src/
Dwukong_shell_command.cpp182 ErrCode result = WuKongUtil::GetInstance()->GetAllAppInfo(); in ShowAllAppInfo()
190 WuKongUtil::GetInstance()->GetIconPath(iconpath); in ShowAllAppInfo()
191 WuKongUtil::GetInstance()->GetBundleList(bundleList, abilityList); in ShowAllAppInfo()
Dwukong_main.cpp51 WuKongUtil::DestroyInstance(); in FreeSingtion()
/test/ostest/wukong/test_flow/src/
Drandom_test_flow.cpp293 WuKongUtil::GetInstance()->GetAllowList(allowList); in RunStep()
323 result = WuKongUtil::GetInstance()->SetAllowList(optarg); in HandleNormalOption()
353 result = WuKongUtil::GetInstance()->SetBlockList(optarg); in HandleNormalOption()
361 WuKongUtil::GetInstance()->SetOrderFlag(false); in HandleNormalOption()
Dspecial_test_flow.cpp172 result = WuKongUtil::GetInstance()->WukongScreenCap(screenStorePath); in RunStep()
307 result = WuKongUtil::GetInstance()->CheckArgumentList(bundleName_); in HandleNormalOption()
326 WuKongUtil::GetInstance()->SetOrderFlag(true); in HandleNormalOption()
390 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in CheckPosition()
Dtest_flow.cpp81 result = WuKongUtil::GetInstance()->GetAllAppInfo(); in CheckVaildityCmd()
/test/ostest/wukong/report/src/
Dreport.cpp77 WuKongUtil::GetInstance()->CopyFile(targetFile, crashDir, destDir); in ListenCrashDir()
107 startRunTime_ = WuKongUtil::GetInstance()->GetStartRunTime(); in EnvInit()
114 currentTestDir_ = WuKongUtil::GetInstance()->GetCurrentTestDir(); in EnvInit()
155 WuKongUtil::GetInstance()->DeleteFile(targetDir_); in EnvInit()
405 std::shared_ptr<WuKongUtil> utilPtr = WuKongUtil::GetInstance(); in HilogFileRecord()
Dexception_manager.cpp61 filePath = DEFAULT_DIR + "/wukong_" + WuKongUtil::GetInstance()->GetStartRunTime() + ".csv"; in InitCsvFile()
Dstatistics_ability.cpp81 WuKongUtil::GetInstance()->GetAllAbilitiesByBundleName(srcData["bundleName"], abilities); in SrcDatasPretreatment()
/test/ostest/wukong/report/include/
Dstatistics_componment.h46 … uint32_t findIndex = WuKongUtil::GetInstance()->FindElement(componmentTypes_, componmentType); in ComponmentTypesIndex()
/test/ostest/wukong/component_event/src/
Dscene_delegate.cpp319 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(width, height); in IsComponentInScreen()