Lines Matching defs:agentId

66                 eventMsg->agentId = HandleCreateAgent(eventMsg->className, eventMsg->agentType, eventMsg->agentId);
94 SHARING_LOGI("contextId: %{public}u, destroy agent agentId: %{public}u.", GetId(), eventMsg->agentId);
96 auto agent = GetAgentById(eventMsg->agentId);
98 SHARING_LOGE("agent null agentId: %{public}d.", eventMsg->agentId);
107 if (IsEmptySrcAgent(eventMsg->agentId)) {
111 SHARING_LOGI("contextId: %{public}u, destroy agent need wait src agent destroy. agentId: %{public}u.",
112 GetId(), eventMsg->agentId);
129 auto agent = GetAgentById(eventMsg->agentId);
192 interactionMsg->agentId = eventMsg->agentId;
215 SHARING_LOGI("contextId: %{public}u, agentId: %{public}u, toMgr: %{public}u, dstId: %{public}u, event: %{public}s.",
216 GetId(), statusMsg->agentId, statusMsg->msg->toMgr, statusMsg->msg->dstId,
253 channelMsg->agentId = sinkAgent->GetId();
264 SHARING_LOGI("create agent create media channel agentId: %{public}u channelId: %{public}u.",
282 SHARING_LOGI("channelId: %{public}u is set to src agentId: %{public}u.", sinkAgent->GetMediaChannelId(),
299 "agentType: %{public}s agentId: %{public}u size: %{public}zu.",
305 Agent::Ptr Context::GetAgentById(uint32_t agentId)
309 auto itr = agents_.find(agentId);
317 void Context::RemoveAgent(uint32_t agentId)
319 SHARING_LOGD("contextId: %{public}u, remove agentId: %{public}u.", GetId(), agentId);
321 auto itr = agents_.find(agentId);
332 auto agent = GetAgentById(eventMsg->agentId);
338 RemoveAgent(eventMsg->agentId);
341 RemoveAgent(eventMsg->agentId);
347 SHARING_LOGE("agent null agentId: %{public}d.", eventMsg->agentId);