Home
last modified time | relevance | path

Searched refs:WuKongUtil (Results 1 - 25 of 26) sorted by relevance

12

/test/ostest/wukong/common/src/
H A Dwukong_util.cpp132 WuKongUtil::WuKongUtil() in WuKongUtil() function in OHOS::WuKong::WuKongUtil
179 WuKongUtil::~WuKongUtil() in ~WuKongUtil()
184 ErrCode WuKongUtil::GetAllAppInfo() in GetAllAppInfo()
219 void WuKongUtil::GetBundleList(std::vector<std::string> &bundlelist, std::vector<std::string> &abilitylist) in GetBundleList()
228 uint32_t WuKongUtil::FindElement(std::vector<std::string> &bundleList, std::string key) in FindElement()
237 bool WuKongUtil::ContainsElement(std::vector<std::string> &bundleList, std::string key) in ContainsElement()
242 ErrCode WuKongUtil::CheckBundleNameList() in CheckBundleNameList()
255 ErrCode WuKongUtil
[all...]
H A Dapp_manager.cpp39 auto util = WuKongUtil::GetInstance(); in AllowAbilityStart()
71 if (WuKongUtil::GetInstance()->GetOrderFlag()) { in AllowAbilityBackground()
130 WuKongUtil::GetInstance()->GetAllowList(allowList); in StartAbilityByAbilityAndUri()
H A Dwukong_logger.cpp86 logFileName_ = WuKongUtil::GetInstance()->GetCurrentTestDir() + "wukong.log"; in Start()
/test/ostest/wukong/test_flow/src/
H A Drandom_test_flow.cpp274 result = WuKongUtil::GetInstance()->SetAllowList(optarg); in SetBlackWhiteSheet()
277 result = WuKongUtil::GetInstance()->SetBlockList(optarg); in SetBlackWhiteSheet()
279 result = WuKongUtil::GetInstance()->SetAllowAbilityList(optarg); in SetBlackWhiteSheet()
284 result = WuKongUtil::GetInstance()->SetBlockAbilityList(optarg); in SetBlackWhiteSheet()
289 result = WuKongUtil::GetInstance()->SetBlockPageList(optarg); in SetBlackWhiteSheet()
291 WuKongUtil::GetInstance()->SetCompIdBlockList(optarg); in SetBlackWhiteSheet()
293 WuKongUtil::GetInstance()->SetCompTypeBlockList(optarg); in SetBlackWhiteSheet()
295 WuKongUtil::GetInstance()->SetComponentUri(optarg); in SetBlackWhiteSheet()
298 WuKongUtil::GetInstance()->SetComponentUriType(optarg); in SetBlackWhiteSheet()
347 std::string uri = WuKongUtil in InputScene()
[all...]
H A Dfocus_test_flow.cpp263 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()
H A Dspecial_test_flow.cpp175 result = WuKongUtil::GetInstance()->WukongScreenCap(screenStorePath, g_commandUITEST); in RunStep()
217 auto util = WuKongUtil::GetInstance(); in ProtectRightAbility()
232 WuKongUtil::GetInstance()->SetIsFirstStartAppFlag(true); in ProtectRightAbility()
312 WuKongUtil::GetInstance()->SetOrderFlag(true); in HandleNormalOption()
357 result = WuKongUtil::GetInstance()->CheckArgumentList(bundleName_, true); in SetRunningParam()
411 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in CheckPosition()
H A Dtest_flow.cpp81 result = WuKongUtil::GetInstance()->GetAllAppInfo(); in CheckVaildityCmd()
/test/ostest/wukong/input_factory/src/
H A Dappswitch_input.cpp44 auto util = WuKongUtil::GetInstance(); in OrderInput()
68 WuKongUtil::GetInstance()->GetBundleList(bundleList, abilityList); in RandomInput()
110 WuKongUtil::GetInstance()->GetBundleList(bundleList, abilityList); in PrintResultOfStartAbility()
129 WuKongUtil::GetInstance()->GetAllowList(allowlist); in GetAbilityIndex()
130 WuKongUtil::GetInstance()->GetValidBundleList(validlist); in GetAbilityIndex()
133 index = WuKongUtil::GetInstance()->FindElement(bundlelist, allowlist.at(rand() % allowlist.size())); in GetAbilityIndex()
135 index = WuKongUtil::GetInstance()->FindElement(bundlelist, validlist.at(rand() % validlist.size())); in GetAbilityIndex()
H A Dcomponent_input.cpp37 bool isFirstStartApp = WuKongUtil::GetInstance()->GetIsFirstStartAppFlag(); in PrepareApp()
40 WuKongUtil::GetInstance()->SetIsFirstStartAppFlag(false); in PrepareApp()
87 WuKongUtil::GetInstance()->SetTempAllowList(tempAllowList); in CheckLauncherApp()
357 componentInputMsg->pssTotal_ = WuKongUtil::GetInstance()->GetBundlePssTotal(); in FocusInput()
H A Dhardkey_input.cpp40 auto util = WuKongUtil::GetInstance(); in OrderInput()
H A Dswap_input.cpp65 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in RandomInput()
H A Dtouch_input.cpp59 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in RandomInput()
H A Dmouse_input.cpp45 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in RandomInput()
/test/ostest/wukong/component_event/src/
H A Dnormal_scene.cpp42 auto util = WuKongUtil::GetInstance(); in SetInputComponentList()
86 auto util = WuKongUtil::GetInstance(); in SetInputComponent()
121 auto util = WuKongUtil::GetInstance(); in SetInputComponentListForFocusInput()
166 auto util = WuKongUtil::GetInstance(); in IsComponentBlock()
H A Dscene_delegate.cpp320 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(width, height); in IsComponentInScreen()
H A Dfocus_scene_delegate.cpp320 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(width, height); in IsComponentInScreen()
/test/ostest/wukong/shell_command/src/
H A Dwukong_shell_command.cpp185 ErrCode result = WuKongUtil::GetInstance()->GetAllAppInfo(); in ShowAllAppInfo()
193 WuKongUtil::GetInstance()->GetIconPath(iconpath); in ShowAllAppInfo()
194 WuKongUtil::GetInstance()->GetBundleList(bundleList, abilityList); in ShowAllAppInfo()
H A Dwukong_main.cpp46 WuKongUtil::DestroyInstance(); in FreeSingtion()
/test/ostest/wukong/report/src/
H A Dreport.cpp77 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()
473 std::shared_ptr<WuKongUtil> utilPtr = WuKongUtil::GetInstance(); in HilogFileRecord()
H A Dexception_manager.cpp61 filePath = DEFAULT_DIR + "/wukong_" + WuKongUtil::GetInstance()->GetStartRunTime() + ".csv"; in InitCsvFile()
H A Dstatistics_ability.cpp81 WuKongUtil::GetInstance()->GetAllAbilitiesByBundleName(srcData["bundleName"], abilities); in SrcDatasPretreatment()
/test/ostest/wukong/common/include/
H A Dwukong_util.h32 class WuKongUtil : public DelayedSingleton<WuKongUtil> { class
327 DECLARE_DELAYED_SINGLETON(WuKongUtil);
/test/ostest/wukong/test/unittest/
H A Dwukong_test.cpp79  * @tc.desc: WuKongFuncTest1 for WuKongUtil::GetBundlePid()
84 std::shared_ptr<WuKongUtil> utilPtr = WuKongUtil::GetInstance(); in HWTEST_F()
/test/ostest/wukong/report/include/
H A Dstatistics_componment.h46 uint32_t findIndex = WuKongUtil::GetInstance()->FindElement(componmentTypes_, componmentType); in ComponmentTypesIndex()
/test/ostest/wukong/component_event/include/
H A Dtree_manager.h117 uint32_t focusTypeIndex = WuKongUtil::GetInstance()->FindElement(focusTypeList_, type); in NeedFocus()

Completed in 13 milliseconds

12