Home
last modified time | relevance | path

Searched refs:agentType (Results 1 - 19 of 19) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/tests/unittest/context/
H A Dcontext_unit_test.cpp76 contextEventMsgSptr->agentType = SINK_AGENT; in HWTEST_F()
100 contextEventMsgSptr->agentType = SINK_AGENT; in HWTEST_F()
124 contextEventMsgSptr->agentType = SINK_AGENT; in HWTEST_F()
149 contextEventMsgSptr->agentType = SINK_AGENT; in HWTEST_F()
180 contextEventMsgSptr->agentType = SINK_AGENT; in HWTEST_F()
194 contextEventMsgSptr->agentType = SRC_AGENT; in HWTEST_F()
214 contextEventMsgSptr->agentType = SINK_AGENT; in HWTEST_F()
228 contextEventMsgSptr->agentType = SRC_AGENT; in HWTEST_F()
248 contextEventMsgSptr->agentType = SINK_AGENT; in HWTEST_F()
296 contextEventMsgSptr->agentType in HWTEST_F()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/context/
H A Dcontext.cpp66 eventMsg->agentId = HandleCreateAgent(eventMsg->className, eventMsg->agentType, eventMsg->agentId); in HandleEvent()
193 interactionMsg->agentType = eventMsg->agentType; in SendInteractionEvent()
240 uint32_t Context::HandleCreateAgent(const std::string &className, AgentType agentType, uint32_t sinkAgentId) in HandleCreateAgent() argument
242 SHARING_LOGI("contextId: %{public}u, agentType: %{public}s, sinkAgentId: %{public}u.", GetId(), in HandleCreateAgent()
243 std::string(magic_enum::enum_name(agentType)).c_str(), sinkAgentId); in HandleCreateAgent()
246 if (agentType == AgentType::SINK_AGENT) { in HandleCreateAgent()
299 "agentType: %{public}s agentId: %{public}u size: %{public}zu.", in HandleCreateAgent()
300 GetId(), className.c_str(), std::string(magic_enum::enum_name(agentType)).c_str(), agent->GetId(), in HandleCreateAgent()
334 AgentType agentType in HandleStateDestroyAgent() local
[all...]
H A Dcontext_manager.cpp140 if (!CheckAgentSize((AgentType)contextEventMsg->agentType)) { in HandleAgentCreate()
157 bool ContextManager::CheckAgentSize(AgentType agentType) in CheckAgentSize() argument
161 if (agentType == SINK_AGENT) { in CheckAgentSize()
H A Dcontext_manager.h55 bool CheckAgentSize(AgentType agentType);
H A Dcontext.h56 uint32_t HandleCreateAgent(const std::string &designation, AgentType agentType, uint32_t sinkAgentId);
/foundation/CastEngine/castengine_wifi_display/services/interaction/
H A Dinteraction.cpp109 auto agentType = interactionMsg->agentType; in HandleEvent() local
121 scene_->OnInnerDestroy(contextId, agentId, agentType); in HandleEvent()
131 scene_->OnInnerDestroy(contextId, agentId, agentType); in HandleEvent()
197 int32_t Interaction::CreateAgent(uint32_t &contextId, uint32_t &agentId, AgentType agentType, std::string sessionName) in CreateAgent() argument
204 contextMsg->agentType = agentType; in CreateAgent()
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;
/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; member
216 AgentType agentType = NONE_AGENT; member
/foundation/CastEngine/castengine_wifi_display/services/agent/
H A Dagent.h43 explicit Agent(AgentType agentType);
H A Dagent.cpp27 Agent::Agent(AgentType agentType) : agentType_(agentType) in Agent() argument
437 interactionMsg->agentType = GetAgentType(); in SendInteractionEvent()
644 contextMsg->agentType = agentType_; in SendContextEvent()
/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/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.cpp841 void WfdSourceScene::OnInnerDestroy(uint32_t contextId, uint32_t agentId, AgentType agentType) in OnInnerDestroy() argument
843 SHARING_LOGI("HandleInnerDestroy, contextId: %{public}u, agentId: %{public}u, agentType: %{public}s.", contextId, in OnInnerDestroy()
844 agentId, std::string(magic_enum::enum_name(agentType)).c_str()); in OnInnerDestroy()
H A Dwfd_sink_scene.cpp1240 void WfdSinkScene::OnInnerDestroy(uint32_t contextId, uint32_t agentId, AgentType agentType) in OnInnerDestroy() argument
1242 SHARING_LOGI("HandleInnerDestroy, contextId: %{public}u, agentId: %{public}u, agentType: %{public}s.", contextId, in OnInnerDestroy()
1243 agentId, std::string(magic_enum::enum_name(agentType)).c_str()); in OnInnerDestroy()
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_manager.cpp1087 bool ScreenSessionManager::IsFreezed(const int32_t& agentPid, const DisplayManagerAgentType& agentType) in IsFreezed() argument
1093 // 冻结的应用记录应用 pid 和注册的 agentType in IsFreezed()
1095 std::set agentTypes = { agentType }; in IsFreezed()
1098 pidAgentTypeMap_[agentPid].insert(agentType); in IsFreezed()
5583 for (auto agentType : pidAgentTypes) { in NotifyUnfreezedAgents()
5584 auto agents = dmAgentContainer_.GetAgentsByType(agentType); in NotifyUnfreezedAgents()
5591 if (agentType == DisplayManagerAgentType::DISPLAY_EVENT_LISTENER) { in NotifyUnfreezedAgents()
5593 } else if (agentType == DisplayManagerAgentType::DISPLAY_MODE_CHANGED_LISTENER) { in NotifyUnfreezedAgents()
5596 } else if (agentType == DisplayManagerAgentType::FOLD_STATUS_CHANGED_LISTENER) { in NotifyUnfreezedAgents()
5599 } else if (agentType in NotifyUnfreezedAgents()
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager/include/
H A Dscreen_session_manager.h375 bool IsFreezed(const int32_t& agentPid, const DisplayManagerAgentType& agentType);

Completed in 34 milliseconds