Home
last modified time | relevance | path

Searched refs:SessionEvent (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/
H A Dsession_processor.h29 struct SessionEvent { struct
36 SessionEvent() = delete; argument
48 std::function<void(SessionEvent)> processorSessionAdded, in SessionProcessor() argument
60 void Post(const SessionEvent event) in Post()
97 void ProcessSessionEvent(SessionEvent event, const int32_t zoneID) in ProcessSessionEvent()
100 case SessionEvent::Type::REMOVE : in ProcessSessionEvent()
103 case SessionEvent::Type::ADD : in ProcessSessionEvent()
106 case SessionEvent::Type::CLOSE_WAKEUP_SOURCE : in ProcessSessionEvent()
140 std::queue<SessionEvent> sessionEvents_;
142 std::function<void(SessionEvent)> processorSessionAdded_;
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2_mock/
H A Ddev_session_v2_mock.c22 IMPLEMENT_HC_VECTOR(EventList, SessionEvent, 3)
25 int32_t SessionSwitchState(SessionImpl *impl, SessionEvent *event, CJson *sessionMsg)
/ohos5.0/base/security/device_auth/services/session_manager/inc/session/
H A Ddev_session_def.h29 } SessionEvent; typedef
31 DECLARE_HC_VECTOR(EventList, SessionEvent)
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/
H A Ddev_session_v2.c70 IMPLEMENT_HC_VECTOR(EventList, SessionEvent, 3)
76 …int32_t (*processFunc)(SessionImpl *self, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy …
292 SessionEvent event = { START_EVENT, NULL }; in RestartSession()
1724 static int32_t ProcHandshakeReqEventInner(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessi… in ProcHandshakeReqEventInner()
1803 static int32_t ProcHandshakeRspEventInner(SessionImpl *impl, SessionEvent *inputEvent) in ProcHandshakeRspEventInner()
1962 static int32_t ProcExpandEventInner(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, in ProcExpandEventInner()
1986 static int32_t ProcFailEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPo… in ProcFailEvent()
1995 static int32_t ProcStartEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpP… in ProcStartEvent()
2044 static int32_t ProcAuthEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPo… in ProcAuthEvent()
2063 static int32_t ProcExpandEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, Jump… in ProcExpandEvent()
[all …]
/ohos5.0/base/security/device_auth/services/session_manager/inc/session/v2/
H A Ddev_session_v2.h58 int32_t SessionSwitchState(SessionImpl *impl, SessionEvent *event, CJson *sessionMsg);
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/zidl/
H A Dsession_proxy.h48 WSError OnSessionEvent(SessionEvent event) override;
49 WSError SyncSessionEvent(SessionEvent event) override;
H A Dsession_interface.h50 virtual WSError OnSessionEvent(SessionEvent event) { return WSError::WS_OK; } in OnSessionEvent()
60 virtual WSError SyncSessionEvent(SessionEvent event) { return WSError::WS_OK; } in SyncSessionEvent()
/ohos5.0/foundation/window/window_manager/window_scene/test/mock/
H A Dmock_session.h49 MOCK_METHOD1(OnSessionEvent, WSError(SessionEvent event));
/ohos5.0/foundation/window/window_manager/test/fuzztest/window_scene/sessioninterface_fuzzer/
H A Dsessioninterface_fuzzer.cpp200 SessionEvent event = source.GetObject<SessionEvent>(); in ProxyInterfaceFuzzTestPart1()
/ohos5.0/base/security/device_auth/services/session_manager/src/session/
H A Ddev_session_fwk.c176 SessionEvent event; in ProcEventList()
209 SessionEvent startEvent = { START_EVENT, NULL }; in StartV2Session()
369 SessionEvent event = { eventType, eventData }; in ParseAllRecvEvent()
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_scene_session_impl.cpp1986 hostSession->OnSessionEvent(SessionEvent::EVENT_MAXIMIZE); in SetLayoutFullScreen()
2182 hostSession->OnSessionEvent(SessionEvent::EVENT_MAXIMIZE); in SetFullScreen()
2242 hostSession->OnSessionEvent(SessionEvent::EVENT_MINIMIZE); in Minimize()
2319 hostSession->OnSessionEvent(SessionEvent::EVENT_MAXIMIZE); in Maximize()
2344 hostSession_->OnSessionEvent(SessionEvent::EVENT_MAXIMIZE); in MaximizeFloating()
2382 hostSession->OnSessionEvent(SessionEvent::EVENT_RECOVER); in Recover()
2444 hostSession->OnSessionEvent(SessionEvent::EVENT_RECOVER); in Recover()
2538 hostSession->OnSessionEvent(SessionEvent::EVENT_START_MOVE); in StartMove()
2565 hostSession->OnSessionEvent(SessionEvent::EVENT_CLOSE); in MainWindowCloseInner()
2576 hostSession->OnSessionEvent(SessionEvent::EVENT_CLOSE); in MainWindowCloseInner()
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Dsession_proxy_test.cpp67 SessionEvent event = SessionEvent::EVENT_MAXIMIZE;
H A Dscene_session_test.cpp1408 sceneSession->OnSessionEvent(SessionEvent::EVENT_START_MOVE);
1413 ASSERT_EQ(sceneSession->OnSessionEvent(SessionEvent::EVENT_START_MOVE), WSError::WS_OK);
1414 ASSERT_EQ(sceneSession->OnSessionEvent(SessionEvent::EVENT_END_MOVE), WSError::WS_OK);
1436 SessionEvent event = SessionEvent::EVENT_START_MOVE;
H A Dsession_test.cpp508 auto result = scensession->OnSessionEvent(SessionEvent::EVENT_MINIMIZE);
515 result = scensession->OnSessionEvent(SessionEvent::EVENT_MINIMIZE);
522 result = scensession->OnSessionEvent(SessionEvent::EVENT_MINIMIZE);
H A Dscene_session_test2.cpp1502 SessionEvent event = SessionEvent::EVENT_START_MOVE;
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_session.h188 WSError OnSessionEvent(SessionEvent event) override;
189 WSError SyncSessionEvent(SessionEvent event) override;
661 void HandleSessionDragEvent(SessionEvent event);
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/
H A Daudio_policy_server.h221 void ProcessSessionAdded(SessionEvent sessionEvent);
594 [this] (SessionEvent sessionEvent) { this->ProcessSessionAdded(sessionEvent); },
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_session.cpp569 WSError SceneSession::OnSessionEvent(SessionEvent event) in OnSessionEvent()
578 if (event == SessionEvent::EVENT_START_MOVE) { in OnSessionEvent()
611 void SceneSession::HandleSessionDragEvent(SessionEvent event) in HandleSessionDragEvent()
614 (event == SessionEvent::EVENT_DRAG || event == SessionEvent::EVENT_DRAG_START)) { in HandleSessionDragEvent()
617 if (event == SessionEvent::EVENT_DRAG_START) { in HandleSessionDragEvent()
626 WSError SceneSession::SyncSessionEvent(SessionEvent event) in SyncSessionEvent()
628 if (event != SessionEvent::EVENT_START_MOVE) { in SyncSessionEvent()
2647 OnSessionEvent(SessionEvent::EVENT_DRAG); in OnMoveDragCallback()
2663 OnSessionEvent(SessionEvent::EVENT_END_MOVE); in OnMoveDragCallback()
2666 OnSessionEvent(SessionEvent::EVENT_DRAG_START); in OnMoveDragCallback()
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/include/
H A Dws_common.h399 enum class SessionEvent : uint32_t { enum
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/zidl/
H A Dsession_stub.cpp389 WSError errCode = OnSessionEvent(static_cast<SessionEvent>(eventId)); in HandleSessionEvent()
398 WSError errCode = SyncSessionEvent(static_cast<SessionEvent>(eventId)); in HandleSyncSessionEvent()
H A Dsession_proxy.cpp615 WSError SessionProxy::OnSessionEvent(SessionEvent event) in OnSessionEvent()
642 WSError SessionProxy::SyncSessionEvent(SessionEvent event) in SyncSessionEvent()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/
H A Daudio_policy_server.cpp1339 void AudioPolicyServer::ProcessSessionAdded(SessionEvent sessionEvent) in ProcessSessionAdded()