Lines Matching refs:notice

161     DSoftbusStopCooperateFinished notice {
164 context.eventMgr_.StopCooperateFinish(notice);
172 DSoftbusComeBack notice = std::get<DSoftbusComeBack>(event.event);
174 if (!context.IsPeer(notice.networkId)) {
177 FI_HILOGI("[come back] From \'%{public}s\'", Utility::Anonymize(notice.networkId).c_str());
178 context.OnRemoteStartCooperate(notice.extra);
179 parent_.OnSetCooperatePriv(notice.extra.priv);
181 .networkId = notice.networkId,
186 context.RemoteStartSuccess(notice);
187 context.eventMgr_.RemoteStartFinish(notice);
194 DSoftbusStartCooperate notice = std::get<DSoftbusStartCooperate>(event.event);
196 if (context.IsLocal(notice.networkId)) {
199 FI_HILOGI("[remote start] Request from \'%{public}s\'", Utility::Anonymize(notice.networkId).c_str());
200 if (context.IsPeer(notice.networkId)) {
205 context.OnRemoteStartCooperate(notice.extra);
206 context.eventMgr_.RemoteStart(notice);
212 context.RemoteStartSuccess(notice);
214 context.eventMgr_.RemoteStartFinish(notice);
222 DSoftbusStopCooperate notice = std::get<DSoftbusStopCooperate>(event.event);
224 if (!context.IsPeer(notice.networkId)) {
227 FI_HILOGI("[remote stop] Notification from \'%{public}s\'", Utility::Anonymize(notice.networkId).c_str());
228 context.eventMgr_.RemoteStop(notice);
231 context.eventMgr_.RemoteStopFinish(notice);
238 DSoftbusRelayCooperate notice = std::get<DSoftbusRelayCooperate>(event.event);
239 if (!context.IsPeer(notice.networkId)) {
243 .targetNetworkId = notice.targetNetworkId,
246 int32_t ret = context.dsoftbus_.OpenSession(notice.targetNetworkId);
249 Utility::Anonymize(notice.targetNetworkId).c_str());
251 context.dsoftbus_.RelayCooperateFinish(notice.networkId, resp);
256 context.dsoftbus_.RelayCooperateFinish(notice.networkId, resp);
258 context.RelayCooperate(notice);
266 InputHotplugEvent notice = std::get<InputHotplugEvent>(event.event);
267 if (notice.deviceId != context.StartDeviceId()) {
284 InputPointerEvent notice = std::get<InputPointerEvent>(event.event);
286 if ((notice.sourceType != MMI::PointerEvent::SOURCE_TYPE_MOUSE) ||
287 (notice.deviceId == context.StartDeviceId())) {
296 DDMBoardOfflineEvent notice = std::get<DDMBoardOfflineEvent>(event.event);
298 if (!context.IsPeer(notice.networkId)) {
301 FI_HILOGI("[board offline] Peer(\'%{public}s\') is offline", Utility::Anonymize(notice.networkId).c_str());
307 DDPCooperateSwitchChanged notice = std::get<DDPCooperateSwitchChanged>(event.event);
309 if (!context.IsPeer(notice.networkId) || notice.normal) {
312 FI_HILOGI("[switch off] Peer(\'%{public}s\') switch off", Utility::Anonymize(notice.networkId).c_str());
318 DSoftbusSessionClosed notice = std::get<DSoftbusSessionClosed>(event.event);
320 if (!context.IsPeer(notice.networkId)) {
324 Utility::Anonymize(notice.networkId).c_str());
338 DSoftbusStopCooperate notice {};
339 context.dsoftbus_.StopCooperate(context.Peer(), notice);