/foundation/CastEngine/castengine_wifi_display/services/agent/ |
H A D | agent.h | 43 explicit Agent(AgentType agentType); 70 AgentType GetAgentType() in GetAgentType() 115 AgentType agentType_ = SRC_AGENT;
|
H A D | agent_def.h | 22 enum AgentType { NONE_AGENT, SRC_AGENT, SINK_AGENT }; enum
|
H A D | agent.cpp | 27 Agent::Agent(AgentType agentType) : agentType_(agentType) in Agent()
|
/foundation/CastEngine/castengine_wifi_display/services/context/ |
H A D | context_manager.h | 55 bool CheckAgentSize(AgentType agentType);
|
H A D | context.cpp | 240 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 D | context.h | 56 uint32_t HandleCreateAgent(const std::string &designation, AgentType agentType, uint32_t sinkAgentId);
|
H A D | context_manager.cpp | 140 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 D | base_scene.h | 67 virtual void OnInnerDestroy(uint32_t contextId, uint32_t agentId, AgentType agentType) = 0;
|
/foundation/CastEngine/castengine_wifi_display/services/common/ |
H A D | event_comm.h | 152 AgentType agentType; 216 AgentType agentType = NONE_AGENT;
|
/foundation/CastEngine/castengine_wifi_display/services/agent/sinkagent/ |
H A D | sink_agent.cpp | 25 SinkAgent::SinkAgent() : Agent(AgentType::SINK_AGENT) in SinkAgent()
|
/foundation/CastEngine/castengine_wifi_display/services/agent/srcagent/ |
H A D | src_agent.cpp | 24 SrcAgent::SrcAgent() : Agent(AgentType::SRC_AGENT) in SrcAgent()
|
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/scene/mock/ |
H A D | mock_sharing_adapter.h | 37 MOCK_METHOD(int32_t, CreateAgent, (uint32_t &contextId, uint32_t &agentId, AgentType agentType,
|
/foundation/CastEngine/castengine_wifi_display/services/interaction/ |
H A D | sharing_adapter.h | 67 * @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 D | interaction.h | 94 int32_t CreateAgent(uint32_t &contextId, uint32_t &agentId, AgentType agentType, std::string sessionName) override;
|
H A D | interaction.cpp | 197 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 D | wfd_source_scene.h | 86 void OnInnerDestroy(uint32_t contextId, uint32_t agentId, AgentType agentType) final;
|
H A D | wfd_sink_scene.h | 85 void OnInnerDestroy(uint32_t contextId, uint32_t agentId, AgentType agentType) final;
|
H A D | wfd_source_scene.cpp | 555 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 D | wfd_sink_scene.cpp | 1029 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 D | wfd_source_scene_test.cpp | 594 sourceScene_->OnInnerDestroy(1, 1, AgentType::SRC_AGENT); in HWTEST_F()
|
H A D | wfd_sink_scene_test.cpp | 853 sinkScene_->OnInnerDestroy(1, 1, AgentType::SINK_AGENT); in HWTEST_F()
|
/foundation/CastEngine/castengine_wifi_display/tests/unittest/agent/ |
H A D | src_agent_unit_test.cpp | 87 ASSERT_TRUE(ret == AgentType::SRC_AGENT); in HWTEST_F()
|
H A D | sink_agent_unit_test.cpp | 87 ASSERT_TRUE(ret == AgentType::SINK_AGENT); in HWTEST_F()
|