Lines Matching refs:appCallerEvent
391 std::shared_ptr<AppCallerEvent> appCallerEvent = std::make_shared<AppCallerEvent>("HiViewService");
392 appCallerEvent->messageType_ = Event::MessageType::PLUGIN_MAINTENANCE;
393 appCallerEvent->eventName_ = eventName;
394 appCallerEvent->isBusinessJank_ = appCaller.isBusinessJank;
395 appCallerEvent->bundleName_ = appCaller.bundleName;
396 appCallerEvent->bundleVersion_ = appCaller.bundleVersion;
397 appCallerEvent->uid_ = appCaller.uid;
398 appCallerEvent->pid_ = appCaller.pid;
399 appCallerEvent->happenTime_ = static_cast<uint64_t>(appCaller.happenTime);
400 appCallerEvent->beginTime_ = appCaller.beginTime;
401 appCallerEvent->endTime_ = appCaller.endTime;
402 appCallerEvent->taskBeginTime_ = static_cast<int64_t>(TimeUtil::GetMilliseconds());
403 appCallerEvent->taskEndTime_ = appCallerEvent->taskBeginTime_;
404 appCallerEvent->resultCode_ = UCollect::UcError::SUCCESS;
405 appCallerEvent->foreground_ = appCaller.foreground;
406 appCallerEvent->threadName_ = appCaller.threadName;
407 return appCallerEvent;
424 std::shared_ptr<AppCallerEvent> appCallerEvent = InnerCreateAppCallerEvent(appCaller, eventName);
425 std::shared_ptr<Event> event = std::dynamic_pointer_cast<Event>(appCallerEvent);
428 eventName.c_str(), appCaller.uid, appCaller.pid, appCallerEvent->resultCode_);
429 result.retCode = UCollect::UcError(appCallerEvent->resultCode_);