Home
last modified time | relevance | path

Searched refs:AgentType (Results 1 - 23 of 23) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/services/agent/
H A Dagent.h43 explicit Agent(AgentType agentType);
70 AgentType GetAgentType() in GetAgentType()
115 AgentType agentType_ = SRC_AGENT;
H A Dagent_def.h22 enum AgentType { NONE_AGENT, SRC_AGENT, SINK_AGENT }; enum
H A Dagent.cpp27 Agent::Agent(AgentType agentType) : agentType_(agentType) in Agent()
/foundation/CastEngine/castengine_wifi_display/services/context/
H A Dcontext_manager.h55 bool CheckAgentSize(AgentType agentType);
H A Dcontext.cpp240 uint32_t Context::HandleCreateAgent(const std::string &className, AgentType agentType, uint32_t sinkAgentId) in HandleCreateAgent()
246 if (agentType == AgentType::SINK_AGENT) { in HandleCreateAgent()
334 AgentType agentType = agent->GetAgentType(); in HandleStateDestroyAgent()
335 if (agentType == AgentType::SRC_AGENT) { in HandleStateDestroyAgent()
340 } else if (agentType == AgentType::SINK_AGENT) { in HandleStateDestroyAgent()
H A Dcontext.h56 uint32_t HandleCreateAgent(const std::string &designation, AgentType agentType, uint32_t sinkAgentId);
H A Dcontext_manager.cpp140 if (!CheckAgentSize((AgentType)contextEventMsg->agentType)) { in HandleAgentCreate()
157 bool ContextManager::CheckAgentSize(AgentType agentType) in CheckAgentSize()
/foundation/CastEngine/castengine_wifi_display/services/interaction/scene/
H A Dbase_scene.h67 virtual void OnInnerDestroy(uint32_t contextId, uint32_t agentId, AgentType agentType) = 0;
/foundation/CastEngine/castengine_wifi_display/services/common/
H A Devent_comm.h152 AgentType agentType;
216 AgentType agentType = NONE_AGENT;
/foundation/CastEngine/castengine_wifi_display/services/agent/sinkagent/
H A Dsink_agent.cpp25 SinkAgent::SinkAgent() : Agent(AgentType::SINK_AGENT) in SinkAgent()
/foundation/CastEngine/castengine_wifi_display/services/agent/srcagent/
H A Dsrc_agent.cpp24 SrcAgent::SrcAgent() : Agent(AgentType::SRC_AGENT) in SrcAgent()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/scene/mock/
H A Dmock_sharing_adapter.h37 MOCK_METHOD(int32_t, CreateAgent, (uint32_t &contextId, uint32_t &agentId, AgentType agentType,
/foundation/CastEngine/castengine_wifi_display/services/interaction/
H A Dsharing_adapter.h67 * @param agentType Indicates the agent type {@link AgentType} defined in {@link agent_def.h}.
71 virtual int32_t CreateAgent(uint32_t &contextId, uint32_t &agentId, AgentType agentType,
H A Dinteraction.h94 int32_t CreateAgent(uint32_t &contextId, uint32_t &agentId, AgentType agentType, std::string sessionName) override;
H A Dinteraction.cpp197 int32_t Interaction::CreateAgent(uint32_t &contextId, uint32_t &agentId, AgentType agentType, std::string sessionName) in CreateAgent()
/foundation/CastEngine/castengine_wifi_display/services/impl/scene/wfd/
H A Dwfd_source_scene.h86 void OnInnerDestroy(uint32_t contextId, uint32_t agentId, AgentType agentType) final;
H A Dwfd_sink_scene.h85 void OnInnerDestroy(uint32_t contextId, uint32_t agentId, AgentType agentType) final;
H A Dwfd_source_scene.cpp555 sharingAdapter->CreateAgent(contextId_, agentId_, AgentType::SINK_AGENT, "ScreenCaptureSession"); in CreateScreenCapture()
618 sharingAdapter->CreateAgent(contextId, agentId, AgentType::SRC_AGENT, "WfdSourceSession"); in AppendCast()
841 void WfdSourceScene::OnInnerDestroy(uint32_t contextId, uint32_t agentId, AgentType agentType) in OnInnerDestroy()
H A Dwfd_sink_scene.cpp1029 sharingAdapter->CreateAgent(contextId, agentId, AgentType::SINK_AGENT, "WfdSinkSession"); in OnP2pPeerConnected()
1240 void WfdSinkScene::OnInnerDestroy(uint32_t contextId, uint32_t agentId, AgentType agentType) in OnInnerDestroy()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/scene/
H A Dwfd_source_scene_test.cpp594 sourceScene_->OnInnerDestroy(1, 1, AgentType::SRC_AGENT); in HWTEST_F()
H A Dwfd_sink_scene_test.cpp853 sinkScene_->OnInnerDestroy(1, 1, AgentType::SINK_AGENT); in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/agent/
H A Dsrc_agent_unit_test.cpp87 ASSERT_TRUE(ret == AgentType::SRC_AGENT); in HWTEST_F()
H A Dsink_agent_unit_test.cpp87 ASSERT_TRUE(ret == AgentType::SINK_AGENT); in HWTEST_F()

Completed in 17 milliseconds