/test/ostest/wukong/common/src/ |
D | wukong_util.cpp | 89 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 …]
|
D | app_manager.cpp | 39 auto util = WuKongUtil::GetInstance(); in AllowAbilityStart() 71 if (WuKongUtil::GetInstance()->GetOrderFlag()) { in AllowAbilityBackground()
|
D | wukong_logger.cpp | 73 logFileName_ = WuKongUtil::GetInstance()->GetCurrentTestDir() + "wukong.log"; in Start()
|
/test/ostest/wukong/input_factory/src/ |
D | appswitch_input.cpp | 44 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()
|
D | mouse_input.cpp | 45 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in RandomInput()
|
D | swap_input.cpp | 65 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in RandomInput()
|
D | touch_input.cpp | 59 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in RandomInput()
|
D | component_input.cpp | 65 WuKongUtil::GetInstance()->SetTempAllowList(tempAllowList); in CheckLauncherApp()
|
/test/ostest/wukong/common/include/ |
D | wukong_util.h | 31 class WuKongUtil : public DelayedSingleton<WuKongUtil> { 182 DECLARE_DELAYED_SINGLETON(WuKongUtil);
|
/test/ostest/wukong/shell_command/src/ |
D | wukong_shell_command.cpp | 182 ErrCode result = WuKongUtil::GetInstance()->GetAllAppInfo(); in ShowAllAppInfo() 190 WuKongUtil::GetInstance()->GetIconPath(iconpath); in ShowAllAppInfo() 191 WuKongUtil::GetInstance()->GetBundleList(bundleList, abilityList); in ShowAllAppInfo()
|
D | wukong_main.cpp | 51 WuKongUtil::DestroyInstance(); in FreeSingtion()
|
/test/ostest/wukong/test_flow/src/ |
D | random_test_flow.cpp | 293 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()
|
D | special_test_flow.cpp | 172 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()
|
D | test_flow.cpp | 81 result = WuKongUtil::GetInstance()->GetAllAppInfo(); in CheckVaildityCmd()
|
/test/ostest/wukong/report/src/ |
D | report.cpp | 77 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()
|
D | exception_manager.cpp | 61 filePath = DEFAULT_DIR + "/wukong_" + WuKongUtil::GetInstance()->GetStartRunTime() + ".csv"; in InitCsvFile()
|
D | statistics_ability.cpp | 81 WuKongUtil::GetInstance()->GetAllAbilitiesByBundleName(srcData["bundleName"], abilities); in SrcDatasPretreatment()
|
/test/ostest/wukong/report/include/ |
D | statistics_componment.h | 46 … uint32_t findIndex = WuKongUtil::GetInstance()->FindElement(componmentTypes_, componmentType); in ComponmentTypesIndex()
|
/test/ostest/wukong/component_event/src/ |
D | scene_delegate.cpp | 319 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(width, height); in IsComponentInScreen()
|