/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/ |
H A D | session_processor.h | 29 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 D | dev_session_v2_mock.c | 22 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 D | dev_session_def.h | 29 } SessionEvent; typedef 31 DECLARE_HC_VECTOR(EventList, SessionEvent)
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/ |
H A D | dev_session_v2.c | 70 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 D | dev_session_v2.h | 58 int32_t SessionSwitchState(SessionImpl *impl, SessionEvent *event, CJson *sessionMsg);
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/zidl/ |
H A D | session_proxy.h | 48 WSError OnSessionEvent(SessionEvent event) override; 49 WSError SyncSessionEvent(SessionEvent event) override;
|
H A D | session_interface.h | 50 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 D | mock_session.h | 49 MOCK_METHOD1(OnSessionEvent, WSError(SessionEvent event));
|
/ohos5.0/foundation/window/window_manager/test/fuzztest/window_scene/sessioninterface_fuzzer/ |
H A D | sessioninterface_fuzzer.cpp | 200 SessionEvent event = source.GetObject<SessionEvent>(); in ProxyInterfaceFuzzTestPart1()
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/ |
H A D | dev_session_fwk.c | 176 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 D | window_scene_session_impl.cpp | 1986 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 D | session_proxy_test.cpp | 67 SessionEvent event = SessionEvent::EVENT_MAXIMIZE;
|
H A D | scene_session_test.cpp | 1408 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 D | session_test.cpp | 508 auto result = scensession->OnSessionEvent(SessionEvent::EVENT_MINIMIZE); 515 result = scensession->OnSessionEvent(SessionEvent::EVENT_MINIMIZE); 522 result = scensession->OnSessionEvent(SessionEvent::EVENT_MINIMIZE);
|
H A D | scene_session_test2.cpp | 1502 SessionEvent event = SessionEvent::EVENT_START_MOVE;
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | scene_session.h | 188 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 D | audio_policy_server.h | 221 void ProcessSessionAdded(SessionEvent sessionEvent); 594 [this] (SessionEvent sessionEvent) { this->ProcessSessionAdded(sessionEvent); },
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | scene_session.cpp | 569 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 D | ws_common.h | 399 enum class SessionEvent : uint32_t { enum
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/zidl/ |
H A D | session_stub.cpp | 389 WSError errCode = OnSessionEvent(static_cast<SessionEvent>(eventId)); in HandleSessionEvent() 398 WSError errCode = SyncSessionEvent(static_cast<SessionEvent>(eventId)); in HandleSyncSessionEvent()
|
H A D | session_proxy.cpp | 615 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 D | audio_policy_server.cpp | 1339 void AudioPolicyServer::ProcessSessionAdded(SessionEvent sessionEvent) in ProcessSessionAdded()
|