Searched refs:NfcCommonEvent (Results 1 - 11 of 11) sorted by relevance
/foundation/communication/nfc/services/src/ |
H A D | nfc_event_handler.cpp | 109 eventHandler_.lock()->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_SCREEN_CHANGED),
in OnReceiveEvent() 148 eventHandler_.lock()->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_PACKAGE_UPDATED),
in OnReceiveEvent() 184 eventHandler_.lock()->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_SHUTDOWN),
in OnReceiveEvent() 221 eventHandler_.lock()->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_DATA_SHARE_READY),
in OnReceiveEvent() 353 NfcCommonEvent eventId = static_cast<NfcCommonEvent>(event->GetInnerEventId());
in ProcessEvent() 354 if (eventId != NfcCommonEvent::MSG_NOTIFY_FIELD_OFF &&
in ProcessEvent() 355 eventId != NfcCommonEvent::MSG_NOTIFY_FIELD_ON) {
in ProcessEvent() 361 case NfcCommonEvent::MSG_TAG_FOUND:
in ProcessEvent() 364 case NfcCommonEvent in ProcessEvent() [all...] |
H A D | nfc_routing_manager.cpp | 39 eventHandler_->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_COMMIT_ROUTING), ROUTING_DELAY_TIME); in CommitRouting() 69 eventHandler_->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_COMPUTE_ROUTING_PARAMS), in ComputeRoutingParams()
|
H A D | nfc_service.cpp | 154 eventHandler_->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_TAG_FOUND), tagDiscId, 0);
in OnTagDiscovered() 161 eventHandler_->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_TAG_LOST), tagDiscId, 0);
in OnTagLost() 167 eventHandler_->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_FIELD_ACTIVATED));
in FieldActivated() 173 eventHandler_->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_FIELD_DEACTIVATED));
in FieldDeactivated() 180 eventHandler_->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_VENDOR_EVENT), eventType, 0);
in OnVendorEvent()
|
/foundation/communication/nfc/services/src/tag/ |
H A D | wifi_connection_manager.cpp | 109 void WifiConnectionManager::SendMsgToEvtHandler(NfcCommonEvent evt, int64_t delay)
in SendMsgToEvtHandler() 123 void WifiConnectionManager::RemoveMsgFromEvtHandler(NfcCommonEvent evt)
in RemoveMsgFromEvtHandler() 152 RemoveMsgFromEvtHandler(NfcCommonEvent::MSG_WIFI_ENABLE_TIMEOUT);
in OnFinish() 153 RemoveMsgFromEvtHandler(NfcCommonEvent::MSG_WIFI_CONNECT_TIMEOUT);
in OnFinish() 199 SendMsgToEvtHandler(NfcCommonEvent::MSG_WIFI_ENABLE_TIMEOUT, ENABLE_WIFI_TIMEOUT);
in HandleEnableWifi() 237 RemoveMsgFromEvtHandler(NfcCommonEvent::MSG_WIFI_ENABLE_TIMEOUT);
in TryConnectWifi() 238 RemoveMsgFromEvtHandler(NfcCommonEvent::MSG_WIFI_CONNECT_TIMEOUT);
in TryConnectWifi() 272 SendMsgToEvtHandler(NfcCommonEvent::MSG_WIFI_CONNECT_TIMEOUT, CONNECT_WIFI_TIMEOUT);
in HandleConnectWifi() 297 RemoveMsgFromEvtHandler(NfcCommonEvent::MSG_WIFI_ENABLE_TIMEOUT);
in OnWifiEnabled() 331 nfcWifiConnMgr_.SendMsgToEvtHandler(NfcCommonEvent in OnReceiveEvent() [all...] |
H A D | bt_connection_manager.cpp | 94 void BtConnectionManager::SendMsgToEvtHandler(NfcCommonEvent evt, int64_t delay)
in SendMsgToEvtHandler() 108 void BtConnectionManager::SendConnMsgToEvtHandler(NfcCommonEvent evt, const Bluetooth::BluetoothRemoteDevice &device,
in SendConnMsgToEvtHandler() 127 void BtConnectionManager::RemoveMsgFromEvtHandler(NfcCommonEvent evt)
in RemoveMsgFromEvtHandler() 197 RemoveMsgFromEvtHandler(NfcCommonEvent::MSG_BT_ENABLE_TIMEOUT);
in OnFinish() 198 RemoveMsgFromEvtHandler(NfcCommonEvent::MSG_BT_PAIR_TIMEOUT);
in OnFinish() 199 RemoveMsgFromEvtHandler(NfcCommonEvent::MSG_BT_CONNECT_TIMEOUT);
in OnFinish() 250 SendMsgToEvtHandler(NfcCommonEvent::MSG_BT_ENABLE_TIMEOUT, BT_ENABLE_TIMEOUT);
in HandleEnableBt() 273 SendMsgToEvtHandler(NfcCommonEvent::MSG_BT_PAIR_TIMEOUT, BT_PAIR_TIMEOUT);
in HandleBtPair() 516 SendMsgToEvtHandler(NfcCommonEvent::MSG_BT_CONNECT_TIMEOUT, BT_CONNECT_TIMEOUT);
in HandleBtConnect() 710 RemoveMsgFromEvtHandler(NfcCommonEvent in TryPairBt() [all...] |
H A D | tag_dispatcher.cpp | 276 nfcService_->eventHandler_->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_WIFI_NTF_CLICKED));
in OnNotificationButtonClicked() 284 nfcService_->eventHandler_->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_BT_NTF_CLICKED));
in OnNotificationButtonClicked()
|
/foundation/communication/nfc/test/unittest/services/services_test/ |
H A D | nfc_event_handler_test.cpp | 70 AppExecFwk::InnerEvent::Get(static_cast<uint32_t>(NfcCommonEvent::MSG_TAG_FOUND), 0); in HWTEST_F() 91 AppExecFwk::InnerEvent::Get(static_cast<uint32_t>(NfcCommonEvent::MSG_TAG_DEBOUNCE), 0); in HWTEST_F() 112 AppExecFwk::InnerEvent::Get(static_cast<uint32_t>(NfcCommonEvent::MSG_TAG_LOST), 0); in HWTEST_F() 135 AppExecFwk::InnerEvent::Get(static_cast<uint32_t>(NfcCommonEvent::MSG_SCREEN_CHANGED), 0); in HWTEST_F() 155 AppExecFwk::InnerEvent::Get(static_cast<uint32_t>(NfcCommonEvent::MSG_COMMIT_ROUTING), 0); in HWTEST_F() 178 AppExecFwk::InnerEvent::Get(static_cast<uint32_t>(NfcCommonEvent::MSG_COMPUTE_ROUTING_PARAMS), 0); in HWTEST_F() 201 AppExecFwk::InnerEvent::Get(static_cast<uint32_t>(NfcCommonEvent::MSG_FIELD_ACTIVATED), 0); in HWTEST_F() 223 AppExecFwk::InnerEvent::Get(static_cast<uint32_t>(NfcCommonEvent::MSG_FIELD_DEACTIVATED), 0); in HWTEST_F() 245 AppExecFwk::InnerEvent::Get(static_cast<uint32_t>(NfcCommonEvent::MSG_NOTIFY_FIELD_ON), 0); in HWTEST_F() 267 AppExecFwk::InnerEvent::Get(static_cast<uint32_t>(NfcCommonEvent in HWTEST_F() [all...] |
/foundation/communication/nfc/services/include/ |
H A D | wifi_connection_manager.h | 47 void SendMsgToEvtHandler(NfcCommonEvent evt, int64_t delay);
48 void RemoveMsgFromEvtHandler(NfcCommonEvent evt);
|
H A D | bt_connection_manager.h | 138 void SendMsgToEvtHandler(NfcCommonEvent evt, int64_t delay);
139 void SendConnMsgToEvtHandler(NfcCommonEvent evt, const Bluetooth::BluetoothRemoteDevice &device,
141 void RemoveMsgFromEvtHandler(NfcCommonEvent evt);
|
H A D | infc_service.h | 35 enum class NfcCommonEvent {
class
|
/foundation/communication/nfc/services/src/card_emulation/ |
H A D | ce_service.cpp | 482 nfcService_.lock()->eventHandler_->RemoveEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_NOTIFY_FIELD_OFF)); in HandleFieldActivated() 484 static_cast<uint32_t>(NfcCommonEvent::MSG_NOTIFY_FIELD_OFF_TIMEOUT)); in HandleFieldActivated() 486 static_cast<uint32_t>(NfcCommonEvent::MSG_NOTIFY_FIELD_OFF_TIMEOUT), DEACTIVATE_TIMEOUT); in HandleFieldActivated() 496 nfcService_.lock()->eventHandler_->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_NOTIFY_FIELD_ON)); in HandleFieldActivated() 506 static_cast<uint32_t>(NfcCommonEvent::MSG_NOTIFY_FIELD_OFF_TIMEOUT)); in HandleFieldDeactivated() 507 nfcService_.lock()->eventHandler_->RemoveEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_NOTIFY_FIELD_OFF)); in HandleFieldDeactivated() 517 nfcService_.lock()->eventHandler_->SendEvent(static_cast<uint32_t>(NfcCommonEvent::MSG_NOTIFY_FIELD_OFF), in HandleFieldDeactivated()
|
Completed in 8 milliseconds