/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | session_listener_controller.cpp | 49 [&listener](const sptr<ISessionListener>& item) { in AddSessionListener() 85 [&listener](const sptr<ISessionListener> item) { in DelSessionListener() 111 self->CallListeners(&ISessionListener::OnMissionCreated, persistentId); in NotifySessionCreated() 133 self->CallListeners(&ISessionListener::OnMissionDestroyed, persistentId); in NotifySessionDestroyed() 155 self->CallListeners(&ISessionListener::OnMissionDestroyed, id); in HandleUnInstallApp() 200 self->CallListeners(&ISessionListener::OnMissionMovedToFront, persistentId); in NotifySessionMovedToFront() 222 self->CallListeners(&ISessionListener::OnMissionFocused, persistentId); in NotifySessionFocused() 244 self->CallListeners(&ISessionListener::OnMissionUnfocused, persistentId); in NotifySessionUnfocused() 289 self->CallListeners(&ISessionListener::OnMissionClosed, persistentId); in NotifySessionClosed() 311 self->CallListeners(&ISessionListener::OnMissionLabelUpdated, persistentId); in NotifySessionLabelUpdated() [all …]
|
H A D | session_manager_lite.cpp | 90 WSError RegisterSessionListener(const sptr<ISessionListener>& listener) override in RegisterSessionListener() 100 WSError UnRegisterSessionListener(const sptr<ISessionListener>& listener) override in UnRegisterSessionListener() 151 void SessionManagerLite::SaveSessionListener(const sptr<ISessionListener>& listener) in SaveSessionListener() 155 [&listener](const sptr<ISessionListener>& item) { in SaveSessionListener() 165 void SessionManagerLite::DeleteSessionListener(const sptr<ISessionListener>& listener) in DeleteSessionListener() 169 [&listener](const sptr<ISessionListener>& item) { in DeleteSessionListener()
|
/ohos5.0/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>& … 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()
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | session_listener_controller.h | 31 using ISessionListener = AAFwk::IMissionListener; variable 40 WSError AddSessionListener(const sptr<ISessionListener>& listener); 42 void DelSessionListener(const sptr<ISessionListener>& listener); 84 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_;
|
/ohos5.0/foundation/multimedia/av_session/services/session/server/test/ |
H A D | session_listener_stub_test.cpp | 133 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); 153 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); 173 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); 193 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); 213 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); 233 data.WriteInterfaceToken(ISessionListener::GetDescriptor()); 253 data.WriteInterfaceToken(ISessionListener::GetDescriptor());
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/ |
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> list… in CreateSessionServer() 59 …listenerMap_.insert(std::pair<std::string, std::shared_ptr<ISessionListener>>(sessionName, listene… 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()
|
H A D | session_service_impl.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);
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/cpp/include/ |
H A D | ISessionListener.h | 25 class COMM_EXPORT ISessionListener { 27 ISessionListener() = default; 28 virtual ~ISessionListener() = default;
|
/ohos5.0/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_;
|
/ohos5.0/base/msdp/device_status/rust/subsystem/dsoftbus/sys/src/ |
H A D | binding.rs | 121 pub struct ISessionListener { struct 156 impl Default for ISessionListener { implementation 158 ISessionListener { in default() 182 session_listener: *const ISessionListener) -> i32; in CreateSessionServer()
|
/ohos5.0/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()
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
H A D | scene_session_manager_lite_interface.h | 34 using ISessionListener = AAFwk::IMissionListener; variable 96 virtual WSError RegisterSessionListener(const sptr<ISessionListener>& listener) = 0; 97 virtual WSError UnRegisterSessionListener(const sptr<ISessionListener>& listener) = 0;
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/demo/transport/ |
H A D | openauthsession_demo.c | 60 static ISessionListener g_sessionlistenerA = { 125 static ISessionListener g_sessionlistenerB = {
|
H A D | sendstream_demo.c | 61 static ISessionListener g_sessionlistenerA = { 130 static ISessionListener g_sessionlistenerB = {
|
H A D | sendbytes_message_demo.c | 66 static ISessionListener g_sessionlistenerA = { 141 static ISessionListener g_sessionlistenerB = {
|
H A D | sendfile_demo.c | 57 static ISessionListener g_sessionlistenerA = { 151 static ISessionListener g_sessionlistenerB = {
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/qos/ |
H A D | trans_qos_stat_client_test.cpp | 110 ISessionListener *g_noQosCb = nullptr; 157 ISessionListener *g_hasQosCb = nullptr; 206 ISessionListener *g_hasQosCb = nullptr; 260 ISessionListener *g_hasQosCb = nullptr; 321 ISessionListener *g_hasQosCb = nullptr;
|
H A D | trans_qos_stat_server_test.cpp | 91 static ISessionListener g_hasQosCb = { 100 static ISessionListener g_noQosCb = {
|
/ohos5.0/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 *liste… in CreateSessionServer()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/ipc/standard/src/ |
H A D | trans_client_proxy.cpp | 57 ISessionListener object; in ClientIpcOnChannelOpened() 96 ISessionListener object; in ClientIpcOnChannelOpenFailed() 134 ISessionListener object; in ClientIpcOnChannelClosed() 181 ISessionListener object; in ClientIpcOnChannelMsgReceived()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/include/ |
H A D | client_trans_session_manager.h | 104 ISessionListener session; 198 int32_t ClientGetSessionCallbackById(int32_t sessionId, ISessionListener *callback); 200 int32_t ClientGetSessionCallbackByName(const char *sessionName, ISessionListener *callback); 203 const ISessionListener *listener);
|
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/mock/ |
H A D | session.h | 132 } ISessionListener; typedef 147 int CreateSessionServer(const char *pkgName, const char *sessionName, const ISessionListener *liste…
|
/ohos5.0/foundation/multimedia/av_session/services/session/ipc/base/ |
H A D | iavsession_service.h | 64 virtual int32_t RegisterSessionListener(const sptr<ISessionListener>& listener) = 0; 66 virtual int32_t RegisterSessionListenerForAllUsers(const sptr<ISessionListener>& listener) = 0;
|