/foundation/multimodalinput/input/intention/cooperate/plugin/src/ |
H A D | cooperate_in.cpp | 169 DSoftbusComeBack notice { in OnComeBack() 174 context.OnStartCooperate(notice.extra); in OnComeBack() 175 if (context.dsoftbus_.ComeBack(context.Peer(), notice) != RET_OK) { in OnComeBack() 176 notice.success = false; in OnComeBack() 177 notice.errCode = static_cast<int32_t>(CoordinationErrCode::SEND_PACKET_FAILED); in OnComeBack() 179 context.eventMgr_.StartCooperateFinish(notice); in OnComeBack() 206 DSoftbusStopCooperateFinished notice { in OnStop() 209 context.eventMgr_.StopCooperateFinish(notice); in OnStop() 217 DSoftbusStartCooperate notice = std::get<DSoftbusStartCooperate>(event.event); in OnRemoteStart() local 219 if (context.IsPeer(notice in OnRemoteStart() 237 DSoftbusStopCooperate notice = std::get<DSoftbusStopCooperate>(event.event); OnRemoteStop() local 261 InputPointerEvent notice = std::get<InputPointerEvent>(event.event); OnPointerEvent() local 275 DDMBoardOfflineEvent notice = std::get<DDMBoardOfflineEvent>(event.event); OnBoardOffline() local 286 DDPCooperateSwitchChanged notice = std::get<DDPCooperateSwitchChanged>(event.event); OnSwitchChanged() local 297 DSoftbusSessionClosed notice = std::get<DSoftbusSessionClosed>(event.event); OnSoftbusSessionClosed() local 311 DSoftbusSyncInputDevice notice = std::get<DSoftbusSyncInputDevice>(event.event); OnRemoteInputDevice() local 321 DSoftbusHotPlugEvent notice = std::get<DSoftbusHotPlugEvent>(event.event); OnRemoteHotPlug() local 330 UpdateCooperateFlagEvent notice = std::get<UpdateCooperateFlagEvent>(event.event); OnUpdateCooperateFlag() local 412 DSoftbusStartCooperate notice = std::get<DSoftbusStartCooperate>(event.event); OnRemoteStart() local 437 DSoftbusStopCooperate notice = std::get<DSoftbusStopCooperate>(event.event); OnRemoteStop() local 461 InputPointerEvent notice = std::get<InputPointerEvent>(event.event); OnPointerEvent() local 475 DDMBoardOfflineEvent notice = std::get<DDMBoardOfflineEvent>(event.event); OnBoardOffline() local 489 DDPCooperateSwitchChanged notice = std::get<DDPCooperateSwitchChanged>(event.event); OnSwitchChanged() local 505 DSoftbusSessionClosed notice = std::get<DSoftbusSessionClosed>(event.event); OnSoftbusSessionClosed() local 519 DSoftbusRelayCooperateFinished notice = std::get<DSoftbusRelayCooperateFinished>(event.event); OnResponse() local [all...] |
H A D | cooperate_out.cpp | 161 DSoftbusStopCooperateFinished notice { in OnStop() 164 context.eventMgr_.StopCooperateFinish(notice); in OnStop() 172 DSoftbusComeBack notice = std::get<DSoftbusComeBack>(event.event); in OnComeBack() local 174 if (!context.IsPeer(notice.networkId)) { in OnComeBack() 177 FI_HILOGI("[come back] From \'%{public}s\'", Utility::Anonymize(notice.networkId).c_str()); in OnComeBack() 178 context.OnRemoteStartCooperate(notice.extra); in OnComeBack() 179 parent_.OnSetCooperatePriv(notice.extra.priv); in OnComeBack() 181 .networkId = notice.networkId, in OnComeBack() 186 context.RemoteStartSuccess(notice); in OnComeBack() 187 context.eventMgr_.RemoteStartFinish(notice); in OnComeBack() 194 DSoftbusStartCooperate notice = std::get<DSoftbusStartCooperate>(event.event); OnRemoteStart() local 222 DSoftbusStopCooperate notice = std::get<DSoftbusStopCooperate>(event.event); OnRemoteStop() local 238 DSoftbusRelayCooperate notice = std::get<DSoftbusRelayCooperate>(event.event); OnRelay() local 266 InputHotplugEvent notice = std::get<InputHotplugEvent>(event.event); OnHotplug() local 284 InputPointerEvent notice = std::get<InputPointerEvent>(event.event); OnPointerEvent() local 296 DDMBoardOfflineEvent notice = std::get<DDMBoardOfflineEvent>(event.event); OnBoardOffline() local 307 DDPCooperateSwitchChanged notice = std::get<DDPCooperateSwitchChanged>(event.event); OnSwitchChanged() local 318 DSoftbusSessionClosed notice = std::get<DSoftbusSessionClosed>(event.event); OnSoftbusSessionClosed() local [all...] |
H A D | mouse_location.cpp | 103 void MouseLocation::OnSoftbusSessionClosed(const DSoftbusSessionClosed ¬ice) in OnSoftbusSessionClosed() argument 107 FI_HILOGI("Session to %{public}s closed", Utility::Anonymize(notice.networkId).c_str()); in OnSoftbusSessionClosed() 108 if (remoteSubscribers_.find(notice.networkId) != remoteSubscribers_.end()) { in OnSoftbusSessionClosed() 109 remoteSubscribers_.erase(notice.networkId); in OnSoftbusSessionClosed() 110 FI_HILOGI("Remove remote subscribers from %{public}s", Utility::Anonymize(notice.networkId).c_str()); in OnSoftbusSessionClosed() 112 if (listeners_.find(notice.networkId) != listeners_.end()) { in OnSoftbusSessionClosed() 113 listeners_.erase(notice.networkId); in OnSoftbusSessionClosed() 114 FI_HILOGI("Remove listeners listen to %{public}s", Utility::Anonymize(notice.networkId).c_str()); in OnSoftbusSessionClosed() 118 void MouseLocation::OnSubscribeMouseLocation(const DSoftbusSubscribeMouseLocation ¬ice) in OnSubscribeMouseLocation() argument 123 remoteSubscribers_.insert(notice in OnSubscribeMouseLocation() 135 OnUnSubscribeMouseLocation(const DSoftbusUnSubscribeMouseLocation ¬ice) OnUnSubscribeMouseLocation() argument 156 OnReplySubscribeMouseLocation(const DSoftbusReplySubscribeMouseLocation ¬ice) OnReplySubscribeMouseLocation() argument 169 OnReplyUnSubscribeMouseLocation(const DSoftbusReplyUnSubscribeMouseLocation ¬ice) OnReplyUnSubscribeMouseLocation() argument 182 OnRemoteMouseLocation(const DSoftbusSyncMouseLocation ¬ice) OnRemoteMouseLocation() argument [all...] |
H A D | input_device_mgr.cpp | 52 void InputDeviceMgr::OnSoftbusSessionOpened(const DSoftbusSessionOpened ¬ice) in OnSoftbusSessionOpened() argument 55 NotifyInputDeviceToRemote(notice.networkId); in OnSoftbusSessionOpened() 58 void InputDeviceMgr::OnSoftbusSessionClosed(const DSoftbusSessionClosed ¬ice) in OnSoftbusSessionClosed() argument 61 RemoveAllRemoteInputDevice(notice.networkId); in OnSoftbusSessionClosed() 64 void InputDeviceMgr::OnLocalHotPlug(const InputHotplugEvent ¬ice) in OnLocalHotPlug() argument 67 BroadcastHotPlugToRemote(notice); in OnLocalHotPlug() 70 void InputDeviceMgr::OnRemoteInputDevice(const DSoftbusSyncInputDevice ¬ice) in OnRemoteInputDevice() argument 73 std::string networkId = notice.networkId; in OnRemoteInputDevice() 74 for (const auto &device : notice.devices) { in OnRemoteInputDevice() 80 void InputDeviceMgr::OnRemoteHotPlug(const DSoftbusHotPlugEvent ¬ice) in OnRemoteHotPlug() argument 105 HandleRemoteHotPlug(const DSoftbusHotPlugEvent ¬ice) HandleRemoteHotPlug() argument 148 BroadcastHotPlugToRemote(const InputHotplugEvent ¬ice) BroadcastHotPlugToRemote() argument [all...] |
H A D | event_manager.cpp | 66 CooperateNotice notice { in EnableCooperate() 72 NotifyCooperateMessage(notice); in EnableCooperate() 78 CooperateNotice notice { in DisableCooperate() 84 NotifyCooperateMessage(notice); in DisableCooperate() 102 CooperateNotice notice { in StartCooperateFinish() 111 NotifyCooperateMessage(notice); in StartCooperateFinish() 154 CooperateNotice notice { in StopCooperateFinish() 162 NotifyCooperateMessage(notice); in StopCooperateFinish() 191 void EventManager::GetCooperateState(const CooperateStateNotice ¬ice) in GetCooperateState() argument 194 NotifyCooperateState(notice); in GetCooperateState() 230 NotifyCooperateMessage(const CooperateNotice ¬ice) NotifyCooperateMessage() argument 245 NotifyCooperateState(const CooperateStateNotice ¬ice) NotifyCooperateState() argument [all...] |
H A D | cooperate_free.cpp | 122 StartCooperateEvent notice = std::get<StartCooperateEvent>(event.event); in OnStart() local 123 FI_HILOGI("[start cooperation] With \'%{public}s\'", Utility::Anonymize(notice.remoteNetworkId).c_str()); in OnStart() 124 context.StartCooperate(notice); in OnStart() 125 context.eventMgr_.StartCooperate(notice); in OnStart() 164 DSoftbusStopCooperateFinished notice { in OnStop() 167 context.eventMgr_.StopCooperateFinish(notice); in OnStop() 180 DSoftbusStartCooperate notice = std::get<DSoftbusStartCooperate>(event.event); in OnRemoteStart() local 181 context.OnRemoteStartCooperate(notice.extra); in OnRemoteStart() 182 parent_.OnSetCooperatePriv(notice.extra.priv); in OnRemoteStart() 183 context.eventMgr_.RemoteStart(notice); in OnRemoteStart() 196 InputPointerEvent notice = std::get<InputPointerEvent>(event.event); OnPointerEvent() local [all...] |
H A D | state_machine.cpp | 215 AddObserverEvent notice = std::get<AddObserverEvent>(event.event); in AddObserver() local 216 context.AddObserver(notice.observer); in AddObserver() 221 RemoveObserverEvent notice = std::get<RemoveObserverEvent>(event.event); in RemoveObserver() local 222 context.RemoveObserver(notice.observer); in RemoveObserver() 227 RegisterListenerEvent notice = std::get<RegisterListenerEvent>(event.event); in RegisterListener() local 228 context.eventMgr_.RegisterListener(notice); in RegisterListener() 233 UnregisterListenerEvent notice = std::get<UnregisterListenerEvent>(event.event); in UnregisterListener() local 234 context.eventMgr_.UnregisterListener(notice); in UnregisterListener() 239 RegisterHotareaListenerEvent notice = std::get<RegisterHotareaListenerEvent>(event.event); in RegisterHotAreaListener() local 240 context.hotArea_.AddListener(notice); in RegisterHotAreaListener() 245 UnregisterHotareaListenerEvent notice = std::get<UnregisterHotareaListenerEvent>(event.event); UnregisterHotAreaListener() local 323 ClientDiedEvent notice = std::get<ClientDiedEvent>(event.event); OnProcessClientDied() local 332 RegisterEventListenerEvent notice = std::get<RegisterEventListenerEvent>(event.event); RegisterEventListener() local 338 UnregisterEventListenerEvent notice = std::get<UnregisterEventListenerEvent>(event.event); UnregisterEventListener() local 370 DDPCooperateSwitchChanged notice = std::get<DDPCooperateSwitchChanged>(event.event); OnProfileChanged() local 388 DSoftbusSessionClosed notice = std::get<DSoftbusSessionClosed>(event.event); OnSoftbusSessionClosed() local 398 DSoftbusSessionOpened notice = std::get<DSoftbusSessionOpened>(event.event); OnSoftbusSessionOpened() local 406 InputHotplugEvent notice = std::get<InputHotplugEvent>(event.event); OnHotPlugEvent() local 414 DSoftbusSyncInputDevice notice = std::get<DSoftbusSyncInputDevice>(event.event); OnRemoteInputDevice() local 422 DSoftbusHotPlugEvent notice = std::get<DSoftbusHotPlugEvent>(event.event); OnRemoteHotPlug() local 430 DSoftbusSubscribeMouseLocation notice = std::get<DSoftbusSubscribeMouseLocation>(event.event); OnSoftbusSubscribeMouseLocation() local 437 DSoftbusUnSubscribeMouseLocation notice = std::get<DSoftbusUnSubscribeMouseLocation>(event.event); OnSoftbusUnSubscribeMouseLocation() local 444 DSoftbusReplySubscribeMouseLocation notice = std::get<DSoftbusReplySubscribeMouseLocation>(event.event); OnSoftbusReplySubscribeMouseLocation() local 451 DSoftbusReplyUnSubscribeMouseLocation notice = std::get<DSoftbusReplyUnSubscribeMouseLocation>(event.event); OnSoftbusReplyUnSubscribeMouseLocation() local 458 DSoftbusSyncMouseLocation notice = std::get<DSoftbusSyncMouseLocation>(event.event); OnSoftbusMouseLocation() local [all...] |
/foundation/multimodalinput/input/intention/cooperate/plugin/include/ |
H A D | mouse_location.h | 49 void OnSubscribeMouseLocation(const DSoftbusSubscribeMouseLocation ¬ice); 50 void OnUnSubscribeMouseLocation(const DSoftbusUnSubscribeMouseLocation ¬ice); 51 void OnReplySubscribeMouseLocation(const DSoftbusReplySubscribeMouseLocation ¬ice); 52 void OnReplyUnSubscribeMouseLocation(const DSoftbusReplyUnSubscribeMouseLocation ¬ice); 53 void OnRemoteMouseLocation(const DSoftbusSyncMouseLocation ¬ice); 55 void OnSoftbusSessionClosed(const DSoftbusSessionClosed ¬ice);
|
H A D | input_device_mgr.h | 44 void OnSoftbusSessionOpened(const DSoftbusSessionOpened ¬ice); 45 void OnSoftbusSessionClosed(const DSoftbusSessionClosed ¬ice); 46 void OnLocalHotPlug(const InputHotplugEvent ¬ice); 49 void HandleRemoteHotPlug(const DSoftbusHotPlugEvent ¬ice); 50 void OnRemoteInputDevice(const DSoftbusSyncInputDevice ¬ice); 51 void OnRemoteHotPlug(const DSoftbusHotPlugEvent ¬ice); 55 void BroadcastHotPlugToRemote(const InputHotplugEvent ¬ice);
|
H A D | event_manager.h | 88 void GetCooperateState(const CooperateStateNotice ¬ice); 93 void NotifyCooperateMessage(const CooperateNotice ¬ice); 94 void NotifyCooperateState(const CooperateStateNotice ¬ice);
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | observer_bridge.cpp | 88 ChangeNotification notice(std::move(inserted), std::move(updated), std::move(deleted), deviceId, false); in OnChange() 89 observer_->OnChange(notice); in OnChange() 106 ChangeNotification notice(std::move(inserted), std::move(updated), std::move(deleted), deviceId, false); in OnChange() 107 KvStoreObserverClient::OnChange(notice); in OnChange()
|