/test/ostest/wukong/common/src/ |
D | wukong_util.cpp | 92 WuKongUtil::WuKongUtil() in WuKongUtil() function in OHOS::WuKong::WuKongUtil 139 WuKongUtil::~WuKongUtil() in ~WuKongUtil() 144 ErrCode WuKongUtil::GetAllAppInfo() in GetAllAppInfo() 179 void WuKongUtil::GetBundleList(std::vector<std::string> &bundlelist, std::vector<std::string> &abil… in GetBundleList() 188 uint32_t WuKongUtil::FindElement(std::vector<std::string> &bundleList, std::string key) in FindElement() 197 bool WuKongUtil::ContainsElement(std::vector<std::string> &bundleList, std::string key) in ContainsElement() 202 ErrCode WuKongUtil::CheckBundleNameList() in CheckBundleNameList() 215 ErrCode WuKongUtil::CheckArgumentList(std::vector<std::string> &arguments, bool isAddToList) in CheckArgumentList() 235 ErrCode WuKongUtil::SetAllowList(const std::string &optarg) in SetAllowList() 249 ErrCode WuKongUtil::CheckAbilityArgumentList(std::vector<std::string> &arguments) in CheckAbilityArgumentList() [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() 96 WuKongUtil::GetInstance()->GetBundleList(bundleList, abilityList); in PrintResultOfStartAbility() 115 WuKongUtil::GetInstance()->GetAllowList(allowlist); in GetAbilityIndex() 116 WuKongUtil::GetInstance()->GetValidBundleList(validlist); in GetAbilityIndex() 119 …index = WuKongUtil::GetInstance()->FindElement(bundlelist, allowlist.at(rand() % allowlist.size())… in GetAbilityIndex() 121 …index = WuKongUtil::GetInstance()->FindElement(bundlelist, validlist.at(rand() % validlist.size())… in GetAbilityIndex()
|
D | hardkey_input.cpp | 40 auto util = WuKongUtil::GetInstance(); in OrderInput()
|
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 | 37 bool isFirstStartApp = WuKongUtil::GetInstance()->GetIsFirstStartAppFlag(); in PrepareApp() 40 WuKongUtil::GetInstance()->SetIsFirstStartAppFlag(false); in PrepareApp() 87 WuKongUtil::GetInstance()->SetTempAllowList(tempAllowList); in CheckLauncherApp()
|
/test/ostest/wukong/test_flow/src/ |
D | random_test_flow.cpp | 263 result = WuKongUtil::GetInstance()->SetAllowList(optarg); in SetBlackWhiteSheet() 266 result = WuKongUtil::GetInstance()->SetBlockList(optarg); in SetBlackWhiteSheet() 268 result = WuKongUtil::GetInstance()->SetAllowAbilityList(optarg); in SetBlackWhiteSheet() 273 result = WuKongUtil::GetInstance()->SetBlockAbilityList(optarg); in SetBlackWhiteSheet() 278 result = WuKongUtil::GetInstance()->SetBlockPageList(optarg); in SetBlackWhiteSheet() 280 WuKongUtil::GetInstance()->SetCompIdBlockList(optarg); in SetBlackWhiteSheet() 282 WuKongUtil::GetInstance()->SetCompTypeBlockList(optarg); in SetBlackWhiteSheet() 358 result = WuKongUtil::GetInstance()->WukongScreenCap(screenStorePath, g_commandUITEST); in RunStep() 403 WuKongUtil::GetInstance()->GetAllowList(allowList); in ProtectRightAbility() 424 WuKongUtil::GetInstance()->GetAllowAbilityList(abilityList); in ProtectRightAbility() [all …]
|
D | focus_test_flow.cpp | 263 result = WuKongUtil::GetInstance()->SetAllowList(optarg); in SetBlackWhiteSheet() 266 result = WuKongUtil::GetInstance()->SetBlockList(optarg); in SetBlackWhiteSheet() 268 result = WuKongUtil::GetInstance()->SetAllowAbilityList(optarg); in SetBlackWhiteSheet() 273 result = WuKongUtil::GetInstance()->SetBlockAbilityList(optarg); in SetBlackWhiteSheet() 278 result = WuKongUtil::GetInstance()->SetBlockPageList(optarg); in SetBlackWhiteSheet() 280 WuKongUtil::GetInstance()->SetCompIdBlockList(optarg); in SetBlackWhiteSheet() 282 WuKongUtil::GetInstance()->SetCompTypeBlockList(optarg); in SetBlackWhiteSheet() 402 WuKongUtil::GetInstance()->GetAllowList(allowList); in ProtectRightAbility() 437 WuKongUtil::GetInstance()->SetOrderFlag(false); in HandleNormalOption()
|
D | special_test_flow.cpp | 175 result = WuKongUtil::GetInstance()->WukongScreenCap(screenStorePath, g_commandUITEST); in RunStep() 216 auto util = WuKongUtil::GetInstance(); in ProtectRightAbility() 231 WuKongUtil::GetInstance()->SetIsFirstStartAppFlag(true); in ProtectRightAbility() 311 WuKongUtil::GetInstance()->SetOrderFlag(true); in HandleNormalOption() 375 result = WuKongUtil::GetInstance()->CheckArgumentList(bundleName_, true); in SetRunningParam() 429 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in CheckPosition()
|
D | test_flow.cpp | 81 result = WuKongUtil::GetInstance()->GetAllAppInfo(); in CheckVaildityCmd()
|
/test/ostest/wukong/component_event/src/ |
D | normal_scene.cpp | 42 auto util = WuKongUtil::GetInstance(); in SetInputComponentList() 84 auto util = WuKongUtil::GetInstance(); in SetInputComponent() 119 auto util = WuKongUtil::GetInstance(); in SetInputComponentListForFocusInput() 164 auto util = WuKongUtil::GetInstance(); in IsComponentBlock()
|
D | scene_delegate.cpp | 320 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(width, height); in IsComponentInScreen()
|
D | focus_scene_delegate.cpp | 320 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(width, height); in IsComponentInScreen()
|
D | tree_manager.cpp | 573 ErrCode result = WuKongUtil::GetInstance()->WukongScreenCap(screenStorePath, false); in ScreenCapture()
|
/test/ostest/wukong/shell_command/src/ |
D | wukong_shell_command.cpp | 185 ErrCode result = WuKongUtil::GetInstance()->GetAllAppInfo(); in ShowAllAppInfo() 193 WuKongUtil::GetInstance()->GetIconPath(iconpath); in ShowAllAppInfo() 194 WuKongUtil::GetInstance()->GetBundleList(bundleList, abilityList); in ShowAllAppInfo()
|
D | wukong_main.cpp | 45 WuKongUtil::DestroyInstance(); in FreeSingtion()
|
/test/ostest/wukong/common/include/ |
D | wukong_util.h | 31 class WuKongUtil : public DelayedSingleton<WuKongUtil> { 290 DECLARE_DELAYED_SINGLETON(WuKongUtil);
|
/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() 156 WuKongUtil::GetInstance()->DeleteFile(targetDir_); in EnvInit() 472 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/include/ |
D | tree_manager.h | 117 uint32_t focusTypeIndex = WuKongUtil::GetInstance()->FindElement(focusTypeList_, type); in NeedFocus()
|