Lines Matching refs:UCollect
309 if (openRet != UCollect::UcError::SUCCESS) {
313 ret.retCode = UCollect::UcError(openRet);
317 CollectResult<std::vector<std::string>> HiviewService::DumpSnapshotTrace(UCollect::TraceCaller caller)
321 if (dumpRet.retCode != UCollect::UcError::SUCCESS) {
331 if (openRet != UCollect::UcError::SUCCESS) {
335 ret.retCode = UCollect::UcError(openRet);
342 if (traceOnRet.retCode != UCollect::UcError::SUCCESS) {
351 if (traceOffRet.retCode != UCollect::UcError::SUCCESS) {
357 if (recoverRet != UCollect::UcError::SUCCESS) {
359 traceOffRet.retCode = UCollect::UcError::UNSUPPORT;
368 if (closeRet != UCollect::UcError::SUCCESS) {
372 ret.retCode = UCollect::UcError(closeRet);
380 if (recoverRet != UCollect::UcError::SUCCESS) {
384 ret.retCode = UCollect::UcError(recoverRet);
404 appCallerEvent->resultCode_ = UCollect::UcError::SUCCESS;
414 result.retCode = UCollect::UcError::SUCCESS;
420 result.retCode = UCollect::UcError::SYSTEM_ERROR;
429 result.retCode = UCollect::UcError(appCallerEvent->resultCode_);
452 result.retCode = UCollect::UcError::UNSUPPORT;
463 result.retCode = UCollect::UcError::INVALID_ACTION_ID;
467 result.retCode = UCollect::UcError::SUCCESS;
474 if (cpuUsageRet.retCode != UCollect::UcError::SUCCESS) {
484 result.retCode = UCollect::UcError::SUCCESS;
489 result.retCode = UCollect::UcError::SYSTEM_ERROR;
503 result.retCode = UCollect::UcError::SYSTEM_ERROR;