Home
last modified time | relevance | path

Searched refs:ISessionListener (Results 1 – 25 of 103) sorted by relevance

12345

/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dsession_listener_controller.cpp49 [&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 Dsession_manager_lite.cpp90 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 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>& … 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 Dsession_listener_controller.h31 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 Dsession_manager_lite.h53 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 Dsession_listener_stub_test.cpp133 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 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> 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 Dsession_service_impl.h36 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 DISessionListener.h25 class COMM_EXPORT ISessionListener {
27 ISessionListener() = default;
28 virtual ~ISessionListener() = default;
/ohos5.0/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_;
/ohos5.0/base/msdp/device_status/rust/subsystem/dsoftbus/sys/src/
H A Dbinding.rs121 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 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()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/zidl/
H A Dscene_session_manager_lite_interface.h34 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 Dopenauthsession_demo.c60 static ISessionListener g_sessionlistenerA = {
125 static ISessionListener g_sessionlistenerB = {
H A Dsendstream_demo.c61 static ISessionListener g_sessionlistenerA = {
130 static ISessionListener g_sessionlistenerB = {
H A Dsendbytes_message_demo.c66 static ISessionListener g_sessionlistenerA = {
141 static ISessionListener g_sessionlistenerB = {
H A Dsendfile_demo.c57 static ISessionListener g_sessionlistenerA = {
151 static ISessionListener g_sessionlistenerB = {
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/qos/
H A Dtrans_qos_stat_client_test.cpp110 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 Dtrans_qos_stat_server_test.cpp91 static ISessionListener g_hasQosCb = {
100 static ISessionListener g_noQosCb = {
/ohos5.0/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 *liste… in CreateSessionServer()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/ipc/standard/src/
H A Dtrans_client_proxy.cpp57 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 Dclient_trans_session_manager.h104 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 Dsession.h132 } 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 Diavsession_service.h64 virtual int32_t RegisterSessionListener(const sptr<ISessionListener>& listener) = 0;
66 virtual int32_t RegisterSessionListenerForAllUsers(const sptr<ISessionListener>& listener) = 0;

12345