Home
last modified time | relevance | path

Searched refs:accept (Results 1 - 25 of 88) sorted by relevance

1234

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap.h144 * @param[in] accept accept or reject
148 int GAP_AuthorizeRes(const BtAddr *addr, GAP_Service service, uint8_t accept);
194 * @param[in] accept accept or reject
202 const BtAddr *addr, uint8_t accept, uint8_t ioCapability, uint8_t oobDataPresent, uint8_t authReq);
207 * @param[in] accept accept or reject
211 int GAP_UserConfirmRsp(const BtAddr *addr, uint8_t accept);
216 * @param[in] accept accep
[all...]
H A Dgap_le.h315 * @param[in] accept accept or reject
320 int GAP_LeConnectionParameterRsp(const BtAddr *addr, uint8_t accept, const GapLeConnectionParameter *connParam);
349 * @param[in] accept accept or reject
355 int GAP_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType);
360 * @param[in] accept accept or reject
366 int GAP_LeLocalEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType);
371 * @param[in] accept accep
[all...]
H A Dgap_if.c84 uint8_t accept; member
96 uint8_t accept; member
105 uint8_t accept; member
111 uint8_t accept; member
118 uint8_t accept; member
125 uint8_t accept; member
133 uint8_t accept; member
141 uint8_t accept; member
612 info->result = GAP_AuthorizeRes(info->addr, info->service, info->accept); in GapAuthorizeResTask()
615 int GAPIF_AuthorizeRes(const BtAddr *addr, GAP_Service service, uint8_t accept) in GAPIF_AuthorizeRes() argument
781 GAPIF_IOCapabilityRsp( const BtAddr *addr, uint8_t accept, uint8_t ioCapability, uint8_t oobDataPresent, uint8_t authReq) GAPIF_IOCapabilityRsp() argument
813 GAPIF_UserConfirmRsp(const BtAddr *addr, uint8_t accept) GAPIF_UserConfirmRsp() argument
841 GAPIF_UserPasskeyRsp(const BtAddr *addr, uint8_t accept, uint32_t number) GAPIF_UserPasskeyRsp() argument
870 GAPIF_RemoteOobRsp(const BtAddr *addr, uint8_t accept, const GapOOBData *data) GAPIF_RemoteOobRsp() argument
899 GAPIF_PinCodeRsp(const BtAddr *addr, uint8_t accept, const uint8_t *pinCode, uint8_t pinCodeLength) GAPIF_PinCodeRsp() argument
929 GAPIF_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType) GAPIF_LinkKeyRsp() argument
[all...]
H A Dgap_le_if.c126 uint8_t accept; member
138 uint8_t accept; member
146 uint8_t accept; member
190 uint8_t accept; member
197 uint8_t accept; member
204 uint8_t accept; member
212 uint8_t accept; member
1095 info->result = GAP_LeConnectionParameterRsp(info->addr, info->accept, info->connParam); in GapLeConnectionParameterRspTask()
1098 int GAPIF_LeConnectionParameterRsp(const BtAddr *addr, uint8_t accept, const GapLeConnectionParameter *connParam) in GAPIF_LeConnectionParameterRsp() argument
1100 LOG_INFO("%{public}s: accept in GAPIF_LeConnectionParameterRsp()
1180 GAPIF_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey remoteEncKey, uint8_t keyType) GAPIF_LeRemoteEncryptionKeyRsp() argument
1211 GAPIF_LeLocalEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey localEncKey, uint8_t keyType) GAPIF_LeLocalEncryptionKeyRsp() argument
1242 GAPIF_RequestSigningAlgorithmInfoRsp(const BtAddr *addr, uint8_t accept, GapSigningAlgorithmInfo info) GAPIF_RequestSigningAlgorithmInfoRsp() argument
1554 GAPIF_LePairPassKeyRsp(const BtAddr *addr, uint8_t accept, uint32_t number) GAPIF_LePairPassKeyRsp() argument
1583 GAPIF_LePairOobRsp(const BtAddr *addr, uint8_t accept, uint8_t oobData[GAP_OOB_DATA_SIZE]) GAPIF_LePairOobRsp() argument
1612 GAPIF_LePairScOobRsp(const BtAddr *addr, uint8_t accept, const uint8_t oobDataC[GAP_OOB_DATA_CONFIRM_SIZE], const uint8_t oobDataR[GAP_OOB_DATA_RANDOM_SIZE]) GAPIF_LePairScOobRsp() argument
1643 GAPIF_LePairScUserConfirmRsp(const BtAddr *addr, uint8_t accept) GAPIF_LePairScUserConfirmRsp() argument
[all...]
H A Dgap_le_sec.c156 bool accept = true; in GapLeSecureConnectionOOBProcess() local
177 accept = false; in GapLeSecureConnectionOOBProcess()
186 accept = false; in GapLeSecureConnectionOOBProcess()
190 if (accept) { in GapLeSecureConnectionOOBProcess()
192 ret = SMP_AuthenticationRequestReply(handle, accept, 0x00, pairMethod, NULL); in GapLeSecureConnectionOOBProcess()
198 ret = SMP_AuthenticationRequestReply(handle, accept, 0x00, pairMethod, NULL); in GapLeSecureConnectionOOBProcess()
571 int GAP_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType) in GAP_LeRemoteEncryptionKeyRsp() argument
573 LOG_INFO("%{public}s:" BT_ADDR_FMT "accept:%hhu keyType:%hhu", in GAP_LeRemoteEncryptionKeyRsp()
574 __FUNCTION__, BT_ADDR_FMT_OUTPUT(addr->addr), accept, keyType); in GAP_LeRemoteEncryptionKeyRsp()
586 if (accept in GAP_LeRemoteEncryptionKeyRsp()
617 GAP_LeLocalEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType) GAP_LeLocalEncryptionKeyRsp() argument
644 GAP_RequestSigningAlgorithmInfoRsp(const BtAddr *addr, uint8_t accept, GapSigningAlgorithmInfo info) GAP_RequestSigningAlgorithmInfoRsp() argument
971 GAP_LePairPassKeyRsp(const BtAddr *addr, uint8_t accept, uint32_t number) GAP_LePairPassKeyRsp() argument
1002 GAP_LePairOobRsp(const BtAddr *addr, uint8_t accept, uint8_t oobData[GAP_OOB_DATA_SIZE]) GAP_LePairOobRsp() argument
1033 GAP_LePairScOobRsp(const BtAddr *addr, uint8_t accept, const uint8_t oobDataC[GAP_OOB_DATA_SIZE], const uint8_t oobDataR[GAP_OOB_DATA_SIZE]) GAP_LePairScOobRsp() argument
1073 GAP_LePairScUserConfirmRsp(const BtAddr *addr, uint8_t accept) GAP_LePairScUserConfirmRsp() argument
[all...]
H A Dgap_br_sec.c521 int GAP_AuthorizeRes(const BtAddr *addr, GAP_Service service, uint8_t accept) in GAP_AuthorizeRes() argument
530 LOG_INFO("%{public}s:" BT_ADDR_FMT " %{public}d, accept[%hhu]", in GAP_AuthorizeRes()
531 __FUNCTION__, BT_ADDR_FMT_OUTPUT(addr->addr), service, accept); in GAP_AuthorizeRes()
1110 const BtAddr *addr, uint8_t accept, uint8_t ioCapability, uint8_t oobDataPresent, uint8_t authReq) in GAP_IOCapabilityRsp()
1130 if (accept == GAP_ACCEPT) { in GAP_IOCapabilityRsp()
1132 } else if (accept == GAP_NOT_ACCEPT) { in GAP_IOCapabilityRsp()
1207 int GAP_UserConfirmRsp(const BtAddr *addr, uint8_t accept) in GAP_UserConfirmRsp() argument
1217 if (accept == GAP_ACCEPT) { in GAP_UserConfirmRsp()
1219 } else if (accept == GAP_NOT_ACCEPT) { in GAP_UserConfirmRsp()
1293 int GAP_UserPasskeyRsp(const BtAddr *addr, uint8_t accept, uint32_ argument
1109 GAP_IOCapabilityRsp( const BtAddr *addr, uint8_t accept, uint8_t ioCapability, uint8_t oobDataPresent, uint8_t authReq) GAP_IOCapabilityRsp() argument
1375 GAP_RemoteOobRsp(const BtAddr *addr, uint8_t accept, const GapOOBData *data) GAP_RemoteOobRsp() argument
1465 GAP_PinCodeRsp(const BtAddr *addr, uint8_t accept, const uint8_t *pinCode, uint8_t pinCodeLength) GAP_PinCodeRsp() argument
1605 GAP_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType) GAP_LinkKeyRsp() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_adapter.h214 * @param accept Set gap accept flag.
219 virtual bool SetDevicePairingConfirmation(const RawAddress &device, bool accept) const = 0;
226 * @param accept Set gap accept flag.
231 virtual bool SetDevicePasskey(const RawAddress &device, int passkey, bool accept) const = 0;
237 * @param accept Set gap accept flag.
242 virtual bool PairRequestReply(const RawAddress &device, bool accept) const = 0;
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dgap_if.h336 * @param[in] accept accept or reject
340 BTSTACK_API int GAPIF_AuthorizeRes(const BtAddr *addr, GAP_Service service, uint8_t accept);
386 * @param[in] accept accept or reject
394 const BtAddr *addr, uint8_t accept, uint8_t ioCapability, uint8_t oobDataPresent, uint8_t authReq);
399 * @param[in] accept accept or reject
403 BTSTACK_API int GAPIF_UserConfirmRsp(const BtAddr *addr, uint8_t accept);
408 * @param[in] accept accep
[all...]
H A Dgap_le_if.h719 * @param[in] accept accept or reject
725 const BtAddr *addr, uint8_t accept, const GapLeConnectionParameter *connParam);
746 * @param[in] accept accept or reject
753 const BtAddr *addr, uint8_t accept, LeEncKey remoteEncKey, uint8_t keyType);
758 * @param[in] accept accept or reject
765 const BtAddr *addr, uint8_t accept, LeEncKey localEncKey, uint8_t keyType);
770 * @param[in] accept accep
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp.c61 bool accept, uint8_t rejectReason, uint8_t pairMethod, const uint8_t *entryValue);
62 static int SMP_AuthReqReplyJudgeExceptionMaster(bool accept, uint8_t rejectReason);
65 bool accept, uint8_t rejectReason, uint8_t pairMethod, const uint8_t *entryValue);
66 static int SMP_AuthReqReplyJudgeExceptionSlave(bool accept, uint8_t rejectReason);
73 uint16_t handle, bool accept, uint8_t rejectReason, const SMP_PairParam *param);
77 static int SMP_PairRspReplyJudgeException(uint16_t handle, bool accept, uint8_t rejectReason);
81 static int SMP_LtkReqReplyNormal(uint16_t handle, bool accept, const uint8_t *key);
387 uint16_t handle, bool accept, uint8_t rejectReason, uint8_t pairMethod, const uint8_t *entryValue) in SMP_AuthenticationRequestReply()
397 ctx->accept = accept; in SMP_AuthenticationRequestReply()
386 SMP_AuthenticationRequestReply( uint16_t handle, bool accept, uint8_t rejectReason, uint8_t pairMethod, const uint8_t *entryValue) SMP_AuthenticationRequestReply() argument
505 SMP_RemotePairResponseReply(uint16_t handle, bool accept, uint8_t rejectReason) SMP_RemotePairResponseReply() argument
548 SMP_RemoteSecurityRequestReply(uint16_t handle, bool accept, uint8_t rejectReason) SMP_RemoteSecurityRequestReply() argument
579 SMP_LongTermKeyRequestReply(uint16_t handle, bool accept, const uint8_t *key) SMP_LongTermKeyRequestReply() argument
614 SMP_LtkReqReplyNormal(uint16_t handle, bool accept, const uint8_t *key) SMP_LtkReqReplyNormal() argument
1052 SMP_AuthReqReplyProcessMaster( bool accept, uint8_t rejectReason, uint8_t pairMethod, const uint8_t *entryValue) SMP_AuthReqReplyProcessMaster() argument
1066 SMP_AuthReqReplyJudgeExceptionMaster(bool accept, uint8_t rejectReason) SMP_AuthReqReplyJudgeExceptionMaster() argument
1125 SMP_AuthReqReplyProcessSlave( bool accept, uint8_t rejectReason, uint8_t pairMethod, const uint8_t *entryValue) SMP_AuthReqReplyProcessSlave() argument
1139 SMP_AuthReqReplyJudgeExceptionSlave(bool accept, uint8_t rejectReason) SMP_AuthReqReplyJudgeExceptionSlave() argument
1290 SMP_PairReqReplyJudgeException( uint16_t handle, bool accept, uint8_t rejectReason, const SMP_PairParam *param) SMP_PairReqReplyJudgeException() argument
1429 SMP_PairRspReplyJudgeException(uint16_t handle, bool accept, uint8_t rejectReason) SMP_PairRspReplyJudgeException() argument
[all...]
H A Dsmp_def.h267 bool accept; member
275 bool accept; member
284 bool accept; member
290 bool accept; member
296 bool accept; member
H A Dsmp.h281 * @param accept Accept or reject.
288 uint16_t handle, bool accept, uint8_t rejectReason, uint8_t pairMethod, const uint8_t *entryValue);
307 * @param accept Accept or reject.
311 int SMP_RemotePairResponseReply(uint16_t handle, bool accept, uint8_t rejectReason);
317 * @param accept Accept or reject.
321 int SMP_RemoteSecurityRequestReply(uint16_t handle, bool accept, uint8_t rejectReason);
327 * @param accept Accept or reject.
331 int SMP_LongTermKeyRequestReply(uint16_t handle, bool accept, const uint8_t *key);
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_remote_device.h275 * @param accept Set gap accept flag.
280 int SetDevicePairingConfirmation(bool accept);
286 * @param accept Set gap accept flag.
291 bool SetDevicePasskey(int passkey, bool accept);
296 * @param accept Set gap accept flag.
301 bool PairRequestReply(bool accept);
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Dcj_ability_ffi.cpp46 void FFIAbilityContextGetFilesDir(int64_t id, void(*accept)(const char*)) in FFIAbilityContextGetFilesDir()
59 accept(filesDir.c_str()); in FFIAbilityContextGetFilesDir()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_remote_device.cpp289 int BluetoothRemoteDevice::SetDevicePairingConfirmation(bool accept) in SetDevicePairingConfirmation() argument
291 HILOGI("enter, accept: %{public}d", accept); in SetDevicePairingConfirmation()
296 return hostProxy->SetDevicePairingConfirmation(transport_, address_, accept); in SetDevicePairingConfirmation()
299 bool BluetoothRemoteDevice::SetDevicePasskey(int passkey, bool accept) in SetDevicePasskey() argument
301 HILOGI("enter, accept: %{public}d", accept); in SetDevicePasskey()
305 return hostProxy->SetDevicePasskey(transport_, address_, passkey, accept); in SetDevicePasskey()
308 bool BluetoothRemoteDevice::PairRequestReply(bool accept) in PairRequestReply() argument
310 HILOGI("enter, accept in PairRequestReply()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_security.h49 int SetDevicePasskey(const RawAddress &device, int passkey, int accept) const;
50 int SetUserConfirm(const RawAddress &device, int accept) const;
53 bool PairRequestReply(const RawAddress &addr, int addrType, bool accept) const;
H A Dble_security.cpp535 int accept = GAP_NOT_ACCEPT; in GapLeLocalEncryptionKeyReqEvent() local
543 accept = GAP_ACCEPT; in GapLeLocalEncryptionKeyReqEvent()
551 int ret = GAPIF_LeLocalEncryptionKeyRsp(&param.leLocalEncryptionKeyReqEvent_.addr, accept, encKey, 1); in GapLeLocalEncryptionKeyReqEvent()
564 int accept = GAP_NOT_ACCEPT; in GapLeRemoteEncryptionKeyReqEvent() local
571 accept = GAP_ACCEPT; in GapLeRemoteEncryptionKeyReqEvent()
579 int ret = GAPIF_LeRemoteEncryptionKeyRsp(&param.leRemoteEncryptionKeyReqEvent_.addr, accept, encKey, 1); in GapLeRemoteEncryptionKeyReqEvent()
606 int accept = GAP_NOT_ACCEPT; in GapRequestSigningAlgorithmInfoEvt() local
618 accept = GAP_ACCEPT; in GapRequestSigningAlgorithmInfoEvt()
628 accept &= GAP_ACCEPT; in GapRequestSigningAlgorithmInfoEvt()
631 int ret = GAPIF_RequestSigningAlgorithmInfoRsp(&param.gapRequestSigningAlgorithmInfo_.addr, accept, inf in GapRequestSigningAlgorithmInfoEvt()
[all...]
/foundation/communication/bluetooth/frameworks/js/napi/src/opp/
H A Dnapi_bluetooth_opp.cpp105 napi_status CheckSetIncomingFileConfirmation(napi_env env, napi_callback_info info, bool &accept) in CheckSetIncomingFileConfirmation() argument
111 NAPI_BT_CALL_RETURN(NapiParseBoolean(env, argv[PARAM0], accept)); in CheckSetIncomingFileConfirmation()
156 bool accept = false; in SetIncomingFileConfirmation() local
157 auto status = CheckSetIncomingFileConfirmation(env, info, accept); in SetIncomingFileConfirmation()
160 auto func = [accept]() { in SetIncomingFileConfirmation()
162 int32_t errorCode = profile->SetIncomingFileConfirmation(accept); in SetIncomingFileConfirmation()
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gap.cpp443 bool PairRequestReply(const BdAddr *bdAddr, int transport, bool accept) in PairRequestReply() argument
457 bool ret = remoteDevice.PairRequestReply(accept); in PairRequestReply()
458 HILOGI("transport: %{public}d, accept: %{public}d, ret: %{public}d", transport, accept, ret); in PairRequestReply()
462 bool SetDevicePairingConfirmation(const BdAddr *bdAddr, int transport, bool accept) in SetDevicePairingConfirmation() argument
466 HILOGI("device: %{public}s, accept: %{public}d", GetEncryptAddr(strAddress).c_str(), accept); in SetDevicePairingConfirmation()
477 int ret = remoteDevice.SetDevicePairingConfirmation(accept); in SetDevicePairingConfirmation()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_textpicker_ffi.cpp29 std::function<void(CJTextPickerResult)> accept, std::function<void(CJTextPickerResult)> change) in TextPickerDialogEvent()
32 auto acceptId = [accept](const std::string& info) { in TextPickerDialogEvent()
51 accept(ffiClickInfo); in TextPickerDialogEvent()
195 auto dialogEvent = TextPickerDialogEvent(CJLambda::Create(value.accept), CJLambda::Create(value.change)); in FfiOHOSAceFrameworkTextPickerDialogShow()
28 TextPickerDialogEvent( std::function<void(CJTextPickerResult)> accept, std::function<void(CJTextPickerResult)> change) TextPickerDialogEvent() argument
/foundation/communication/dsoftbus/tests/adapter/bluetooth/
H A Dbluetooth_mock.cpp89 bool PairRequestReply(const BdAddr *bdAddr, int32_t transport, bool accept) in PairRequestReply() argument
91 return MockBluetooth::GetMocker()->PairRequestReply(bdAddr, transport, accept); in PairRequestReply()
94 bool SetDevicePairingConfirmation(const BdAddr *bdAddr, int32_t transport, bool accept) in SetDevicePairingConfirmation() argument
96 return MockBluetooth::GetMocker()->SetDevicePairingConfirmation(bdAddr, transport, accept); in SetDevicePairingConfirmation()
H A Dbluetooth_mock.h38 virtual bool PairRequestReply(const BdAddr *bdAddr, int transport, bool accept) = 0;
39 virtual bool SetDevicePairingConfirmation(const BdAddr *bdAddr, int transport, bool accept) = 0;
91 MOCK_METHOD(bool, PairRequestReply, (const BdAddr *bdAddr, int transport, bool accept), (override));
92 MOCK_METHOD(bool, SetDevicePairingConfirmation, (const BdAddr *bdAddr, int transport, bool accept), (override));
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ability_runtime/
H A Dcj_ability_ffi.h31 CJ_EXPORT void FFIAbilityContextGetFilesDir(int64_t id, void(*accept)(const char*));
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/
H A Dohos_bt_gap.h164 * @param accept Set gap accept flag.
168 bool PairRequestReply(const BdAddr *bdAddr, int transport, bool accept);
175 * @param accept Set gap accept flag.
179 bool SetDevicePairingConfirmation(const BdAddr *bdAddr, int transport, bool accept);
318 * @brief Query application whether to accept the connection.
321 * @param res Application decision, 0 is reject, 1 is accept.
/foundation/communication/bluetooth/frameworks/cj/connection/src/
H A Dbluetooth_connection_ffi.cpp68 void FfiBluetoothConSetDevicePairingConfirmation(const char* deviceId, bool accept, int32_t* errCode) in FfiBluetoothConSetDevicePairingConfirmation() argument
70 return ConnectionImpl::SetDevicePairingConfirmation(deviceId, accept, errCode); in FfiBluetoothConSetDevicePairingConfirmation()

Completed in 22 milliseconds

1234