Home
last modified time | relevance | path

Searched refs:eventParam (Results 1 - 25 of 41) sorted by relevance

12

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
H A Dhci.h948 void (*inquiryComplete)(const HciInquiryCompleteEventParam *eventParam);
951 void (*inquiryResult)(const HciInquiryResultEventParam *eventParam);
954 void (*connectionComplete)(const HciConnectionCompleteEventParam *eventParam);
957 void (*connectionRequest)(const HciConnectionRequestEventParam *eventParam);
960 void (*disconnectComplete)(const HciDisconnectCompleteEventParam *eventParam);
963 void (*authenticationComplete)(const HciAuthenticationCompleteEventParam *eventParam);
966 void (*remoteNameRequestComplete)(const HciRemoteNameRequestCompleteEventParam *eventParam);
969 void (*encryptionChange)(const HciEncryptionChangeEventParam *eventParam);
972 void (*changeConnectionLinkKeyComplete)(const HciChangeConnectionLinkKeyCompleteEventParam *eventParam);
975 void (*masterLinkKeyComplete)(const HciMasterLinkKeyCompleteEventParam *eventParam);
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/evt/
H A Dhci_evt_le.c41 HciLeConnectionCompleteEventParam *eventParam = (HciLeConnectionCompleteEventParam *)param; in HciEventOnLeConnectionCompleteEvent() local
43 if (eventParam->status == HCI_SUCCESS) { in HciEventOnLeConnectionCompleteEvent()
44 HciAclOnConnectionComplete(eventParam->connectionHandle, TRANSPORT_LE); in HciEventOnLeConnectionCompleteEvent()
50 callbacks->leConnectionComplete(eventParam); in HciEventOnLeConnectionCompleteEvent()
62 HciLeAdvertisingReportEventParam eventParam = { in HciEventOnLeAdvertisingReportEvent() local
68 if (eventParam.numReports == 0) { in HciEventOnLeAdvertisingReportEvent()
72 HciLeAdvertisingReport *reports = MEM_MALLOC.alloc(sizeof(HciLeAdvertisingReport) * eventParam.numReports); in HciEventOnLeAdvertisingReportEvent()
74 for (uint8_t i = 0; i < eventParam.numReports; i++) { in HciEventOnLeAdvertisingReportEvent()
94 eventParam.reports = reports; in HciEventOnLeAdvertisingReportEvent()
102 callbacks->leAdvertisingReport(&eventParam); in HciEventOnLeAdvertisingReportEvent()
117 HciLeConnectionUpdateCompleteEventParam *eventParam = (HciLeConnectionUpdateCompleteEventParam *)param; HciEventOnLeConnectionUpdateCompleteEvent() local
133 HciLeReadRemoteFeaturesCompleteEventParam *eventParam = (HciLeReadRemoteFeaturesCompleteEventParam *)param; HciEventOnLeReadRemoteFeaturesCompleteEvent() local
149 HciLeLongTermKeyRequestEventParam *eventParam = (HciLeLongTermKeyRequestEventParam *)param; HciEventOnLeLongTermKeyRequestEvent() local
165 HciLeRemoteConnectionParameterRequestEventParam *eventParam = HciEventOnLeRemoteConnectionParameterRequestEvent() local
182 HciLeReadLocalP256PublicKeyCompleteEventParam *eventParam = (HciLeReadLocalP256PublicKeyCompleteEventParam *)param; HciEventOnLeReadLocalP256PublicKeyCompleteEvent() local
198 HciLeGenerateDHKeyCompleteEventParam *eventParam = (HciLeGenerateDHKeyCompleteEventParam *)param; HciEventOnLeGenerateDHKeyCompleteEvent() local
214 HciLeEnhancedConnectionCompleteEventParam *eventParam = (HciLeEnhancedConnectionCompleteEventParam *)param; HciEventOnLeEnhancedConnectionCompleteEvent() local
259 HciLeDirectedAdvertisingReportEventParam eventParam = { HciEventOnLeDirectedAdvertisingReportCompleteEvent() local
296 HciLePhyUpdateCompleteEventParam *eventParam = (HciLePhyUpdateCompleteEventParam *)param; HciEventOnLePHYUpdateCompleteEvent() local
373 HciLeExtendedAdvertisingReportEventParam eventParam = { HciEventOnLeExtendedAdvertisingReportEvent() local
416 HciLeChannelSelectionAlgorithmEventParam *eventParam = (HciLeChannelSelectionAlgorithmEventParam *)param; HciEventOnLeChannelSelectionAlgorithmEvent() local
442 HciLeAdvertisingSetTerminatedEventParam *eventParam = (HciLeAdvertisingSetTerminatedEventParam *)param; HciEventOnLeAdvertisingSetTerminatedEvent() local
458 HciLeScanRequestReceivedEventParam *eventParam = (HciLeScanRequestReceivedEventParam *)param; HciEventOnLeScanRequestReceivedEvent() local
474 HciLeDataLengthChangeEventParam *eventParam = (HciLeDataLengthChangeEventParam *)param; HciEventOnLEDataLengthChangeEvent() local
490 HciLePeriodicAdvertisingSyncEstablishedEventParam *eventParam = HciEventOnLEPeriodicAdvertisingSyncEstablishedEvent() local
507 HciLePeriodicAdvertisingReportEventParam *eventParam = (HciLePeriodicAdvertisingReportEventParam *)param; HciEventOnLEPeriodicAdvertisingReportEvent() local
523 HciLePeriodicAdvertisingSyncLostEventParam *eventParam = (HciLePeriodicAdvertisingSyncLostEventParam *)param; HciEventOnLEPeriodicAdvertisingSyncLostEvent() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_hci_receive.c286 static void GapRecvInquiryComplete(const HciInquiryCompleteEventParam *eventParam) in GapRecvInquiryComplete() argument
288 HILOGI("status: 0x%{public}02x", eventParam->status); in GapRecvInquiryComplete()
289 int ret = GapProcessHciEventInTask((TaskFunc)GapOnInquiryComplete, eventParam, sizeof(*eventParam), NULL); in GapRecvInquiryComplete()
301 static void GapRecvInquiryResult(const HciInquiryResultEventParam *eventParam) in GapRecvInquiryResult() argument
303 HILOGI("num: %{public}hhu", eventParam->numResponses); in GapRecvInquiryResult()
304 HciInquiryResultEventParam hciParam = *eventParam; in GapRecvInquiryResult()
313 eventParam->responses, in GapRecvInquiryResult()
322 static void GapRecvAuthenticationComplete(const HciAuthenticationCompleteEventParam *eventParam) in GapRecvAuthenticationComplete() argument
324 HILOGI("handle: 0x%{public}04x, status: 0x%{public}02x", eventParam in GapRecvAuthenticationComplete()
331 GapRecvGetRemoteNameComplete(const HciRemoteNameRequestCompleteEventParam *eventParam) GapRecvGetRemoteNameComplete() argument
341 GapRecvEncryptionChangeEvent(const HciEncryptionChangeEventParam *eventParam) GapRecvEncryptionChangeEvent() argument
353 GapRecvPINCodeRequestEvent(const HciPinCodeRequestEventParam *eventParam) GapRecvPINCodeRequestEvent() argument
362 GapRecvLinkKeyRequestEvent(const HciLinkKeyRequestEventParam *eventParam) GapRecvLinkKeyRequestEvent() argument
371 GapRecvLinkKeyNotificationEvent(const HciLinkKeyNotificationEventParam *eventParam) GapRecvLinkKeyNotificationEvent() argument
387 GapRecvInquiryResultRssi(const HciInquiryResultWithRssiEventParam *eventParam) GapRecvInquiryResultRssi() argument
409 GapRecvEntendedInquiryResult(const HciExtendedInquiryResultEventParam *eventParam) GapRecvEntendedInquiryResult() argument
418 GapRecvEncryptionKeyRefreshComplete(const HciEncryptionKeyRefreshCompleteEventParam *eventParam) GapRecvEncryptionKeyRefreshComplete() argument
428 GapRecvIOCapabilityRequestEvent(const HciIoCapabilityRequestEventParam *eventParam) GapRecvIOCapabilityRequestEvent() argument
437 GapRecvIOCapabilityResponseEvent(const HciIoCapabilityResponseEventParam *eventParam) GapRecvIOCapabilityResponseEvent() argument
449 GapRecvUserConfirmationRequestEvent(const HciUserConfirmationRequestEventParam *eventParam) GapRecvUserConfirmationRequestEvent() argument
459 GapRecvUserPasskeyRequestEvent(const HciUserPasskeyRequestEventParam *eventParam) GapRecvUserPasskeyRequestEvent() argument
468 GapRecvRemoteOOBDataRequestEvent(const HciRemoteOobDataRequestEventParam *eventParam) GapRecvRemoteOOBDataRequestEvent() argument
477 GapRecvSimplePairingComplete(const HciSimplePairingCompleteEventParam *eventParam) GapRecvSimplePairingComplete() argument
488 GapRecvUserPasskeyNotificationEvent(const HciUserPasskeyNotificationEventParam *eventParam) GapRecvUserPasskeyNotificationEvent() argument
498 GapRecvAuthenticatedPayloadTimeoutExpiredEvent( const HciAuthenticatedPayloadTimeoutExpiredEventParam *eventParam) GapRecvAuthenticatedPayloadTimeoutExpiredEvent() argument
734 GapRecvLeAdvertisingReportEvent(const HciLeAdvertisingReportEventParam *eventParam) GapRecvLeAdvertisingReportEvent() argument
776 GapRecvLeConnectionUpdateCompleteEvent(const HciLeConnectionUpdateCompleteEventParam *eventParam) GapRecvLeConnectionUpdateCompleteEvent() argument
786 GapRecvLeRemoteConnectionParameterRequestEvent( const HciLeRemoteConnectionParameterRequestEventParam *eventParam) GapRecvLeRemoteConnectionParameterRequestEvent() argument
797 GapRecvLeDirectedAdvertisingReport(const HciLeDirectedAdvertisingReportEventParam *eventParam) GapRecvLeDirectedAdvertisingReport() argument
827 GapRecvLeExtendedAdvertisingReportEvent(const HciLeExtendedAdvertisingReportEventParam *eventParam) GapRecvLeExtendedAdvertisingReportEvent() argument
880 GapRecvLeAdvertisingSetTerminated(const HciLeAdvertisingSetTerminatedEventParam *eventParam) GapRecvLeAdvertisingSetTerminated() argument
890 GapRecvLeScanRequestReceivedEvent(const HciLeScanRequestReceivedEventParam *eventParam) GapRecvLeScanRequestReceivedEvent() argument
[all...]
H A Dgap_internal.h82 void GapOnInquiryComplete(const HciInquiryCompleteEventParam *eventParam);
83 void GapOnInquiryResult(const HciInquiryResultEventParam *eventParam);
84 void GapOnInquiryResultRssi(const HciInquiryResultWithRssiEventParam *eventParam);
85 void GapOnEntendedInquiryResult(const HciExtendedInquiryResultEventParam *eventParam);
86 void GapOnGetRemoteNameComplete(const HciRemoteNameRequestCompleteEventParam *eventParam);
102 void GapOnIOCapabilityResponseEvent(const HciIoCapabilityResponseEventParam *eventParam);
111 void GapOnSimplePairingComplete(const HciSimplePairingCompleteEventParam *eventParam);
114 void GapOnAuthenticationComplete(const HciAuthenticationCompleteEventParam *eventParam);
115 void GapOnEncryptionChangeEvent(const HciEncryptionChangeEventParam *eventParam);
116 void GapOnPINCodeRequestEvent(const HciPinCodeRequestEventParam *eventParam);
[all...]
H A Dgap_br_discover.c98 NO_SANITIZE("cfi") void GapOnInquiryComplete(const HciInquiryCompleteEventParam *eventParam) in GapOnInquiryComplete() argument
108 g_discoveryCallback.callback.inquiryComplete(eventParam->status, g_discoveryCallback.context); in GapOnInquiryComplete()
112 void GapOnInquiryResult(const HciInquiryResultEventParam *eventParam) in GapOnInquiryResult() argument
116 for (uint8_t i = 0; i < eventParam->numResponses; i++) { in GapOnInquiryResult()
118 GapChangeHCIAddr(&addr, &eventParam->responses[i].bdAddr, BT_PUBLIC_DEVICE_ADDRESS); in GapOnInquiryResult()
119 uint32_t cod = COD_ARRAY_TO_UINT(eventParam->responses[i].classOfDevice); in GapOnInquiryResult()
121 inquiryInfo.clockOffset = eventParam->responses[i].clockOffset; in GapOnInquiryResult()
122 inquiryInfo.pageScanRepetitionMode = eventParam->responses[i].pageScanRepetitionMode; in GapOnInquiryResult()
132 NO_SANITIZE("cfi") void GapOnInquiryResultRssi(const HciInquiryResultWithRssiEventParam *eventParam) in GapOnInquiryResultRssi() argument
136 for (uint8_t i = 0; i < eventParam in GapOnInquiryResultRssi()
154 GapOnEntendedInquiryResult(const HciExtendedInquiryResultEventParam *eventParam) GapOnEntendedInquiryResult() argument
253 GapOnGetRemoteNameComplete(const HciRemoteNameRequestCompleteEventParam *eventParam) GapOnGetRemoteNameComplete() argument
[all...]
H A Dgap_br_sec.c856 NO_SANITIZE("cfi") void GapOnAuthenticationComplete(const HciAuthenticationCompleteEventParam *eventParam) in GapOnAuthenticationComplete() argument
866 connectionInfoBlock->devicelist, GapFindConnectionDeviceByHandle, (void *)&eventParam->connectionHandle); in GapOnAuthenticationComplete()
870 if (eventParam->status == HCI_SUCCESS) { in GapOnAuthenticationComplete()
873 GapUpdateSecurityRequest(deviceInfo, GAP_SEC_EVENT_AUTH_SUCCESS, eventParam->status); in GapOnAuthenticationComplete()
875 GapUpdateSecurityRequest(deviceInfo, GAP_SEC_EVENT_UNAUTH_SUCCESS, eventParam->status); in GapOnAuthenticationComplete()
880 } else if ((eventParam->status == HCI_PIN_OR_KEY_MISSING && GapIsKeyMissingRetry()) || in GapOnAuthenticationComplete()
883 GapAuthenticationRetry(deviceInfo, deviceInfo->actionReq, eventParam->status); in GapOnAuthenticationComplete()
886 GapUpdateSecurityRequest(deviceInfo, GAP_SEC_EVENT_AUTH_FAILED, eventParam->status); in GapOnAuthenticationComplete()
902 &addr, eventParam->status, g_authenticationCallback.context); in GapOnAuthenticationComplete()
906 &addr, eventParam in GapOnAuthenticationComplete()
955 GapOnIOCapabilityRequestEvent(const HciIoCapabilityRequestEventParam *eventParam) GapOnIOCapabilityRequestEvent() argument
1007 GapOnIOCapabilityResponseEvent(const HciIoCapabilityResponseEventParam *eventParam) GapOnIOCapabilityResponseEvent() argument
1159 GapOnUserConfirmationRequestEvent(const HciUserConfirmationRequestEventParam *eventParam) GapOnUserConfirmationRequestEvent() argument
1247 GapOnUserPasskeyNotificationEvent(const HciUserPasskeyNotificationEventParam *eventParam) GapOnUserPasskeyNotificationEvent() argument
1261 GapOnUserPasskeyRequestEvent(const HciUserPasskeyRequestEventParam *eventParam) GapOnUserPasskeyRequestEvent() argument
1333 GapOnRemoteOOBDataRequestEvent(const HciRemoteOobDataRequestEventParam *eventParam) GapOnRemoteOOBDataRequestEvent() argument
1420 GapOnPINCodeRequestEvent(const HciPinCodeRequestEventParam *eventParam) GapOnPINCodeRequestEvent() argument
1536 GapOnLinkKeyNotificationEvent(const HciLinkKeyNotificationEventParam *eventParam) GapOnLinkKeyNotificationEvent() argument
1556 GapOnLinkKeyRequestEvent(const HciLinkKeyRequestEventParam *eventParam) GapOnLinkKeyRequestEvent() argument
1637 GapOnSimplePairingComplete(const HciSimplePairingCompleteEventParam *eventParam) GapOnSimplePairingComplete() argument
1650 GapOnEncryptionChangeEvent(const HciEncryptionChangeEventParam *eventParam) GapOnEncryptionChangeEvent() argument
1703 GapOnEncryptionKeyRefreshComplete(const HciEncryptionKeyRefreshCompleteEventParam *eventParam) GapOnEncryptionKeyRefreshComplete() argument
[all...]
H A Dgap_le_conn.c45 void GapOnAuthenticatedPayloadTimeoutExpiredEvent(const HciAuthenticatedPayloadTimeoutExpiredEventParam *eventParam) in GapOnAuthenticatedPayloadTimeoutExpiredEvent() argument
47 LOG_WARN("%{public}s:handle:0x%04x", __FUNCTION__, eventParam->connectionHandle); in GapOnAuthenticatedPayloadTimeoutExpiredEvent()
90 void GapOnLeConnectionUpdateCompleteEvent(const HciLeConnectionUpdateCompleteEventParam *eventParam) in GapOnLeConnectionUpdateCompleteEvent() argument
97 connectionInfoBlock->deviceList, GapFindLeConnectionDeviceByHandle, (void *)&eventParam->connectionHandle); in GapOnLeConnectionUpdateCompleteEvent()
108 g_leConnUpdateCallback.callback.leConnectionUpdateComplete(eventParam->status, in GapOnLeConnectionUpdateCompleteEvent()
110 eventParam->connInterval, in GapOnLeConnectionUpdateCompleteEvent()
111 eventParam->connLatency, in GapOnLeConnectionUpdateCompleteEvent()
112 eventParam->supervisionTimeout, in GapOnLeConnectionUpdateCompleteEvent()
197 void GapOnLeRemoteConnectionParameterRequestEvent(const HciLeRemoteConnectionParameterRequestEventParam *eventParam) in GapOnLeRemoteConnectionParameterRequestEvent() argument
205 connectionInfoBlock->deviceList, GapFindLeConnectionDeviceByHandle, (void *)&eventParam in GapOnLeRemoteConnectionParameterRequestEvent()
[all...]
H A Dgap_le_adv.c329 void GapOnLeScanRequestReceivedEvent(const HciLeScanRequestReceivedEventParam *eventParam) in GapOnLeScanRequestReceivedEvent() argument
333 GapChangeHCIAddr(&addr, &eventParam->scannerAddress, eventParam->scannerAddressType); in GapOnLeScanRequestReceivedEvent()
335 eventParam->advertisingHandle, &addr, g_leExAdvCallback.context); in GapOnLeScanRequestReceivedEvent()
377 void GapOnLeAdvertisingSetTerminated(const HciLeAdvertisingSetTerminatedEventParam *eventParam) in GapOnLeAdvertisingSetTerminated() argument
379 if (eventParam->status == HCI_SUCCESS) { in GapOnLeAdvertisingSetTerminated()
382 (void *)&eventParam->connectionHandle); in GapOnLeAdvertisingSetTerminated()
386 (void *)&eventParam->advertisingHandle); in GapOnLeAdvertisingSetTerminated()
398 if (eventParam->status == HCI_SUCCESS) { in GapOnLeAdvertisingSetTerminated()
409 g_leExAdvCallback.callback.exAdvTerminatedAdvSet(eventParam in GapOnLeAdvertisingSetTerminated()
[all...]
H A Dgap_le_scan.c438 void GapOnLeAdvertisingReportEvent(const HciLeAdvertisingReportEventParam *eventParam) in GapOnLeAdvertisingReportEvent() argument
440 for (uint8_t i = 0; i < eventParam->numReports; i++) { in GapOnLeAdvertisingReportEvent()
441 GapOnLeAdvertisingReportEventProcessOnce(&eventParam->reports[i]); in GapOnLeAdvertisingReportEvent()
541 void GapOnLeExtendedAdvertisingReportEvent(const HciLeExtendedAdvertisingReportEventParam *eventParam) in GapOnLeExtendedAdvertisingReportEvent() argument
543 for (uint8_t i = 0; i < eventParam->numReports; i++) { in GapOnLeExtendedAdvertisingReportEvent()
544 GapOnLeExtendedAdvertisingReportEventProcessOnce(&eventParam->reports[i]); in GapOnLeExtendedAdvertisingReportEvent()
594 void GapOnLeDirectedAdvertisingReport(const HciLeDirectedAdvertisingReportEventParam *eventParam) in GapOnLeDirectedAdvertisingReport() argument
596 for (uint8_t i = 0; i < eventParam->numReports; i++) { in GapOnLeDirectedAdvertisingReport()
597 GapOnLeDirectedAdvertisingReportProcessOnce(&eventParam->reports[i]); in GapOnLeDirectedAdvertisingReport()
601 void GapOnLeScanTimeoutEvent(const void *eventParam) in GapOnLeScanTimeoutEvent() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_acl.c502 NO_SANITIZE("cfi") static void BtmOnConnectionComplete(const HciConnectionCompleteEventParam *eventParam) in BtmOnConnectionComplete() argument
504 if (eventParam->linkType != HCI_LINK_TYPE_ACL || in BtmOnConnectionComplete()
505 (eventParam->status == HCI_CONNECTION_ALREADY_EXISTS)) { in BtmOnConnectionComplete()
511 (void)memcpy_s(addr.addr, BT_ADDRESS_SIZE, eventParam->bdAddr.raw, BT_ADDRESS_SIZE); in BtmOnConnectionComplete()
518 if (eventParam->status == HCI_SUCCESS) { in BtmOnConnectionComplete()
519 connection->connectionHandle = eventParam->connectionHandle; in BtmOnConnectionComplete()
534 if (eventParam->status == HCI_SUCCESS) { in BtmOnConnectionComplete()
536 cmdParam.connectionHandle = eventParam->connectionHandle; in BtmOnConnectionComplete()
541 connectCompleteParam.status = eventParam->status; in BtmOnConnectionComplete()
542 connectCompleteParam.connectionHandle = eventParam in BtmOnConnectionComplete()
562 BtmOnConnectionrequest(const HciConnectionRequestEventParam *eventParam) BtmOnConnectionrequest() argument
879 BtmUpdateLeConnectionOnConnectComplete( const BtAddr *addr, uint8_t peerAddrType, const HciLeConnectionCompleteEventParam *eventParam) BtmUpdateLeConnectionOnConnectComplete() argument
1043 BtmUpdateUpdateWhiteListOnLeConnectionComplete( const BtAddr *addrList, const uint8_t addrCount, const HciLeConnectionCompleteEventParam *eventParam) BtmUpdateUpdateWhiteListOnLeConnectionComplete() argument
1088 BtmOnLeConnectionComplete(const HciLeConnectionCompleteEventParam *eventParam) BtmOnLeConnectionComplete() argument
1135 BtmUpdateLeConnectionOnEnhancedConnectComplete( BtmAclConnection *connection, uint8_t peerAddrType, const HciLeEnhancedConnectionCompleteEventParam *eventParam) BtmUpdateLeConnectionOnEnhancedConnectComplete() argument
1157 BtmAllocLeConnectionOnEnhancedConnectComplete( const BtAddr *addr, uint8_t peerAddrType, const HciLeEnhancedConnectionCompleteEventParam *eventParam) BtmAllocLeConnectionOnEnhancedConnectComplete() argument
1201 BtmUpdateConnectionInfoOnLeEnhancedConnectionComplete( const BtAddr *addr, uint8_t peerAddrType, const HciLeEnhancedConnectionCompleteEventParam *eventParam) BtmUpdateConnectionInfoOnLeEnhancedConnectionComplete() argument
1224 BtmUpdateWhiteListOnLeEnhancedConnectionComplete( const BtAddr *addrList, const uint8_t addrCount, const HciLeEnhancedConnectionCompleteEventParam *eventParam) BtmUpdateWhiteListOnLeEnhancedConnectionComplete() argument
1269 BtmOnLeEnhancedConnectionComplete(const HciLeEnhancedConnectionCompleteEventParam *eventParam) BtmOnLeEnhancedConnectionComplete() argument
1358 BtmOnDisconnectComplete(const HciDisconnectCompleteEventParam *eventParam) BtmOnDisconnectComplete() argument
1438 BtmOnLeReadRemoteFeaturesComplete(const HciLeReadRemoteFeaturesCompleteEventParam *eventParam) BtmOnLeReadRemoteFeaturesComplete() argument
1472 BtmOnReadRemoteVersionInformationComplete( const HciReadRemoteVersionInformationCompleteEventParam *eventParam) BtmOnReadRemoteVersionInformationComplete() argument
1520 BtmOnReadRemoteSupportedFeaturesComplete(const HciReadRemoteSupportedFeaturesCompleteEventParam *eventParam) BtmOnReadRemoteSupportedFeaturesComplete() argument
1574 BtmOnReadRemoteExtendedFeaturesComplete(const HciReadRemoteExtendedFeaturesCompleteEventParam *eventParam) BtmOnReadRemoteExtendedFeaturesComplete() argument
1868 BtmOnEncryptionChange(const HciEncryptionChangeEventParam *eventParam) BtmOnEncryptionChange() argument
2218 BtmOnRoleChange(const HciRoleChangeEventParam *eventParam) BtmOnRoleChange() argument
[all...]
H A Dbtm_sco.c790 static void BtmScoOnConnectionComplete(const HciConnectionCompleteEventParam *eventParam) in BtmScoOnConnectionComplete() argument
792 if (eventParam->linkType != HCI_LINK_TYPE_SCO) { in BtmScoOnConnectionComplete()
800 (void)memcpy_s(addr.addr, BT_ADDRESS_SIZE, eventParam->bdAddr.raw, BT_ADDRESS_SIZE); in BtmScoOnConnectionComplete()
807 if (eventParam->status == HCI_SUCCESS) { in BtmScoOnConnectionComplete()
808 scoConnection->scoHandle = eventParam->connectionHandle; in BtmScoOnConnectionComplete()
818 .status = eventParam->status, in BtmScoOnConnectionComplete()
819 .connectionHandle = (eventParam->status == HCI_SUCCESS) ? eventParam->connectionHandle : INVALID_HANDLE, in BtmScoOnConnectionComplete()
831 static void BtmScoOnSynchronousConnectionComplete(const HciSynchronousConnectionCompleteEventParam *eventParam) in BtmScoOnSynchronousConnectionComplete() argument
837 (void)memcpy_s(addr.addr, BT_ADDRESS_SIZE, eventParam in BtmScoOnSynchronousConnectionComplete()
919 BtmScoOnSynchronousConnectionChanged(const HciSynchronousConnectionChangedEventParam *eventParam) BtmScoOnSynchronousConnectionChanged() argument
958 BtmScoOnConnectionRequest(const HciConnectionRequestEventParam *eventParam) BtmScoOnConnectionRequest() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_hci_event.h28 void SMP_OnLEEncryptionChange(const HciEncryptionChangeEventParam *eventParam);
29 void SMP_OnLEEncryptionKeyRefreshComplete(const HciEncryptionKeyRefreshCompleteEventParam *eventParam);
30 void SMP_OnLELongTermKeyRequest(const HciLeLongTermKeyRequestEventParam *eventParam);
32 void SMP_OnLEReadLocalP256PublicKeyComplete(const HciLeReadLocalP256PublicKeyCompleteEventParam *eventParam);
33 void SMP_OnLEGenerateDHKeyComplete(const HciLeGenerateDHKeyCompleteEventParam *eventParam);
H A Dsmp_hci_event.c299 static void SMP_OnLtkReqEncProc(const HciLeLongTermKeyRequestEventParam *eventParam);
300 static void SMP_OnGenDHKeyCompScJwOrNumMasterStep3(const HciLeGenerateDHKeyCompleteEventParam *eventParam);
301 static void SMP_OnGenDHKeyCompScJwOrNumMasterStep4(const HciLeGenerateDHKeyCompleteEventParam *eventParam);
400 void SMP_OnLEEncryptionChange(const HciEncryptionChangeEventParam *eventParam) in SMP_OnLEEncryptionChange() argument
409 (void)memcpy_s(ctx, sizeof(HciEncryptionChangeEventParam), eventParam, sizeof(HciEncryptionChangeEventParam)); in SMP_OnLEEncryptionChange()
419 HciEncryptionChangeEventParam *eventParam = (HciEncryptionChangeEventParam *)context; in SMP_OnLeEncChangeTask() local
422 SMP_LinkLayerEncryptionComplete(eventParam->connectionHandle, eventParam->status); in SMP_OnLeEncChangeTask()
423 MEM_MALLOC.free(eventParam); in SMP_OnLeEncChangeTask()
426 void SMP_OnLEEncryptionKeyRefreshComplete(const HciEncryptionKeyRefreshCompleteEventParam *eventParam) in SMP_OnLEEncryptionKeyRefreshComplete() argument
452 HciEncryptionKeyRefreshCompleteEventParam *eventParam = (HciEncryptionKeyRefreshCompleteEventParam *)context; SMP_OnLeEncKeyRefCompTask() local
459 SMP_OnLELongTermKeyRequest(const HciLeLongTermKeyRequestEventParam *eventParam) SMP_OnLELongTermKeyRequest() argument
480 HciLeLongTermKeyRequestEventParam *eventParam = (HciLeLongTermKeyRequestEventParam *)context; SMP_OnLeLongTermKeyReqTask() local
569 SMP_OnLEReadLocalP256PublicKeyComplete(const HciLeReadLocalP256PublicKeyCompleteEventParam *eventParam) SMP_OnLEReadLocalP256PublicKeyComplete() argument
595 HciLeReadLocalP256PublicKeyCompleteEventParam *eventParam = SMP_OnLeReadLocalP256PubKeyCompTask() local
651 SMP_OnLEGenerateDHKeyComplete(const HciLeGenerateDHKeyCompleteEventParam *eventParam) SMP_OnLEGenerateDHKeyComplete() argument
672 HciLeGenerateDHKeyCompleteEventParam *eventParam = (HciLeGenerateDHKeyCompleteEventParam *)context; SMP_OnLeGenDhKeyCompTask() local
723 SMP_OnGenDHKeyCompScJwOrNumMasterStep3(const HciLeGenerateDHKeyCompleteEventParam *eventParam) SMP_OnGenDHKeyCompScJwOrNumMasterStep3() argument
731 SMP_OnGenDHKeyCompScJwOrNumMasterStep4(const HciLeGenerateDHKeyCompleteEventParam *eventParam) SMP_OnGenDHKeyCompScJwOrNumMasterStep4() argument
905 SMP_OnLtkReqEncProc(const HciLeLongTermKeyRequestEventParam *eventParam) SMP_OnLtkReqEncProc() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Djs_frontend.cpp24 void TouchInfoToString(const BaseEventInfo& info, std::string& eventParam) in TouchInfoToString() argument
26 eventParam.append("{\"touches\":["); in TouchInfoToString()
31 eventParam.append("{"); in TouchInfoToString()
33 eventParam.append("\"globalX\":") in TouchInfoToString()
39 eventParam.append("\"localX\":") in TouchInfoToString()
44 eventParam.append("\"size\":").append(std::to_string(location.GetSize())).append(","); in TouchInfoToString()
45 eventParam.append("\"identifier\":").append(std::to_string(location.GetFingerId())).append(","); in TouchInfoToString()
46 eventParam.append("\"force\":").append(std::to_string(location.GetForce())).append("},"); in TouchInfoToString()
48 if (eventParam.back() == ',') { in TouchInfoToString()
49 eventParam in TouchInfoToString()
81 DragStartInfoToString(const BaseEventInfo& info, std::string& eventParam) DragStartInfoToString() argument
95 DragUpdateInfoToString(const BaseEventInfo& info, std::string& eventParam) DragUpdateInfoToString() argument
109 DragEnterInfoToString(const BaseEventInfo& info, std::string& eventParam) DragEnterInfoToString() argument
123 DragOverInfoToString(const BaseEventInfo& info, std::string& eventParam) DragOverInfoToString() argument
137 DragLeaveInfoToString(const BaseEventInfo& info, std::string& eventParam) DragLeaveInfoToString() argument
151 DragDropInfoToString(const BaseEventInfo& info, std::string& eventParam) DragDropInfoToString() argument
165 DragEndInfoToString(const BaseEventInfo& info, std::string& eventParam) DragEndInfoToString() argument
179 MouseInfoToString(const BaseEventInfo& info, std::string& eventParam) MouseInfoToString() argument
224 SwipeInfoToString(const BaseEventInfo& info, std::string& eventParam) SwipeInfoToString() argument
842 std::string eventParam; HandleAsyncEvent() local
910 std::string eventParam = std::string(""); HandleAsyncEvent() local
933 std::string eventParam = std::string(""); HandleAsyncEvent() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ble_scan_filter/src/
H A Dble_scan_filter_lsf.cpp625 VendorEventParamCAP eventParam = {}; in BleScanFilterGetCapabilitiesComplete() local
627 if (memcpy_s(&eventParam, sizeof(VendorEventParamCAP), param, sizeof(VendorEventParamCAP)) != EOK) { in BleScanFilterGetCapabilitiesComplete()
628 HILOGI("copy eventParam faild."); in BleScanFilterGetCapabilitiesComplete()
637 if (eventParam.featureTag != CAP_FEATURE_TAG_BLE_SCAN_FILTER) { in BleScanFilterGetCapabilitiesComplete()
638 HILOGI("featureTag is error featureTag=%{public}d.", eventParam.featureTag); in BleScanFilterGetCapabilitiesComplete()
639 } else if (eventParam.status != BT_SUCCESS) { in BleScanFilterGetCapabilitiesComplete()
640 HILOGI("get capabilities failed status=%{public}d.", eventParam.status); in BleScanFilterGetCapabilitiesComplete()
641 } else if (eventParam.featureSize != CAP_LSF_FEATURE_VALUE_LENGTH) { in BleScanFilterGetCapabilitiesComplete()
642 HILOGI("featureSize is error size=%{public}d.", eventParam.featureSize); in BleScanFilterGetCapabilitiesComplete()
644 isSupportFilter_ = eventParam in BleScanFilterGetCapabilitiesComplete()
655 VendorEventParamLSF eventParam = {}; BleScanFilterCommandComplete() local
670 BleScanFilterCommandCompleteSuccess(VendorEventParamLSF eventParam) BleScanFilterCommandCompleteSuccess() argument
696 BleScanFilterCommandCompleteFaild(VendorEventParamLSF eventParam) BleScanFilterCommandCompleteFaild() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/
H A Dcj_frontend.cpp76 void TouchInfoToString(const BaseEventInfo& info, std::string& eventParam) in TouchInfoToString() argument
78 eventParam.append("{\"touches\":[{"); in TouchInfoToString()
84 eventParam.append("\"globalX\":") in TouchInfoToString()
90 eventParam.append("\"localX\":") in TouchInfoToString()
95 eventParam.append("\"size\":").append(std::to_string(location.GetSize())).append(","); in TouchInfoToString()
97 if (eventParam.back() == ',') { in TouchInfoToString()
98 eventParam.pop_back(); in TouchInfoToString()
100 eventParam.append("}],\"changedTouches\":[{"); in TouchInfoToString()
104 eventParam.append("\"globalX\":") in TouchInfoToString()
110 eventParam in TouchInfoToString()
124 MouseInfoToString(const BaseEventInfo& info, std::string& eventParam) MouseInfoToString() argument
164 SwipeInfoToString(const BaseEventInfo& info, std::string& eventParam) SwipeInfoToString() argument
198 std::string eventParam; HandleAsyncEvent() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/cmd/
H A Dhci_cmd_failure_link_ctrl.c32 HciInquiryCompleteEventParam eventParam = { in HciCmdOnInquiryFailed() local
39 callbacks->inquiryComplete(&eventParam); in HciCmdOnInquiryFailed()
106 HciDisconnectCompleteEventParam eventParam = { in HciCmdOnDisconnectFailed() local
115 callbacks->disconnectComplete(&eventParam); in HciCmdOnDisconnectFailed()
227 HciAuthenticationCompleteEventParam eventParam = { in HciCmdOnAuthenticationRequestedFailed() local
235 callbacks->authenticationComplete(&eventParam); in HciCmdOnAuthenticationRequestedFailed()
242 HciEncryptionChangeEventParam eventParam = { in HciCmdOnSetConnectionEncryptionFailed() local
250 callbacks->encryptionChange(&eventParam); in HciCmdOnSetConnectionEncryptionFailed()
257 HciRemoteNameRequestCompleteEventParam eventParam = { in HciCmdOnRemoteNameRequestFailed() local
265 callbacks->remoteNameRequestComplete(&eventParam); in HciCmdOnRemoteNameRequestFailed()
287 HciReadRemoteSupportedFeaturesCompleteEventParam eventParam = { HciCmdOnReadRemoteSupportedFeaturesFailed() local
302 HciReadRemoteExtendedFeaturesCompleteEventParam eventParam = { HciCmdOnReadRemoteExtendedFeaturesFailed() local
318 HciReadRemoteVersionInformationCompleteEventParam eventParam = { HciCmdOnReadRemoteVersionInformationFailed() local
351 HciSynchronousConnectionCompleteEventParam eventParam = { HciCmdOnSetupSynchronousConnectionFailed() local
382 HciSynchronousConnectionCompleteEventParam eventParam = { HciCmdOnRejectSynchronousConnectionRequestFailed() local
534 HciSynchronousConnectionCompleteEventParam eventParam = { HciCmdOnEnhancedSetupSynchronousConnectionFailed() local
550 HciSynchronousConnectionCompleteEventParam eventParam = { HciCmdOnEnhancedAcceptSynchronousConnectionRequestFailed() local
[all...]
H A Dhci_cmd_failure_link_policy.c29 HciModeChangeEventParam eventParam = { in HciCmdOnSniffModeFailed() local
37 callbacks->modeChange(&eventParam); in HciCmdOnSniffModeFailed()
44 HciModeChangeEventParam eventParam = { in HciCmdOnExitSnifModeFailed() local
52 callbacks->modeChange(&eventParam); in HciCmdOnExitSnifModeFailed()
H A Dhci_cmd_failure_le_controller.c183 HciLeConnectionCompleteEventParam eventParam = { in HciCmdOnLeCreateConnectionFailed() local
192 callbacks->leConnectionComplete(&eventParam); in HciCmdOnLeCreateConnectionFailed()
269 HciLeConnectionUpdateCompleteEventParam eventParam = { in HciCmdOnLeConnectionUpdateFailed() local
279 callbacks->leConnectionUpdateComplete(&eventParam); in HciCmdOnLeConnectionUpdateFailed()
315 HciLeReadRemoteFeaturesCompleteEventParam eventParam = { in HciCmdOnLeReadRemoteFeaturesFailed() local
323 callbacks->leReadRemoteFeaturesComplete(&eventParam); in HciCmdOnLeReadRemoteFeaturesFailed()
358 HciEncryptionKeyRefreshCompleteEventParam eventParam = { in HciCmdOnLeStartEncryptionFailed() local
366 callbacks->encryptionKeyRefreshComplete(&eventParam); in HciCmdOnLeStartEncryptionFailed()
534 HciLeReadLocalP256PublicKeyCompleteEventParam eventParam = { in HciCmdOnLeReadLocalP256PublicKeyFailed() local
541 callbacks->leReadLocalP256PublicKeyComplete(&eventParam); in HciCmdOnLeReadLocalP256PublicKeyFailed()
548 HciLeGenerateDHKeyCompleteEventParam eventParam = { HciCmdOnLeGenerateDhKeyFailed() local
945 HciLeEnhancedConnectionCompleteEventParam eventParam = { HciCmdOnLeExtendedCreateConnectionFailed() local
[all...]
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersink/src/
H A Ddaudio_sink_dev.cpp99 auto eventParam = std::make_shared<AudioEvent>(audioEvent); in NotifyEvent() local
100 auto msgEvent = AppExecFwk::InnerEvent::Get(static_cast<uint32_t>(audioEvent.type), eventParam, 0); in NotifyEvent()
703 std::string eventParam; in NotifyCtrlOpened() local
704 if (GetEventParam(event, eventParam) != DH_SUCCESS) { in NotifyCtrlOpened()
711 int32_t dhId = sinkDevObj->ParseDhidFromEvent(eventParam); in NotifyCtrlOpened()
713 int32_t ret = sinkDevObj->ParseResultFromEvent(eventParam); in NotifyCtrlOpened()
727 std::string eventParam; in NotifyOpenSpeaker() local
728 if (GetEventParam(event, eventParam) != DH_SUCCESS) { in NotifyOpenSpeaker()
735 int32_t dhId = sinkDevObj->ParseDhidFromEvent(eventParam); in NotifyOpenSpeaker()
737 int32_t ret = sinkDevObj->TaskOpenDSpeaker(eventParam); in NotifyOpenSpeaker()
745 std::string eventParam; NotifyCloseSpeaker() local
759 std::string eventParam; NotifySpeakerOpened() local
774 std::string eventParam; NotifySpeakerClosed() local
787 std::string eventParam; NotifyOpenMic() local
812 std::string eventParam; NotifyCloseMic() local
831 std::string eventParam; NotifyMicClosed() local
844 std::string eventParam; NotifySetVolume() local
857 std::string eventParam; NotifyVolumeChange() local
870 std::string eventParam; NotifySetParam() local
883 std::string eventParam; NotifySetMute() local
896 std::string eventParam; NotifyFocusChange() local
909 std::string eventParam; NotifyRenderStateChange() local
922 std::string eventParam; NotifyPlayStatusChange() local
933 GetEventParam(const AppExecFwk::InnerEvent::Pointer &event, std::string &eventParam) GetEventParam() argument
[all...]
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/
H A Ddaudio_source_dev.cpp148 auto eventParam = std::make_shared<std::string>(jsonString); in EnableDAudio() local
149 auto msgEvent = AppExecFwk::InnerEvent::Get(EVENT_DAUDIO_ENABLE, eventParam, 0); in EnableDAudio()
174 auto eventParam = std::make_shared<std::string>(jsonString); in DisableDAudioInner() local
175 auto msgEvent = AppExecFwk::InnerEvent::Get(EVENT_DAUDIO_DISABLE, eventParam, 0); in DisableDAudioInner()
344 auto eventParam = std::make_shared<AudioEvent>(event); in HandleOpenDSpeaker() local
345 auto msgEvent = AppExecFwk::InnerEvent::Get(EVENT_OPEN_SPEAKER, eventParam, 0); in HandleOpenDSpeaker()
358 auto eventParam = std::make_shared<AudioEvent>(event); in HandleCloseDSpeaker() local
359 auto msgEvent = AppExecFwk::InnerEvent::Get(EVENT_CLOSE_SPEAKER, eventParam, 0); in HandleCloseDSpeaker()
408 auto eventParam = std::make_shared<AudioEvent>(event); in HandleOpenDMic() local
409 auto msgEvent = AppExecFwk::InnerEvent::Get(EVENT_OPEN_MIC, eventParam, in HandleOpenDMic()
422 auto eventParam = std::make_shared<AudioEvent>(event); HandleCloseDMic() local
443 auto eventParam = std::make_shared<AudioEvent>(event); HandleDMicClosed() local
491 auto eventParam = std::make_shared<AudioEvent>(event); HandleVolumeSet() local
505 auto eventParam = std::make_shared<AudioEvent>(event); HandleVolumeChange() local
519 auto eventParam = std::make_shared<AudioEvent>(event); HandleFocusChange() local
533 auto eventParam = std::make_shared<AudioEvent>(event); HandleRenderStateChange() local
547 auto eventParam = std::make_shared<AudioEvent>(event); HandlePlayStatusChange() local
561 auto eventParam = std::make_shared<AudioEvent>(event); HandleSpkMmapStart() local
575 auto eventParam = std::make_shared<AudioEvent>(event); HandleSpkMmapStop() local
589 auto eventParam = std::make_shared<AudioEvent>(event); HandleMicMmapStart() local
603 auto eventParam = std::make_shared<AudioEvent>(event); HandleMicMmapStop() local
1523 std::string eventParam; OpenDSpeakerCallback() local
1539 std::string eventParam; CloseDSpeakerCallback() local
1555 std::string eventParam; OpenDMicCallback() local
1571 std::string eventParam; CloseDMicCallback() local
1587 std::string eventParam; DMicClosedCallback() local
1603 std::string eventParam; SetVolumeCallback() local
1619 std::string eventParam; ChangeVolumeCallback() local
1635 std::string eventParam; ChangeFocusCallback() local
1651 std::string eventParam; ChangeRenderStateCallback() local
1667 std::string eventParam; PlayStatusChangeCallback() local
1683 std::string eventParam; SpkMmapStartCallback() local
1699 std::string eventParam; SpkMmapStopCallback() local
1715 std::string eventParam; MicMmapStartCallback() local
1731 std::string eventParam; MicMmapStopCallback() local
1745 GetEventParam(const AppExecFwk::InnerEvent::Pointer &event, std::string &eventParam) GetEventParam() argument
[all...]
H A Ddaudio_source_manager.cpp179 auto eventParam = std::make_shared<std::string>(jsonString); in EnableDAudio() local
180 auto msgEvent = AppExecFwk::InnerEvent::Get(EVENT_MANAGER_ENABLE_DAUDIO, eventParam, 0); in EnableDAudio()
243 auto eventParam = std::make_shared<std::string>(jsonString); in DisableDAudio() local
244 auto msgEvent = AppExecFwk::InnerEvent::Get(EVENT_MANAGER_DISABLE_DAUDIO, eventParam, 0); in DisableDAudio()
604 std::string eventParam; in EnableDAudioCallback() local
605 if (GetEventParam(event, eventParam) != DH_SUCCESS) { in EnableDAudioCallback()
609 DAudioSourceManager::GetInstance().DoEnableDAudio(eventParam); in EnableDAudioCallback()
615 std::string eventParam; in DisableDAudioCallback() local
616 if (GetEventParam(event, eventParam) != DH_SUCCESS) { in DisableDAudioCallback()
620 DHLOGD("Disable audio device, param:%{public}s.", eventParam in DisableDAudioCallback()
624 GetEventParam(const AppExecFwk::InnerEvent::Pointer &event, std::string &eventParam) GetEventParam() argument
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/
H A Ddcamera_source_dev.cpp113 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); in RegisterDistributedHardware() local
116 AppExecFwk::InnerEvent::Get(EVENT_SOURCE_DEV_PROCESS, eventParam, 0); in RegisterDistributedHardware()
131 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); in UnRegisterDistributedHardware() local
134 AppExecFwk::InnerEvent::Get(EVENT_SOURCE_DEV_PROCESS, eventParam, 0); in UnRegisterDistributedHardware()
152 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); in DCameraNotify() local
155 AppExecFwk::InnerEvent::Get(EVENT_SOURCE_DEV_PROCESS, eventParam, 0); in DCameraNotify()
165 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); in OpenSession() local
168 AppExecFwk::InnerEvent::Get(EVENT_SOURCE_DEV_PROCESS, eventParam, 0); in OpenSession()
178 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); in CloseSession() local
181 AppExecFwk::InnerEvent::Get(EVENT_SOURCE_DEV_PROCESS, eventParam, in CloseSession()
191 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); ConfigCameraStreams() local
204 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); ReleaseCameraStreams() local
217 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); StartCameraCapture() local
230 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); StopCameraCapture() local
243 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); UpdateCameraSettings() local
255 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(DCAMERA_EVENT_GET_FULLCAPS); ProcessHDFEvent() local
281 std::shared_ptr<DCameraSourceEvent> eventParam = event->GetSharedObject<DCameraSourceEvent>(); DoProcessData() local
294 std::shared_ptr<DCameraSourceEvent> eventParam = event->GetSharedObject<DCameraSourceEvent>(); DoProcesHDFEvent() local
794 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); OnChannelConnectedEvent() local
807 std::shared_ptr<DCameraSourceEvent> eventParam = std::make_shared<DCameraSourceEvent>(event); OnChannelDisconnectedEvent() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/
H A Dplugin_frontend.cpp58 void TouchInfoToString(const BaseEventInfo& info, std::string& eventParam) in TouchInfoToString() argument
60 eventParam.append("{\"touches\":[{"); in TouchInfoToString()
66 eventParam.append("\"globalX\":") in TouchInfoToString()
72 eventParam.append("\"localX\":") in TouchInfoToString()
77 eventParam.append("\"size\":").append(std::to_string(location.GetSize())).append(","); in TouchInfoToString()
79 if (eventParam.back() == ',') { in TouchInfoToString()
80 eventParam.pop_back(); in TouchInfoToString()
82 eventParam.append("}],\"changedTouches\":[{"); in TouchInfoToString()
86 eventParam.append("\"globalX\":") in TouchInfoToString()
92 eventParam in TouchInfoToString()
106 MouseInfoToString(const BaseEventInfo& info, std::string& eventParam) MouseInfoToString() argument
146 SwipeInfoToString(const BaseEventInfo& info, std::string& eventParam) SwipeInfoToString() argument
735 std::string eventParam; HandleAsyncEvent() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/
H A Dweb_delegate_cross.cpp973 auto eventParam = std::make_shared<LoadWebPageStartEvent>(param); in OnPageStarted()
974 propOnPageStarted(eventParam); in OnPageStarted()
998 auto eventParam = std::make_shared<LoadWebPageFinishEvent>(param); in OnPageFinished()
999 propOnPageFinished(eventParam); in OnPageFinished()
1025 auto eventParam = std::make_shared<LoadWebProgressChangeEvent>(atoi(param.c_str())); in OnProgressChanged()
1026 propOnProgressChange(eventParam); in OnProgressChanged()
1049 auto eventParam = std::make_shared<LoadWebTitleReceiveEvent>(param); in OnReceivedTitle()
1050 propOnTitleReceive(eventParam); in OnReceivedTitle()
1088 auto eventParam = std::make_shared<ReceivedErrorEvent>(request, error); in OnErrorReceive()
1089 propOnErrorReceive(eventParam); in OnErrorReceive()
[all...]

Completed in 29 milliseconds

12