Lines Matching defs:result
209 ErrCode result = InitEventPercent();
210 if (result != OHOS::ERR_OK) {
211 return result;
232 return result;
272 ErrCode result = OHOS::ERR_OK;
274 result = WuKongUtil::GetInstance()->SetAllowList(optarg);
277 result = WuKongUtil::GetInstance()->SetBlockList(optarg);
279 result = WuKongUtil::GetInstance()->SetAllowAbilityList(optarg);
280 if (result != OHOS::ERR_INVALID_VALUE) {
281 result = CheckArgument(option);
284 result = WuKongUtil::GetInstance()->SetBlockAbilityList(optarg);
285 if (result != OHOS::ERR_INVALID_VALUE) {
286 result = CheckArgument(option);
289 result = WuKongUtil::GetInstance()->SetBlockPageList(optarg);
306 ErrCode result = OHOS::ERR_OK;
308 result = CheckArgument(option);
316 result = OHOS::ERR_INVALID_VALUE;
322 return result;
327 ErrCode result = OHOS::ERR_OK;
330 result = OHOS::ERR_NO_INIT;
343 ErrCode result = OHOS::ERR_OK;
349 result = inputaction->RandomInput(uri, uriType);
354 result = inputaction->RandomInput(uri, abilityList);
357 result = inputaction->RandomInput();
362 return result;
386 ErrCode result;
397 result = WuKongUtil::GetInstance()->WukongScreenCap(screenStorePath, g_commandUITEST, g_commandCHECKBWSCREEN);
398 if (result == OHOS::ERR_OK) {
410 result = InputScene(inputaction, inputFlag);
411 if (result != OHOS::ERR_OK) {
413 return result;
434 result = InputScene(inputaction, inputFlag);
436 return result;
473 ErrCode result = AppManager::GetInstance()->StartAbilityByBundleInfo(abilityList[index], allowList[0]);
474 // print the result of start event
475 if (result ==OHOS::ERR_OK) {
489 ErrCode result;
492 result = SetInputPercent(option);
494 result = SetBlackWhiteSheet(option);
495 if (result != OHOS::ERR_OK) {
496 return result;
498 result = SetRunningParam(option);
499 if (result != OHOS::ERR_OK) {
500 return result;
502 result = SetRunningIndicator(option);
506 return result;
511 ErrCode result = OHOS::ERR_OK;
514 result = CheckArgumentOptionOfc();
518 result = CheckArgumentOptionOfT();
522 result = CheckArgumentOptionOfe();
526 result = CheckArgumentOptionOfE();
530 result = OHOS::ERR_INVALID_VALUE;
534 return result;
545 ErrCode result = OHOS::ERR_OK;
572 result = OHOS::ERR_INVALID_VALUE;
575 result = OHOS::ERR_INVALID_VALUE;
582 result = OHOS::ERR_INVALID_VALUE;
587 return result;