Home
last modified time | relevance | path

Searched refs:ISessionListener (Results 1 - 25 of 112) sorted by relevance

12345

/foundation/window/window_manager/window_scene/session_manager/src/
H A Dsession_listener_controller.cpp26 WSError SessionListenerController::AddSessionListener(const sptr<ISessionListener>& listener) in AddSessionListener()
35 [&listener](const sptr<ISessionListener>& item) { in AddSessionListener()
59 void SessionListenerController::DelSessionListener(const sptr<ISessionListener>& listener) in DelSessionListener()
68 [&listener](const sptr<ISessionListener>& item) { in DelSessionListener()
86 CallListeners(&ISessionListener::OnMissionCreated, persistentId); in NotifySessionCreated()
95 CallListeners(&ISessionListener::OnMissionDestroyed, persistentId); in NotifySessionDestroyed()
101 CallListeners(&ISessionListener::OnMissionDestroyed, id); in HandleUnInstallApp()
111 CallListeners(&ISessionListener::OnMissionSnapshotChanged, persistentId); in NotifySessionSnapshotChanged()
120 CallListeners(&ISessionListener::OnMissionMovedToFront, persistentId); in NotifySessionMovedToFront()
129 CallListeners(&ISessionListener in NotifySessionFocused()
[all...]
H A Dsession_manager_lite.cpp96 WSError RegisterSessionListener(const sptr<ISessionListener>& listener, bool isRecover = false) override
110 WSError UnRegisterSessionListener(const sptr<ISessionListener>& listener) override
162 void SessionManagerLite::SaveSessionListener(const sptr<ISessionListener>& listener) in SaveSessionListener()
170 [&listener](const sptr<ISessionListener>& item) { in SaveSessionListener()
180 void SessionManagerLite::DeleteSessionListener(const sptr<ISessionListener>& listener) in DeleteSessionListener()
185 [&listener](const sptr<ISessionListener>& item) { in DeleteSessionListener()
/foundation/CastEngine/castengine_wifi_display/services/agent/session/
H A Disession_listener.h24 class ISessionListener { class
26 using Ptr = std::shared_ptr<ISessionListener>;
28 virtual ~ISessionListener() = default;
H A Dbase_session.h47 void SetSessionListener(std::weak_ptr<ISessionListener> listener) in SetSessionListener()
68 std::weak_ptr<ISessionListener> listener_;
/foundation/multimedia/av_session/services/session/server/
H A Davsession_users_manager.h54 void AddSessionListener(pid_t pid, const sptr<ISessionListener>& listener);
56 void AddSessionListenerForAllUsers(pid_t pid, const sptr<ISessionListener>& listener);
60 std::map<pid_t, sptr<ISessionListener>>& GetSessionListener();
62 std::map<pid_t, sptr<ISessionListener>>& GetSessionListenerForCurUser();
64 std::map<pid_t, sptr<ISessionListener>>& GetSessionListenerForAllUsers();
87 std::map<int32_t, std::map<pid_t, sptr<ISessionListener>>> sessionListenersMapByUserId_;
88 std::map<pid_t, sptr<ISessionListener>> sessionListenersMap_;
H A Davsession_users_manager.cpp205 void AVSessionUsersManager::AddSessionListener(pid_t pid, const sptr<ISessionListener>& listener) in AddSessionListener()
213 std::map<pid_t, sptr<ISessionListener>> listenerMap; in AddSessionListener()
219 void AVSessionUsersManager::AddSessionListenerForAllUsers(pid_t pid, const sptr<ISessionListener>& listener) in AddSessionListenerForAllUsers()
237 std::map<pid_t, sptr<ISessionListener>>& AVSessionUsersManager::GetSessionListener() in GetSessionListener()
242 std::map<pid_t, sptr<ISessionListener>>& AVSessionUsersManager::GetSessionListenerForCurUser() in GetSessionListenerForCurUser()
249 std::map<pid_t, sptr<ISessionListener>> listenerMap; in GetSessionListenerForCurUser()
256 std::map<pid_t, sptr<ISessionListener>>& AVSessionUsersManager::GetSessionListenerForAllUsers() in GetSessionListenerForAllUsers()
H A Davsession_service_ext.cpp226 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener(); in NotifyDeviceAvailable()
231 std::map<pid_t, sptr<ISessionListener>> listenerMapForAll = GetUsersManager().GetSessionListenerForAllUsers(); in NotifyDeviceAvailable()
242 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener(); in NotifyDeviceLogEvent()
247 std::map<pid_t, sptr<ISessionListener>> listenerMapForAll = GetUsersManager().GetSessionListenerForAllUsers(); in NotifyDeviceLogEvent()
261 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener(); in NotifyDeviceOffline()
267 std::map<pid_t, sptr<ISessionListener>> listenerMapForAll = GetUsersManager().GetSessionListenerForAllUsers(); in NotifyDeviceOffline()
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/include/
H A DISessionListener.h25 class COMM_EXPORT ISessionListener { class
27 ISessionListener() = default;
28 virtual ~ISessionListener() = default;
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/
H A Dsession_service_impl.h24 #include "ISessionListener.h"
36 std::shared_ptr<ISessionListener> listener) override;
59 static std::map<std::string, std::shared_ptr<ISessionListener>> listenerMap_;
64 int32_t GetSessionListener(int32_t sessionId, std::shared_ptr<ISessionListener> &listener,
68 std::shared_ptr<ISessionListener> &listener, std::shared_ptr<Session> &session);
H A Dsession_service_impl.cpp30 std::map<std::string, std::shared_ptr<ISessionListener>> SessionServiceImpl::listenerMap_;
49 const std::string &pkgName, const std::string &sessionName, std::shared_ptr<ISessionListener> listener) in CreateSessionServer()
59 listenerMap_.insert(std::pair<std::string, std::shared_ptr<ISessionListener>>(sessionName, listener)); in CreateSessionServer()
188 std::shared_ptr<ISessionListener> listener; in OpenSessionCallback()
217 std::shared_ptr<ISessionListener> listener; in CloseSessionCallback()
227 std::shared_ptr<ISessionListener> listener; in BytesReceivedCallback()
239 std::shared_ptr<ISessionListener> listener; in MessageReceivedCallback()
250 int32_t sessionId, std::shared_ptr<ISessionListener> &listener, std::shared_ptr<Session> &session) in GetSessionListener()
267 int32_t sessionId, std::shared_ptr<ISessionListener> &listener, std::shared_ptr<Session> &session) in GetSessionListenerOnSessionOpened()
/foundation/window/window_manager/window_scene/session_manager/include/
H A Dsession_listener_controller.h28 using ISessionListener = AAFwk::IMissionListener;
34 WSError AddSessionListener(const sptr<ISessionListener>& listener);
36 void DelSessionListener(const sptr<ISessionListener>& listener);
82 std::vector<sptr<ISessionListener>> sessionListeners_;
H A Dsession_manager_lite.h53 void SaveSessionListener(const sptr<ISessionListener>& listener);
54 void DeleteSessionListener(const sptr<ISessionListener>& listener);
92 std::vector<sptr<ISessionListener>> sessionListeners_;
/foundation/multimedia/av_session/services/session/server/test/
H A Dsession_listener_stub_test.cpp133 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); in HWTEST_F()
153 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); in HWTEST_F()
173 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); in HWTEST_F()
193 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); in HWTEST_F()
213 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); in HWTEST_F()
233 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); in HWTEST_F()
253 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); in HWTEST_F()
/foundation/communication/dsoftbus/core/frame/standard/client_manager/include/
H A Dsoftbus_client_info_manager.h36 int32_t SoftbusAddServiceInner(const std::string &pkgName, ISessionListener *listener, int32_t pid);
38 int32_t GetSoftbusInnerObject(const std::string &pkgName, ISessionListener *listener);
49 std::map<std::string, ISessionListener> innerObjectMap_;
/foundation/multimedia/av_session/services/session/ipc/stub/
H A Dsession_listener_stub.cpp23 auto localDescriptor = ISessionListener::GetDescriptor(); in CheckInterfaceToken()
38 if (code >= static_cast<uint32_t>(ISessionListener::LISTENER_CMD_ON_CREATE) in OnRemoteRequest()
39 && code < static_cast<uint32_t>(ISessionListener::LISTENER_CMD_MAX)) { in OnRemoteRequest()
/foundation/communication/dsoftbus/tests/sdk/transmission/demo/transport/
H A Dsendbytes_message_demo.c66 static ISessionListener g_sessionlistenerA = {
141 static ISessionListener g_sessionlistenerB = {
H A Dsendstream_demo.c61 static ISessionListener g_sessionlistenerA = {
130 static ISessionListener g_sessionlistenerB = {
H A Dopenauthsession_demo.c60 static ISessionListener g_sessionlistenerA = {
125 static ISessionListener g_sessionlistenerB = {
H A Dsendfile_demo.c57 static ISessionListener g_sessionlistenerA = {
151 static ISessionListener g_sessionlistenerB = {
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/src/
H A Dmock_soft_bus.cpp24 static std::map<std::string, std::map<std::string, const ISessionListener *>> sessionListeners;
86 int CreateSessionServer(const char *pkgName, const char *sessionName, const ISessionListener *listener) in CreateSessionServer()
/foundation/window/window_manager/window_scene/session_manager/include/zidl/
H A Dscene_session_manager_lite_interface.h34 using ISessionListener = AAFwk::IMissionListener;
94 virtual WSError RegisterSessionListener(const sptr<ISessionListener>& listener, bool isRecover = false) = 0;
95 virtual WSError UnRegisterSessionListener(const sptr<ISessionListener>& listener) = 0;
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/session/mock/
H A Dmock_session_listener.h25 class MockSessionListener : public ISessionListener {
/foundation/multimedia/av_session/services/session/ipc/base/
H A Diavsession_service.h66 virtual int32_t RegisterSessionListener(const sptr<ISessionListener>& listener) = 0;
68 virtual int32_t RegisterSessionListenerForAllUsers(const sptr<ISessionListener>& listener) = 0;
/foundation/multimedia/av_session/services/session/server/remote/
H A Dremote_session_command_process.h85 int32_t RegisterSessionListener(const sptr<ISessionListener>& listener) override
90 int32_t RegisterSessionListenerForAllUsers(const sptr<ISessionListener>& listener) override
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/qos/
H A Dtrans_qos_stat_server_test.cpp92 static ISessionListener g_hasQosCb = {
101 static ISessionListener g_noQosCb = {

Completed in 10 milliseconds

12345