Home
last modified time | relevance | path

Searched refs:addr (Results 1 - 25 of 961) sorted by relevance

12345678910>>...39

/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_state_machine.cpp49 avdtp.ConnectReq(msgData.connectInfo.addr); in Dispatch()
52 ProcessDiscoverReq(msgData.connectInfo.addr, role, msgData.connectInfo.errCode); in Dispatch()
55 avdtp.GetAllCapabilityReq(msgData.stream.addr, msgData.stream.acpSeid, label); in Dispatch()
58 avdtp.GetCapabilityReq(msgData.stream.addr, msgData.stream.acpSeid, label); in Dispatch()
64 ProcessDisconnectReq(msgData.connectInfo.addr, role); in Dispatch()
67 ProcessSDPFailure(msgData.stream.addr, role); in Dispatch()
73 ProcessDisconnectInd(msgData.stream.addr, msgData.stream.handle, role); in Dispatch()
76 ProcessDisconnectCfm(msgData.stream.addr, msgData.stream.handle, role); in Dispatch()
79 ProcessTimeout(msgData.stream.addr, role); in Dispatch()
87 void A2dpStateIdle::ProcessDisconnectCfm(BtAddr addr, uint16_ argument
112 ProcessDisconnectReq(BtAddr addr, uint8_t role) ProcessDisconnectReq() argument
126 ProcessTimeout(BtAddr addr, uint8_t role) ProcessTimeout() argument
136 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
219 ProcessDiscoverReq(BtAddr addr, uint8_t role, uint8_t errCode) ProcessDiscoverReq() argument
247 ProcessSDPFailure(BtAddr addr, uint8_t role) const ProcessSDPFailure() argument
316 ProcessOpenReq(BtAddr addr, uint16_t handle, uint8_t role) ProcessOpenReq() argument
327 ProcessDisconnectReq(BtAddr addr, uint8_t role) ProcessDisconnectReq() argument
337 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
443 BtAddr addr = msgData.delayReportInfo.addr; ProcessDelayReportInd() local
524 ProcessDisconnectReq(BtAddr addr, uint8_t role) ProcessDisconnectReq() argument
534 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
568 BtAddr addr = msgData.delayReportInfo.addr; ProcessDelayReportInd() local
698 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
718 ProcessDisconnectReq(BtAddr addr, uint8_t role) ProcessDisconnectReq() argument
728 ProcessReconfigCfm(BtAddr addr, uint8_t role, uint16_t handle) ProcessReconfigCfm() argument
754 ProcessCloseCfm(BtAddr addr, uint8_t role) ProcessCloseCfm() argument
773 ProcessStartCfm(BtAddr addr, uint8_t role) ProcessStartCfm() argument
808 BtAddr addr = msgData.delayReportInfo.addr; ProcessDelayReportInd() local
813 ProcessTimeout(BtAddr addr, uint8_t role) ProcessTimeout() argument
870 std::string addr = service->GetActiveSinkDevice().GetAddress(); ProcessSuspendCfm() local
1019 ProcessStartCfm(BtAddr addr, uint8_t role) ProcessStartCfm() argument
1079 std::string addr = service->GetActiveSinkDevice().GetAddress(); ProcessSuspendCfm() local
1100 ProcessDisconnectReq(BtAddr addr, uint8_t role) ProcessDisconnectReq() argument
1122 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
1143 ProcessCloseCfm(BtAddr addr, uint8_t role) ProcessCloseCfm() argument
1178 BtAddr addr = msgData.delayReportInfo.addr; ProcessDelayReportInd() local
1217 ProcessCloseStreamInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessCloseStreamInd() argument
1236 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
1256 ProcessDisconnectCfm(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectCfm() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dgap_if.h177 void (*authorizeInd)(const BtAddr *addr, GAP_Service service, void *context);
184 void (*userConfirmReq)(const BtAddr *addr, uint32_t number, int localMitmRequired,
186 void (*userPasskeyReq)(const BtAddr *addr, void *context);
187 void (*userPasskeyNotification)(const BtAddr *addr, uint32_t number, void *context);
188 void (*remoteOobReq)(const BtAddr *addr, void *context);
189 void (*pinCodeReq)(const BtAddr *addr, void *context);
190 void (*linkKeyReq)(const BtAddr *addr, void *context);
192 const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context);
193 void (*simplePairComplete)(const BtAddr *addr, uint8_t status, void *context);
194 void (*IOCapabilityReq)(const BtAddr *addr, voi
[all...]
/foundation/communication/dsoftbus/core/bus_center/utils/src/
H A Dlnn_connection_addr_utils.c64 bool LnnConvertAddrToOption(const ConnectionAddr *addr, ConnectOption *option) in LnnConvertAddrToOption() argument
66 if (addr == NULL || option == NULL) { in LnnConvertAddrToOption()
67 LNN_LOGW(LNN_STATE, "addr or option is null"); in LnnConvertAddrToOption()
70 if (addr->type == CONNECTION_ADDR_BR) { in LnnConvertAddrToOption()
72 if (strncpy_s(option->brOption.brMac, BT_MAC_LEN, addr->info.br.brMac, in LnnConvertAddrToOption()
73 strlen(addr->info.br.brMac)) != EOK) { in LnnConvertAddrToOption()
74 LNN_LOGE(LNN_STATE, "copy br mac to addr fail"); in LnnConvertAddrToOption()
79 if (addr->type == CONNECTION_ADDR_BLE) { in LnnConvertAddrToOption()
81 if (strncpy_s(option->bleOption.bleMac, BT_MAC_LEN, addr->info.ble.bleMac, in LnnConvertAddrToOption()
82 strlen(addr in LnnConvertAddrToOption()
109 LnnConvertOptionToAddr(ConnectionAddr *addr, const ConnectOption *option, ConnectionAddrType hintType) LnnConvertOptionToAddr() argument
187 LnnConvertAddrToAuthConnInfo(const ConnectionAddr *addr, AuthConnInfo *connInfo) LnnConvertAddrToAuthConnInfo() argument
227 LnnConvertAuthConnInfoToAddr(ConnectionAddr *addr, const AuthConnInfo *connInfo, ConnectionAddrType hintType) LnnConvertAuthConnInfoToAddr() argument
265 LnnIsConnectionAddrInvalid(const ConnectionAddr *addr) LnnIsConnectionAddrInvalid() argument
304 LnnPrintConnectionAddr(const ConnectionAddr *addr) LnnPrintConnectionAddr() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_security.cpp107 void BleSecurity::LeLocalEncryptionKeyReqEvent(const BtAddr *addr, uint64_t rand, uint16_t ediv, void *context) in LeLocalEncryptionKeyReqEvent() argument
118 (void)memcpy_s(&gapCallbackParam.leLocalEncryptionKeyReqEvent_.addr, sizeof(BtAddr), addr, sizeof(BtAddr)); in LeLocalEncryptionKeyReqEvent()
125 void BleSecurity::LeRemoteEncryptionKeyReqEvent(const BtAddr *addr, void *context) in LeRemoteEncryptionKeyReqEvent() argument
136 (void)memcpy_s(&gapCallbackParam.leRemoteEncryptionKeyReqEvent_.addr, sizeof(BtAddr), addr, sizeof(BtAddr)); in LeRemoteEncryptionKeyReqEvent()
142 const BtAddr *addr, GAP_SignCounterType type, uint32_t counter, void *context) in LeSignCounterChangeNotification()
153 (void)memcpy_s(&gapCallbackParam.leSignCounterChangeNotification_.addr, sizeof(BtAddr), addr, sizeof(BtAddr)); in LeSignCounterChangeNotification()
177 void BleSecurity::LePairFeatureInd(const BtAddr *addr, GapLePairFeatur argument
141 LeSignCounterChangeNotification( const BtAddr *addr, GAP_SignCounterType type, uint32_t counter, void *context) LeSignCounterChangeNotification() argument
194 LePairMethodNotify(const BtAddr *addr, uint8_t pairMethod, void *context) LePairMethodNotify() argument
211 LePairKeyPressNotification(const BtAddr *addr, uint8_t pressType, void *context) LePairKeyPressNotification() argument
228 LePairPassKeyReq(const BtAddr *addr, void *context) LePairPassKeyReq() argument
244 LePairOobReq(const BtAddr *addr, void *context) LePairOobReq() argument
260 LePairScOobReq(const BtAddr *addr, void *context) LePairScOobReq() argument
276 LePairScUserConfirmReq(const BtAddr *addr, uint32_t number, void *context) LePairScUserConfirmReq() argument
293 LePairComplete(const BtAddr *addr, uint8_t result, uint8_t keyType, void *context) LePairComplete() argument
311 LePairKeyNotify(const BtAddr *addr, LePairedKeys leKeys, void *context) LePairKeyNotify() argument
363 GapRequestSigningAlgorithmInfo(const BtAddr *addr, void *context) GapRequestSigningAlgorithmInfo() argument
379 LePairPassKeyNotification(const BtAddr *addr, uint32_t number, void *context) LePairPassKeyNotification() argument
396 GapLeRequestSecurityResult( const BtAddr *addr, uint8_t result, GAP_LeSecurityStatus status, void *context) GapLeRequestSecurityResult() argument
420 RawAddress addr = RawAddress::ConvertToString(param.lePairKeyNotify_.addr.addr); SavePairKeyNotify() local
450 SaveLocalPairKey(const RawAddress &addr, const BleGapCallbackParam &param) SaveLocalPairKey() argument
477 SavePeerPairKey(const RawAddress &addr, const BleGapCallbackParam &param) SavePeerPairKey() argument
521 RawAddress addr = RawAddress::ConvertToString(param.encryptionComplete_.peerAddr.addr); GapEncryptionComplete() local
534 RawAddress addr = RawAddress::ConvertToString(param.leLocalEncryptionKeyReqEvent_.addr.addr); GapLeLocalEncryptionKeyReqEvent() local
563 RawAddress addr = RawAddress::ConvertToString(param.leRemoteEncryptionKeyReqEvent_.addr.addr); GapLeRemoteEncryptionKeyReqEvent() local
591 RawAddress addr = RawAddress::ConvertToString(param.leSignCounterChangeNotification_.addr.addr); GapLeSignCounterChangeNotification() local
605 RawAddress addr = RawAddress::ConvertToString(param.gapRequestSigningAlgorithmInfo_.addr.addr); GapRequestSigningAlgorithmInfoEvt() local
640 RawAddress addr = RawAddress::ConvertToString(param.lePairFeatureReq_.peerAddr.addr); LePairFeatureReq() local
674 PairRequestReply(const RawAddress &addr, int addrType, bool accept) const PairRequestReply() argument
697 RawAddress addr = RawAddress::ConvertToString(param.lePairFeatureReq_.peerAddr.addr); GapLePairFeatureReq() local
713 RawAddress addr = RawAddress::ConvertToString(param.lePairFeatureInd_.addr.addr); GapLePairFeatureInd() local
738 RawAddress addr = RawAddress::ConvertToString(param.lePairPassKeyReq_.addr.addr); GapLePairPassKeyReq() local
752 RawAddress addr = RawAddress::ConvertToString(param.lePairPassKeyNotification_.addr.addr); GapLePairPassKeyNotification() local
767 RawAddress addr = RawAddress::ConvertToString(param.lePairOobReq_.addr.addr); GapLePairOobReq() local
781 RawAddress addr = RawAddress::ConvertToString(param.lePairScOob_req_.addr.addr); GapLePairScOobReq() local
795 RawAddress addr = RawAddress::ConvertToString(param.lePairScUserConfirmReq_.addr.addr); GapLePairScUserConfirmReq() local
810 RawAddress addr = RawAddress::ConvertToString(param.lePairComplete_.addr.addr); GapLePairComplete() local
839 GapLeRequestSecurity(uint16_t connectionHandle, const BtAddr &addr, uint8_t role) GapLeRequestSecurity() argument
899 BtAddr addr = {{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, peerAddrType}; StartPair() local
916 BtAddr addr = {{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, peerAddrType}; SetDevicePasskey() local
933 BtAddr addr = {{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, peerAddrType}; SetUserConfirm() local
948 BtAddr addr = {{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, peerAddrType}; CancelPairing() local
[all...]
H A Dble_security.h51 int GapLeRequestSecurity(uint16_t connectionHandle, const BtAddr &addr, uint8_t role);
53 bool PairRequestReply(const RawAddress &addr, int addrType, bool accept) const;
72 static void LeLocalEncryptionKeyReqEvent(const BtAddr *addr, uint64_t rand, uint16_t ediv, void *context);
73 static void LeRemoteEncryptionKeyReqEvent(const BtAddr *addr, void *context);
75 const BtAddr *addr, GAP_SignCounterType type, uint32_t counter, void *context);
76 static void GapRequestSigningAlgorithmInfo(const BtAddr *addr, void *context);
79 static void LePairFeatureInd(const BtAddr *addr, GapLePairFeature remoteFrature, void *context);
80 static void LePairMethodNotify(const BtAddr *addr, uint8_t pairMethod, void *context);
81 static void LePairKeyPressNotification(const BtAddr *addr, uint8_t pressType, void *context);
82 static void LePairPassKeyReq(const BtAddr *addr, voi
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_br_sec.c55 const BtAddr *addr, GapSecurityResultCallback callback, void *context, const ProfileSecurityInfo *info) in GapAllocReqSecInfo()
64 reqInfo->addr = *addr; in GapAllocReqSecInfo()
91 BtAddr addr = BT_ADDR_NULL; in GapDoAuthenticationCallback() local
97 addr = reqInfo->addr; in GapDoAuthenticationCallback()
101 g_authenticationCallback.callback.authenticationComplete(&addr, result, g_authenticationCallback.context); in GapDoAuthenticationCallback()
149 g_securityCallback.callback.authorizeInd(&reqInfo->addr, reqInfo->info.serviceId, reqInfo->context); in GapDoAuthorizationCallback()
155 GAP_AuthorizeRes(&reqInfo->addr, reqInfo->info.serviceId, GAP_NOT_ACCEPT); in GapDoAuthorizationCallback()
255 __FUNCTION__, BT_ADDR_FMT_OUTPUT(devInfo->addr in GapCheckConnection()
54 GapAllocReqSecInfo( const BtAddr *addr, GapSecurityResultCallback callback, void *context, const ProfileSecurityInfo *info) GapAllocReqSecInfo() argument
362 GapRemoteDeviceSupportHostSecureSimplePairingCallback(const BtAddr *addr, bool support) GapRemoteDeviceSupportHostSecureSimplePairingCallback() argument
376 GAP_RequestSecurity(const BtAddr *addr, const GapRequestSecurityParam *param) GAP_RequestSecurity() argument
521 GAP_AuthorizeRes(const BtAddr *addr, GAP_Service service, uint8_t accept) GAP_AuthorizeRes() argument
862 BtAddr addr = {0}; GapOnAuthenticationComplete() local
911 GapIOCapabilityRequestReply( const BtAddr *addr, uint8_t ioCapability, uint8_t authReq, uint8_t oobDataPresent) GapIOCapabilityRequestReply() argument
945 GapIOCapabilityRequestNegativeReply(const BtAddr *addr, uint8_t reason) GapIOCapabilityRequestNegativeReply() argument
958 BtAddr addr = BT_ADDR_NULL; GapOnIOCapabilityRequestEvent() local
991 BtAddr addr = BT_ADDR_NULL; GapIOCapabilityRequestReplyComplete() local
1010 BtAddr addr = BT_ADDR_NULL; GapOnIOCapabilityResponseEvent() local
1051 GAP_AuthenticationReq(const BtAddr *addr) GAP_AuthenticationReq() argument
1091 GAP_CancelAuthenticationReq(const BtAddr *addr) GAP_CancelAuthenticationReq() argument
1109 GAP_IOCapabilityRsp( const BtAddr *addr, uint8_t accept, uint8_t ioCapability, uint8_t oobDataPresent, uint8_t authReq) GAP_IOCapabilityRsp() argument
1141 GapUserConfirmationRequestReply(const BtAddr *addr) GapUserConfirmationRequestReply() argument
1150 GapUserConfirmationRequestNegativeReply(const BtAddr *addr) GapUserConfirmationRequestNegativeReply() argument
1162 BtAddr addr = BT_ADDR_NULL; GapOnUserConfirmationRequestEvent() local
1192 BtAddr addr = BT_ADDR_NULL; GapUserConfirmationRequestReplyComplete() local
1207 GAP_UserConfirmRsp(const BtAddr *addr, uint8_t accept) GAP_UserConfirmRsp() argument
1228 GapUserPasskeyRequestReply(const BtAddr *addr, int numericValue) GapUserPasskeyRequestReply() argument
1238 GapUserPasskeyRequestNegativeReply(const BtAddr *addr) GapUserPasskeyRequestNegativeReply() argument
1250 BtAddr addr = BT_ADDR_NULL; GapOnUserPasskeyNotificationEvent() local
1264 BtAddr addr = BT_ADDR_NULL; GapOnUserPasskeyRequestEvent() local
1278 BtAddr addr = BT_ADDR_NULL; GapUserPasskeyRequestReplyComplete() local
1293 GAP_UserPasskeyRsp(const BtAddr *addr, uint8_t accept, uint32_t number) GAP_UserPasskeyRsp() argument
1314 GapRemoteOOBDataRequestReply(const BtAddr *addr, const uint8_t *c, const uint8_t *r) GapRemoteOOBDataRequestReply() argument
1324 GapRemoteOOBDataRequestNegativeReply(const BtAddr *addr) GapRemoteOOBDataRequestNegativeReply() argument
1336 BtAddr addr; GapOnRemoteOOBDataRequestEvent() local
1350 BtAddr addr; GapRemoteOOBDataRequestReplyComplete() local
1360 BtAddr addr; GapRemoteOOBExtendedDataRequestReplyComplete() local
1375 GAP_RemoteOobRsp(const BtAddr *addr, uint8_t accept, const GapOOBData *data) GAP_RemoteOobRsp() argument
1400 GapPINCodeRequestReply(const BtAddr *addr, uint8_t pinCode[GAP_PINCODE_SIZE], uint8_t pinCodeLength) GapPINCodeRequestReply() argument
1411 GapPINCodeRequestNegativeReply(const BtAddr *addr) GapPINCodeRequestNegativeReply() argument
1423 BtAddr addr; GapOnPINCodeRequestEvent() local
1450 BtAddr addr; GapPINCodeRequestReplyComplete() local
1465 GAP_PinCodeRsp(const BtAddr *addr, uint8_t accept, const uint8_t *pinCode, uint8_t pinCodeLength) GAP_PinCodeRsp() argument
1494 GapLinkKeyRequestReply(const BtAddr *addr, const uint8_t *linkKey) GapLinkKeyRequestReply() argument
1505 GapLinkKeyRequestNegativeReply(const BtAddr *addr) GapLinkKeyRequestNegativeReply() argument
1514 GAP_PairIsFromLocal(const BtAddr *addr, bool *isLocal) GAP_PairIsFromLocal() argument
1539 BtAddr addr; GapOnLinkKeyNotificationEvent() local
1559 BtAddr addr; GapOnLinkKeyRequestEvent() local
1590 BtAddr addr; GapLinkKeyRequestReplyComplete() local
1605 GAP_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType) GAP_LinkKeyRsp() argument
1640 BtAddr addr; GapOnSimplePairingComplete() local
1652 BtAddr addr = {0}; GapOnEncryptionChangeEvent() local
1705 BtAddr addr = {0}; GapOnEncryptionKeyRefreshComplete() local
[all...]
H A Dgap.h32 * @param[out] addr Bluetooth address of bluetooth chip.
36 int GAP_GetLocalAddr(BtAddr *addr);
90 * @param[in] addr outgoing attributes to remote device
96 int GAP_RegisterServiceSecurity(const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo, uint16_t securityMode);
100 * @param[in] addr outgoing attributes to remote device
105 int GAP_DeregisterServiceSecurity(const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo);
109 * @param[in] addr target device address
114 int GAP_RequestSecurity(const BtAddr *addr, const GapRequestSecurityParam *param);
142 * @param[in] addr target device address
148 int GAP_AuthorizeRes(const BtAddr *addr, GAP_Servic
[all...]
H A Dgap_le_scan.c44 BtAddr addr; member
166 BT_ADDR_FMT_OUTPUT(info->addr.addr)); in GapCallbackRPAAdvertisingReport()
174 report->eventType, &info->addr, reportParam, currentAddr, g_leScanCallback.context); in GapCallbackRPAAdvertisingReport()
201 BT_ADDR_FMT_OUTPUT(info->addr.addr)); in GapCallbackRPAExtendedAdvertisingReport()
204 report->eventType, &info->addr, advParam, currentAddr, g_leExScanCallback.context); in GapCallbackRPAExtendedAdvertisingReport()
221 BT_ADDR_FMT_OUTPUT(info->addr.addr)); in GapCallbackRPADirectedAdvertisingReport()
228 report->eventType, &info->addr, reportPara in GapCallbackRPADirectedAdvertisingReport()
270 uint8_t addr[BT_ADDRESS_SIZE]; GapRPAResolveProcess() local
287 GapResolveRPAResult(uint8_t status, bool result, const uint8_t *addr, const uint8_t *irk) GapResolveRPAResult() argument
323 GapLeAllocAdvReportRPAResolveInfo( BtAddr addr, AdvReportType type, const void *advReport) GapLeAllocAdvReportRPAResolveInfo() argument
377 GapTryChangeAddressForIdentityAddress(BtAddr *addr) GapTryChangeAddressForIdentityAddress() argument
394 BtAddr addr; GapOnLeAdvertisingReportEventProcessOnce() local
500 BtAddr addr; GapOnLeExtendedAdvertisingReportEventProcessOnce() local
550 BtAddr addr; GapOnLeDirectedAdvertisingReportProcessOnce() local
[all...]
H A Dgap_le_sec.c57 static int GapLePair(const BtAddr *addr);
92 callback(&deviceInfo->addr, result, encryptionStatus, context); in GapDoLeSecurityCallback()
98 const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const void *displayValue) in GapLePasskeyRequestProcess()
105 addr, *(uint32_t *)displayValue, g_lePairCallback.context); in GapLePasskeyRequestProcess()
118 g_lePairCallback.callback.lePairPassKeyReq(addr, g_lePairCallback.context); in GapLePasskeyRequestProcess()
128 static void GapLeUserConfirmProcess(const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const void *displayValue) in GapLeUserConfirmProcess() argument
131 g_lePairCallback.callback.lePairScUserConfirmReq(addr, *(uint32_t *)displayValue, g_lePairCallback.context); in GapLeUserConfirmProcess()
140 static void GapLeLegacyOOBProcess(const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const void *displayValue) in GapLeLegacyOOBProcess() argument
143 g_lePairCallback.callback.lePairOobReq(addr, g_lePairCallback.context); in GapLeLegacyOOBProcess()
153 const BtAddr *addr, uint16_ in GapLeSecureConnectionOOBProcess()
97 GapLePasskeyRequestProcess( const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const void *displayValue) GapLePasskeyRequestProcess() argument
152 GapLeSecureConnectionOOBProcess( const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const void *displayValue) GapLeSecureConnectionOOBProcess() argument
205 GapLeAuthenticationRequestProcess( BtAddr addr, uint16_t handle, uint8_t pairMethod, const uint8_t *displayValue) GapLeAuthenticationRequestProcess() argument
240 BtAddr addr = {0}; GapLeAuthenticationRequest() local
320 GapCallbackKeyNotify(const BtAddr *addr, const SMP_PairResult *result) GapCallbackKeyNotify() argument
375 GapDoPairResultCallback(const BtAddr *addr, uint8_t status) GapDoPairResultCallback() argument
384 BtAddr addr = {0}; GapLePairResult() local
419 BtAddr addr = {0}; GapLeRemotePairRequest() local
475 BtAddr addr = {0}; GapLeRemoteSecurityRequest() local
497 BtAddr addr = {0}; GapLeLongTermKeyRequest() local
519 BtAddr addr = {0}; GapLeEncryptionComplete() local
571 GAP_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType) GAP_LeRemoteEncryptionKeyRsp() argument
601 (void)memcpy_s(&GapGetLeBondBlock()->addr, sizeof(BtAddr), addr, sizeof(BtAddr)); GAP_LeRemoteEncryptionKeyRsp() local
608 (void)memcpy_s(&GapGetLeBondBlock()->addr, sizeof(BtAddr), addr, sizeof(BtAddr)); GAP_LeRemoteEncryptionKeyRsp() local
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
682 const BtAddr *addr = &deviceInfo->addr; GapLeRequestSecurityMaster() local
738 GAP_LeRequestSecurity( const BtAddr *addr, GAP_LeSecurityStatus status, GapLeRequestSecurityResult callback, void *context) GAP_LeRequestSecurity() argument
799 GapClearPairingStatus(const BtAddr *addr) GapClearPairingStatus() argument
807 GapLePair(const BtAddr *addr) GapLePair() argument
841 GapLeDoPair(const void *addr) GapLeDoPair() argument
849 GAP_LePair(const BtAddr *addr) GAP_LePair() argument
878 GAP_LeCancelPair(const BtAddr *addr) GAP_LeCancelPair() argument
916 GAP_LePairFeatureRsp(const BtAddr *addr, GapLePairFeature localFeature) GAP_LePairFeatureRsp() 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
1134 GAP_LeDataSignatureGeneration( const BtAddr *addr, GapSignatureData dataInfo, GAPSignatureGenerationResult callback, void *context) GAP_LeDataSignatureGeneration() argument
1181 GAP_LeDataSignatureConfirmation(const BtAddr *addr, GapSignatureData dataInfo, const uint8_t signature[GAP_SIGNATURE_SIZE], GAPSignatureConfirmationResult callback, void *context) GAP_LeDataSignatureConfirmation() argument
1285 GapRequestSigningAlgorithmInfo(const BtAddr *addr) GapRequestSigningAlgorithmInfo() argument
[all...]
H A Dgap_br_discover.c117 BtAddr addr = BT_ADDR_NULL; in GapOnInquiryResult() local
118 GapChangeHCIAddr(&addr, &eventParam->responses[i].bdAddr, BT_PUBLIC_DEVICE_ADDRESS); in GapOnInquiryResult()
123 BtmAssignOrUpdateInquiryInfo(&addr, &inquiryInfo); in GapOnInquiryResult()
125 LOG_DEBUG("%{public}s: " BT_ADDR_FMT, __FUNCTION__, BT_ADDR_FMT_OUTPUT(addr.addr)); in GapOnInquiryResult()
127 g_discoveryCallback.callback.inquiryResult(&addr, cod, g_discoveryCallback.context); in GapOnInquiryResult()
137 BtAddr addr = BT_ADDR_NULL; in GapOnInquiryResultRssi() local
138 GapChangeHCIAddr(&addr, &eventParam->responses[i].bdAddr, BT_PUBLIC_DEVICE_ADDRESS); in GapOnInquiryResultRssi()
145 BtmAssignOrUpdateInquiryInfo(&addr, &inquiryInfo); in GapOnInquiryResultRssi()
147 LOG_DEBUG("%{public}s: " BT_ADDR_FMT, __FUNCTION__, BT_ADDR_FMT_OUTPUT(addr in GapOnInquiryResultRssi()
158 BtAddr addr = BT_ADDR_NULL; GapOnEntendedInquiryResult() local
220 GAP_GetRemoteName(const BtAddr *addr) GAP_GetRemoteName() argument
263 BtAddr addr = BT_ADDR_NULL; GapOnGetRemoteNameComplete() local
272 GAP_GetRemoteNameCancel(const BtAddr *addr) GAP_GetRemoteNameCancel() argument
[all...]
H A Dgap_le.h40 * @param[out] addr Bluetooth address of bluetooth chip.
44 int GAP_GetLocalAddr(BtAddr *addr);
48 * @param[in/out] addr Static Identity Address
52 int GAP_LeSetStaticIdentityAddr(uint8_t addr[BT_ADDRESS_SIZE]);
98 * @param[in] addr random device address
102 int GAP_LeExAdvSetRandAddr(uint8_t advHandle, const uint8_t addr[BT_ADDRESS_SIZE]);
305 * @param[in] addr target device address
310 int GAP_LeConnParamUpdate(const BtAddr *addr, const GapLeConnectionParameter *connParam);
314 * @param[in] addr target device address
320 int GAP_LeConnectionParameterRsp(const BtAddr *addr, uint8_
[all...]
H A Dgap_if.c58 BtAddr *addr; member
65 BtAddr *addr; member
71 BtAddr addr; member
82 BtAddr *addr; member
89 BtAddr *addr; member
95 BtAddr *addr; member
104 BtAddr *addr; member
110 BtAddr *addr; member
117 BtAddr *addr; member
124 BtAddr *addr; member
132 BtAddr *addr; global() member
140 BtAddr *addr; global() member
148 BtAddr *addr; global() member
319 GAPIF_RegisterServiceSecurity(const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo, uint16_t securityMode) GAPIF_RegisterServiceSecurity() argument
355 GAPIF_RegisterServiceSecurityAsync( const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo, uint16_t securityMode) GAPIF_RegisterServiceSecurityAsync() argument
400 GAPIF_DeregisterServiceSecurity(const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo) GAPIF_DeregisterServiceSecurity() argument
434 GAPIF_DeregisterServiceSecurityAsync(const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo) GAPIF_DeregisterServiceSecurityAsync() argument
476 GAPIF_RequestSecurity(const BtAddr *addr, const GapRequestSecurityParam *param) GAPIF_RequestSecurity() argument
503 GAPIF_RequestSecurityAsync(const BtAddr *addr, const GapRequestSecurityParam *param) GAPIF_RequestSecurityAsync() argument
615 GAPIF_AuthorizeRes(const BtAddr *addr, GAP_Service service, uint8_t accept) GAPIF_AuthorizeRes() argument
698 GAPIF_PairIsFromLocal(const BtAddr *addr, bool *isLocal) GAPIF_PairIsFromLocal() argument
726 GAPIF_AuthenticationReq(const BtAddr *addr) GAPIF_AuthenticationReq() argument
753 GAPIF_CancelAuthenticationReq(const BtAddr *addr) GAPIF_CancelAuthenticationReq() 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
1067 GAPIF_GetRemoteName(const BtAddr *addr) GAPIF_GetRemoteName() argument
1094 GAPIF_GetRemoteNameCancel(const BtAddr *addr) GAPIF_GetRemoteNameCancel() argument
1121 GAPIF_GetLocalAddr(BtAddr *addr) GAPIF_GetLocalAddr() argument
[all...]
H A Dgap_btm_receive.c33 BtAddr addr; member
47 BtAddr addr; member
54 BtmAclConnectCompleteParam btmParam = {.addr = &param->addr}; in GapAclConnectionCompleteTask()
69 BT_ADDR_FMT_OUTPUT(param->addr->addr)); in GapRecvAclConnectionComplete()
78 btmParam->addr = *param->addr; in GapRecvAclConnectionComplete()
124 BtAddr addr; member
139 GapLeConnectionComplete(param->status, param->connectionHandle, &param->addr, para in GapLeConnectionCompleteTask()
142 GapRecvLeConnectionComplete( uint8_t status, uint16_t connectionHandle, const BtAddr *addr, uint8_t role, void *context) GapRecvLeConnectionComplete() argument
224 GapRecvRemoteDeviceSupportHostSecureSimplePairingCallback(const BtAddr *addr, bool support) GapRecvRemoteDeviceSupportHostSecureSimplePairingCallback() argument
242 GapIsRemoteDeviceSupportHostSecureSimplePairingAsync(const BtAddr *addr) GapIsRemoteDeviceSupportHostSecureSimplePairingAsync() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/
H A Davctp_int.h79 #define BT_ADDR_FMT_ASC(addr) addr[0], addr[1], addr[2], addr[3], addr[4], addr[5]
80 #define BT_ADDR_FMT_DSC(addr) addr[5], addr[
148 BtAddr addr; /* peer address */ global() member
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_acl.c60 BtAddr addr; member
114 BtAddr addr; member
130 BtAddr addr; member
337 static BtmAclConnection *BtmAclFindConnectionByAddr(const BtAddr *addr) in BtmAclFindConnectionByAddr() argument
345 if (IsEqualAddr(connection->addr.addr, addr->addr)) { in BtmAclFindConnectionByAddr()
356 static BtmAclConnection *BtmAclFindLeConnectionByAddr(const BtAddr *addr) in BtmAclFindLeConnectionByAddr() argument
364 if (IsEqualAddr(connection->addr in BtmAclFindLeConnectionByAddr()
395 BtmAclCreateConnection(const BtAddr *addr) BtmAclCreateConnection() argument
424 BTM_AclConnect(const BtAddr *addr) BTM_AclConnect() argument
509 BtAddr addr = {0}; BtmOnConnectionComplete() local
568 BtAddr addr = { BtmOnConnectionrequest() local
619 BtmConvertAddressForConnection(BtAddr *addr) BtmConvertAddressForConnection() argument
780 BtmLeCreateConnection(const BtAddr *addr) BtmLeCreateConnection() argument
801 BTM_LeConnect(const BtAddr *addr) BTM_LeConnect() argument
857 BtmConvertAddressForConnectionComplete(BtAddr *addr) BtmConvertAddressForConnectionComplete() argument
879 BtmUpdateLeConnectionOnConnectComplete( const BtAddr *addr, uint8_t peerAddrType, const HciLeConnectionCompleteEventParam *eventParam) BtmUpdateLeConnectionOnConnectComplete() argument
934 BtAddr *addr = NULL; BtmLeCancelConnectCallback() local
1031 IsZeroAddress(const uint8_t addr[BT_ADDRESS_SIZE]) IsZeroAddress() argument
1047 BtAddr addr = { BtmUpdateUpdateWhiteListOnLeConnectionComplete() local
1093 BtAddr addr = { BtmOnLeConnectionComplete() local
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
1228 BtAddr addr = { BtmUpdateWhiteListOnLeEnhancedConnectionComplete() local
1274 BtAddr addr = { BtmOnLeEnhancedConnectionComplete() local
1419 BtmOnLeRemoteFeatureComplete(const BtAddr *addr, const List *requests, const HciLeFeatures *leFeatures) BtmOnLeRemoteFeatureComplete() argument
1440 BtAddr addr = {0}; BtmOnLeReadRemoteFeaturesComplete() local
1498 BtmOnRemoteFeatureComplete(const BtAddr *addr, const List *requests, const HciLmpFeatures *lmpFeatures) BtmOnRemoteFeatureComplete() argument
1522 BtAddr addr = {0}; BtmOnReadRemoteSupportedFeaturesComplete() local
1553 BtmOnRemoteExtendedFeatureComplete( const BtAddr *addr, const List *requests, const HciExtendedLmpFeatures *extendedFeatures) BtmOnRemoteExtendedFeatureComplete() argument
1577 BtAddr addr = {0}; BtmOnReadRemoteExtendedFeaturesComplete() local
1633 BtAddr addr; BtmOnReadRssiComplete() local
1712 BtmGetAclHandleByAddress(const BtAddr *addr, uint16_t *handle) BtmGetAclHandleByAddress() argument
1726 BtmGetLeAclHandleByAddress(const BtAddr *addr, uint16_t *handle) BtmGetLeAclHandleByAddress() argument
1740 BtmGetAclAddressByHandle(const uint16_t handle, BtAddr *addr) BtmGetAclAddressByHandle() argument
1821 BTM_ReadRssi(const BtAddr *addr) BTM_ReadRssi() argument
1882 BTM_IsSecureConnection(const BtAddr *addr) BTM_IsSecureConnection() argument
1949 BTM_AclCancelConnect(const BtAddr *addr) BTM_AclCancelConnect() argument
1979 BTM_LeCancelConnect(const BtAddr *addr) BTM_LeCancelConnect() argument
2027 BTM_IsRemoteDeviceSupportHostSecureSimplePairing(const BtAddr *addr, BTMRemoteDeviceSupportCallback callback) BTM_IsRemoteDeviceSupportHostSecureSimplePairing() argument
2064 BTM_IsRemoteDeviceSupportConnectionParametersRequest(const BtAddr *addr, BTMRemoteDeviceSupportCallback callback) BTM_IsRemoteDeviceSupportConnectionParametersRequest() argument
2101 BTM_IsRemoteDeviceSupportEdrAcl2MbMode(const BtAddr *addr, BTMRemoteDeviceSupportCallback callback) BTM_IsRemoteDeviceSupportEdrAcl2MbMode() argument
2137 BTM_IsRemoteDeviceSupportEdrAcl3MbMode(const BtAddr *addr, BTMRemoteDeviceSupportCallback callback) BTM_IsRemoteDeviceSupportEdrAcl3MbMode() argument
2192 BTM_SetLinkPolicySettings(const BtAddr *addr, uint16_t linkPolicySettings) BTM_SetLinkPolicySettings() argument
2220 BtAddr addr = { BtmOnRoleChange() local
2239 BTM_SwitchRole(const BtAddr *addr, uint8_t role) BTM_SwitchRole() argument
2358 BTM_ChangeConnectionPacketType(const BtAddr *addr, uint16_t packetType) BTM_ChangeConnectionPacketType() argument
[all...]
H A Dbtm_le_sec.c56 block->currentAddr = device->addr; in BtmAllocLePairedDeviceBlock()
97 (void)memcpy_s(param.peerIdentityAddress.raw, BT_ADDRESS_SIZE, device->remoteIdentityAddress.addr, BT_ADDRESS_SIZE); in BtmAddToResolvingList()
116 (void)memcpy_s(param.peerIdentityAddress.raw, BT_ADDRESS_SIZE, device->remoteIdentityAddress.addr, BT_ADDRESS_SIZE); in BtmSetPrivacyMode()
132 (void)memcpy_s(param.peerIdentityAddress.raw, BT_ADDRESS_SIZE, device->remoteIdentityAddress.addr, BT_ADDRESS_SIZE); in BtmRemoveFromResolvingList()
141 if (addr1->addr[i] != addr2->addr[i]) { in IsSameBtAddr()
150 static bool IsZeroAddress(const uint8_t addr[BT_ADDRESS_SIZE]) in IsZeroAddress() argument
154 if (addr[i] != 0) { in IsZeroAddress()
162 static BtmLePairedDeviceBlock *BtmFindLePairedDeviceBlockByAddress(const BtAddr *addr) in BtmFindLePairedDeviceBlockByAddress() argument
169 if (IsSameBtAddr(&block->pairedInfo.addr, add in BtmFindLePairedDeviceBlockByAddress()
181 BtmFindLePairedDeviceBlockByRemoteIdentityAddress(const BtAddr *addr) BtmFindLePairedDeviceBlockByRemoteIdentityAddress() argument
362 BTM_RemoveLePairedDevice(const BtAddr *addr) BTM_RemoveLePairedDevice() argument
421 BTM_GetRemoteIdentityResolvingKey(const BtAddr *addr, BtmKey *irk) BTM_GetRemoteIdentityResolvingKey() argument
590 BTM_GetRemoteIdentityAddress(const BtAddr *addr, BtAddr *identityAddress) BTM_GetRemoteIdentityAddress() argument
616 BTM_GetPairdAddressFromRemoteIdentityAddress(const BtAddr *identityAddress, BtAddr *addr) BTM_GetPairdAddressFromRemoteIdentityAddress() argument
642 BTM_IsDeviceInResolvingList(const BtAddr *addr) BTM_IsDeviceInResolvingList() argument
666 BTM_ConvertToPairedAddress(const BtAddr *addr, BtAddr *pairedAddress) BTM_ConvertToPairedAddress() argument
708 BTM_SetLeRandomAddress(const BtAddr *addr) BTM_SetLeRandomAddress() argument
736 BTM_GetLeRandomAddress(BtAddr *addr) BTM_GetLeRandomAddress() argument
[all...]
H A Dbtm_inq_db.c25 BtAddr addr; member
32 static BtmInquiryDBEntity *BtmAllocInquiryDBEntity(const BtAddr *addr, const BtmInquiryInfo *info) in BtmAllocInquiryDBEntity() argument
36 entity->addr = *addr; in BtmAllocInquiryDBEntity()
52 if (addr1->addr[i] != addr2->addr[i]) { in BtmIsSameAddress()
61 static BtmInquiryDBEntity *BtmFindInquiryEntiryByAddress(const BtAddr *addr) in BtmFindInquiryEntiryByAddress() argument
68 if (BtmIsSameAddress(addr, &entity->addr)) { in BtmFindInquiryEntiryByAddress()
78 int BtmAssignOrUpdateInquiryInfo(const BtAddr *addr, cons argument
103 BtmQueryInquiryInfoByAddr(const BtAddr *addr, BtmInquiryInfo *info) BtmQueryInquiryInfoByAddr() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/stub/
H A Dmedia_service.h69 virtual void OnConnectionStateChanged(const std::string &addr, int state) = 0;
71 virtual void OnPressButton(const std::string &addr, uint8_t button) = 0;
73 virtual void OnReleaseButton(const std::string &addr, uint8_t button) = 0;
75 virtual void OnSetAddressedPlayer(const std::string &addr, uint8_t label, int status) = 0;
77 virtual void OnSetBrowsedPlayer(const std::string &addr, uint16_t uidCounter, uint32_t numOfItems,
81 const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label) = 0;
84 const std::string &addr, const std::deque<uint8_t> &values, uint8_t label) = 0;
86 virtual void OnGetPlayerAppSettingCurrentValue(const std::string &addr, const std::deque<uint8_t> &attributes,
89 virtual void OnSetPlayerAppSettingCurrentValue(const std::string &addr, uint8_t label) = 0;
91 virtual void OnGetPlayerAppSettingAttributeText(const std::string &addr, cons
150 SetActiveDevice(const std::string &addr) SetActiveDevice() argument
158 PressButton(const std::string &addr, uint8_t button, uint8_t label) PressButton() argument
163 ReleaseButton(const std::string &addr, uint8_t button, uint8_t label) ReleaseButton() argument
172 SetAddressedPlayer(const std::string &addr, uint16_t playerId, uint16_t uidCounter, uint8_t label) SetAddressedPlayer() argument
177 SetBrowsedPlayer(const std::string &addr, uint16_t playerId, uint16_t uidCounter, uint8_t label) SetBrowsedPlayer() argument
186 GetCapabilities(const std::string &addr, uint8_t label) GetCapabilities() argument
196 GetPlayerAppSettingAttributes(const std::string &addr, uint8_t label) GetPlayerAppSettingAttributes() argument
201 GetPlayerAppSettingValues(const std::string &addr, uint8_t attribute, uint8_t label) GetPlayerAppSettingValues() argument
206 GetPlayerAppSettingCurrentValue( const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label, uint8_t context) GetPlayerAppSettingCurrentValue() argument
212 SetPlayerAppSettingCurrentValue(const std::string &addr, const std::deque<uint8_t> &attributes, const std::deque<uint8_t> &values, uint8_t label) SetPlayerAppSettingCurrentValue() argument
218 GetPlayerAppSettingAttributeText( const std::string &addr, const std::vector<uint8_t> &attributes, uint8_t label) GetPlayerAppSettingAttributeText() argument
224 GetPlayerAppSettingValueText( const std::string &addr, uint8_t attribute, const std::vector<uint8_t> &values, uint8_t label) GetPlayerAppSettingValueText() argument
234 GetElementAttributes( const std::string &addr, uint64_t identifier, const std::vector<uint32_t> &attributes, uint8_t label) GetElementAttributes() argument
244 GetPlayStatus(const std::string &addr, uint8_t label, uint8_t context) GetPlayStatus() argument
249 PlayItem(const std::string &addr, uint8_t scope, uint64_t uid, uint16_t uidCounter, uint8_t label) PlayItem() argument
254 AddToNowPlaying(const std::string &addr, uint8_t scope, uint64_t uid, uint16_t uidCounter, uint8_t label) AddToNowPlaying() argument
263 ChangePath(const std::string &addr, uint16_t uidCounter, uint8_t direction, uint64_t folderUid, uint8_t label) ChangePath() argument
268 GetFolderItems(const std::string &addr, uint8_t scope, uint32_t startItem, uint32_t endItem, const std::vector<uint32_t> &attributes, uint8_t label) GetFolderItems() argument
274 GetItemAttributes(const std::string &addr, uint8_t scope, uint64_t uid, uint16_t uidCounter, const std::vector<uint32_t> &attributes, uint8_t label) GetItemAttributes() argument
280 GetTotalNumberOfItems(const std::string &addr, uint8_t scope, uint8_t label) GetTotalNumberOfItems() argument
289 SetAbsoluteVolume(const std::string &addr, uint8_t volume, uint8_t label) SetAbsoluteVolume() argument
294 GetSelectedTrack(const std::string addr, uint8_t label) GetSelectedTrack() argument
299 GetAddressedPlayer(const std::string &addr, uint8_t label) GetAddressedPlayer() argument
304 GetUidCounter(const std::string &addr, uint8_t label) GetUidCounter() argument
309 GetCurrentAbsoluteVolume(const std::string &addr, uint8_t label) GetCurrentAbsoluteVolume() argument
314 SetPlaybackInterval(const std::string &addr, uint32_t interval) SetPlaybackInterval() argument
[all...]
/foundation/communication/dsoftbus/tests/core/bus_center/utils/
H A Dlnn_bus_center_utils_test.cpp69 * @tc.desc: lnn is same connection addr test
124 * @tc.desc: lnn convert addr to option test
130 ConnectionAddr addr; in HWTEST_F() local
132 (void)memset_s(&addr, sizeof(ConnectionAddr), 0, sizeof(ConnectionAddr)); in HWTEST_F()
134 addr.type = CONNECTION_ADDR_BR; in HWTEST_F()
135 (void)strcpy_s(addr.info.br.brMac, BT_MAC_LEN, NODE1_BR_MAC); in HWTEST_F()
136 (void)strcpy_s(addr.info.ble.bleMac, BT_MAC_LEN, NODE1_BLE_MAC); in HWTEST_F()
137 (void)memcpy_s(addr.info.ble.udidHash, UDID_HASH_LEN, NODE1_UDID_HASH, UDID_HASH_LEN); in HWTEST_F()
138 (void)strcpy_s(addr.info.ip.ip, IP_STR_MAX_LEN, NODE1_IP); in HWTEST_F()
139 addr in HWTEST_F()
160 ConnectionAddr addr; HWTEST_F() local
220 ConnectionAddr addr; HWTEST_F() local
250 ConnectionAddr addr; HWTEST_F() local
[all...]
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dnetsys_udp_transfer_test.cpp49 AlignedSockAddr addr = {}; in HWTEST_F() local
50 addr.sin.sin_family = AF_INET; in HWTEST_F()
51 addr.sin.sin_port = htons(1212); in HWTEST_F()
53 int32_t ret = PollUdpDataTransfer::PollUdpSendData(sock, data, size, addr, addrLen); in HWTEST_F()
62 AlignedSockAddr addr = {}; in HWTEST_F() local
63 addr.sin6.sin6_family = AF_INET6; in HWTEST_F()
64 addr.sin6.sin6_port = htons(1212); in HWTEST_F()
66 int32_t ret = PollUdpDataTransfer::PollUdpSendData(sock, data, size, addr, addrLen); in HWTEST_F()
74 AlignedSockAddr addr = {}; in HWTEST_F() local
75 addr in HWTEST_F()
86 AlignedSockAddr addr = {}; HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/core/bus_center/lnn/disc_mgr/src/
H A Dlnn_coap_discovery_impl.c48 if (device->addr[0].type != CONNECTION_ADDR_WLAN && device->addr[0].type != CONNECTION_ADDR_ETH) { in LnnCheckDiscoveryDeviceInfo()
49 LNN_LOGE(LNN_BUILDER, "discovery get invalid addrType=%{public}d", device->addr[0].type); in LnnCheckDiscoveryDeviceInfo()
52 if (device->addr[0].info.ip.port == 0) { in LnnCheckDiscoveryDeviceInfo()
54 LnnCoapConnect(device->addr[0].info.ip.ip); in LnnCheckDiscoveryDeviceInfo()
60 static int32_t GetConnectDeviceInfo(const DeviceInfo *device, ConnectionAddr *addr) in GetConnectDeviceInfo() argument
62 addr->type = device->addr[0].type; in GetConnectDeviceInfo()
63 if (strcpy_s(addr->info.ip.ip, IP_STR_MAX_LEN, device->addr[ in GetConnectDeviceInfo()
81 ConnectionAddr addr; DeviceFound() local
[all...]
/foundation/arkui/ui_lite/frameworks/font/
H A Dfont_ram_allocator.cpp52 void* addr = reinterpret_cast<void *>(currentRamAddr_); in Allocate() local
54 return addr; in Allocate()
83 void FontRamAllocator::DynamicFree(void* addr) in DynamicFree() argument
85 return allocator_.Free(addr); in DynamicFree()
88 uint32_t FontRamAllocator::GetMemSize(void* addr) in GetMemSize() argument
90 return allocator_.GetSize(addr); in GetMemSize()
93 uint32_t FontRamAllocator::AlignUp(uint32_t addr) in AlignUp() argument
95 return (((addr + (1 << RAM_ALIGN)) >> RAM_ALIGN) << RAM_ALIGN); in AlignUp()
98 bool FontRamAllocator::IsAligned(uint32_t addr) in IsAligned() argument
100 return ((addr in IsAligned()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_client.h32 int SdpServiceSearch(const BtAddr *addr, const SdpUuid *uuidArray, void *context,
33 void (*serviceSearchCb)(const BtAddr *addr, const uint32_t *handleArray, uint16_t handleNum, void *context));
34 int SdpServiceAttribute(const BtAddr *addr, uint32_t handle, SdpAttributeIdList attributeIdList, void *context,
35 void (*serviceAttributeCb)(const BtAddr *addr, const SdpService *service, void *context));
36 int SdpServiceSearchAttribute(const BtAddr *addr, const SdpUuid *uuidArray, SdpAttributeIdList attributeIdList,
38 void (*searchAttributeCb)(const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context));
39 int SdpServiceBrowse(const BtAddr *addr, void *context,
40 void (*serviceBrowseCb)(const BtAddr *addr, const uint32_t *handleArray, uint16_t handleNum, void *context));
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/
H A Dsocket_app.h27 #define IPV6_ADDR_IS_NULL(addr) \
28 (((addr)->sin6_addr.s6_addr[0] == 0) && ((addr)->sin6_addr.s6_addr[1] == 0) && \
29 ((addr)->sin6_addr.s6_addr[2] == 0) && ((addr)->sin6_addr.s6_addr[3] == 0) && \
30 ((addr)->sin6_addr.s6_addr[4] == 0) && ((addr)->sin6_addr.s6_addr[5] == 0) && \
31 ((addr)->sin6_addr.s6_addr[6] == 0) && ((addr)->sin6_addr.s6_addr[7] == 0) && \
32 ((addr)
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_adapter_properties.cpp277 macAddr_ = RawAddress::ConvertToString(btAddr.addr).GetAddress(); in ReadAddrFromController()
426 std::shared_ptr<ClassicRemoteDevice> ClassicAdapterProperties::GetPairedDevice(std::string addr) in GetPairedDevice() argument
428 HILOGI("addr: %{public}s", GetEncryptAddr(addr).c_str()); in GetPairedDevice()
430 std::shared_ptr<ClassicRemoteDevice> remote = std::make_shared<ClassicRemoteDevice>(addr); in GetPairedDevice()
432 std::string name = config_.GetRemoteName(addr); in GetPairedDevice()
435 std::string alias = config_.GetRemoteAlias(addr); in GetPairedDevice()
438 int linkKeyType = config_.GetRemoteLinkkeyType(addr); in GetPairedDevice()
442 std::string key = config_.GetRemoteLinkkey(addr); in GetPairedDevice()
449 int io = config_.GetRemoteDeviceIoCapability(addr); in GetPairedDevice()
478 std::string addr = remote->GetAddress(); SavePairedDeviceInfo() local
556 SetHidPnpInfo(const std::string &addr, int vendorId, int productId, int version) SetHidPnpInfo() argument
573 SetHidDescInfo(const std::string &addr, int ctryCode, const std::string &descInfo) SetHidDescInfo() argument
587 GetHidPnpInfo(const std::string &addr, int &vendorId, int &productId, int &version) GetHidPnpInfo() argument
594 GetHidDescInfo(const std::string &addr, int &ctryCode, std::string &descInfo) GetHidDescInfo() argument
[all...]

Completed in 17 milliseconds

12345678910>>...39