/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | session_listener_controller.cpp | 26 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 D | session_manager_lite.cpp | 96 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 D | isession_listener.h | 24 class ISessionListener { class 26 using Ptr = std::shared_ptr<ISessionListener>; 28 virtual ~ISessionListener() = default;
|
H A D | base_session.h | 47 void SetSessionListener(std::weak_ptr<ISessionListener> listener) in SetSessionListener() 68 std::weak_ptr<ISessionListener> listener_;
|
/foundation/multimedia/av_session/services/session/server/ |
H A D | avsession_users_manager.h | 54 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 D | avsession_users_manager.cpp | 205 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 D | avsession_service_ext.cpp | 226 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 D | ISessionListener.h | 25 class COMM_EXPORT ISessionListener { class 27 ISessionListener() = default; 28 virtual ~ISessionListener() = default;
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/ |
H A D | session_service_impl.h | 24 #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 D | session_service_impl.cpp | 30 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 D | session_listener_controller.h | 28 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 D | session_manager_lite.h | 53 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 D | session_listener_stub_test.cpp | 133 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 D | softbus_client_info_manager.h | 36 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 D | session_listener_stub.cpp | 23 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 D | sendbytes_message_demo.c | 66 static ISessionListener g_sessionlistenerA = { 141 static ISessionListener g_sessionlistenerB = {
|
H A D | sendstream_demo.c | 61 static ISessionListener g_sessionlistenerA = { 130 static ISessionListener g_sessionlistenerB = {
|
H A D | openauthsession_demo.c | 60 static ISessionListener g_sessionlistenerA = { 125 static ISessionListener g_sessionlistenerB = {
|
H A D | sendfile_demo.c | 57 static ISessionListener g_sessionlistenerA = { 151 static ISessionListener g_sessionlistenerB = {
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/src/ |
H A D | mock_soft_bus.cpp | 24 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 D | scene_session_manager_lite_interface.h | 34 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 D | mock_session_listener.h | 25 class MockSessionListener : public ISessionListener {
|
/foundation/multimedia/av_session/services/session/ipc/base/ |
H A D | iavsession_service.h | 66 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 D | remote_session_command_process.h | 85 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 D | trans_qos_stat_server_test.cpp | 92 static ISessionListener g_hasQosCb = { 101 static ISessionListener g_noQosCb = {
|