/foundation/communication/bluetooth/services/bluetooth_standard/stack/include/ |
D | gap_if.h | 173 void (*authorizeInd)(const BtAddr *addr, GAP_Service service, void *context); 180 void (*userConfirmReq)(const BtAddr *addr, uint32_t number, void *context); 181 void (*userPasskeyReq)(const BtAddr *addr, void *context); 182 void (*userPasskeyNotification)(const BtAddr *addr, uint32_t number, void *context); 183 void (*remoteOobReq)(const BtAddr *addr, void *context); 184 void (*pinCodeReq)(const BtAddr *addr, void *context); 185 void (*linkKeyReq)(const BtAddr *addr, void *context); 187 … const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context); 188 void (*simplePairComplete)(const BtAddr *addr, uint8_t status, void *context); 189 void (*IOCapabilityReq)(const BtAddr *addr, void *context); [all …]
|
D | gap_le_if.h | 51 typedef void (*GenResPriAddrResult)(uint8_t result, const uint8_t addr[BT_ADDRESS_SIZE], void *cont… 202 …uint8_t advType, const BtAddr *addr, GapAdvReportParam reportParam, const BtAddr *currentAddr, voi… 235 …uint8_t advType, const BtAddr *addr, GapExAdvReportParam reportParam, const BtAddr *currentAddr, v… 236 …void (*directedAdvertisingReport)(uint8_t advType, const BtAddr *addr, GapDirectedAdvReportParam r… 247 …void (*leConnectionParameterReq)(const BtAddr *addr, uint16_t connIntervalMin, uint16_t connInterv… 249 …void (*leConnectionUpdateComplete)(uint8_t status, const BtAddr *addr, uint16_t connInterval, uint… 252 …void (*GapleReadChannelMapResult)(uint8_t result, const BtAddr *addr, uint64_t channelMap, void *c… 341 void (*encryptionComplete)(uint8_t status, const BtAddr *addr, void *context); 342 …void (*leLocalEncryptionKeyReqEvent)(const BtAddr *addr, uint64_t rand, uint16_t ediv, void *conte… 343 void (*leRemoteEncryptionKeyReqEvent)(const BtAddr *addr, void *context); [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/external/dummy/include/stub/ |
D | media_service.h | 69 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> … 89 virtual void OnSetPlayerAppSettingCurrentValue(const std::string &addr, uint8_t label) = 0; 91 …virtual void OnGetPlayerAppSettingAttributeText(const std::string &addr, const std::vector<uint8_t… [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/stack/src/gap/ |
D | gap_br_sec.c | 55 …const BtAddr *addr, GapSecurityResultCallback callback, void *context, const ProfileSecurityInfo *… in GapAllocReqSecInfo() argument 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.c… 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() 254 …ublic}s: " BT_ADDR_FMT " 4s disconnect ACL", __FUNCTION__, BT_ADDR_FMT_OUTPUT(devInfo->addr.addr)); in GapCheckConnection() 281 …orEachData(GapGetConnectionInfoBlock()->devicelist, GapFindConnectionDeviceByAddr, &reqInfo->addr); in GapRequestSecurityProcess() 361 void GapRemoteDeviceSupportHostSecureSimplePairingCallback(const BtAddr *addr, bool support) in GapRemoteDeviceSupportHostSecureSimplePairingCallback() argument [all …]
|
D | gap.h | 36 int GAP_GetLocalAddr(BtAddr *addr); 96 int GAP_RegisterServiceSecurity(const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo, uint… 105 int GAP_DeregisterServiceSecurity(const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo); 114 int GAP_RequestSecurity(const BtAddr *addr, const GapRequestSecurityParam *param); 148 int GAP_AuthorizeRes(const BtAddr *addr, GAP_Service service, uint8_t accept); 173 int GAP_PairIsFromLocal(const BtAddr *addr, bool *isLocal); 181 int GAP_AuthenticationReq(const BtAddr *addr); 189 int GAP_CancelAuthenticationReq(const BtAddr *addr); 202 …const BtAddr *addr, uint8_t accept, uint8_t ioCapability, uint8_t oobDataPresent, uint8_t authReq); 211 int GAP_UserConfirmRsp(const BtAddr *addr, uint8_t accept); [all …]
|
D | gap_le_scan.c | 44 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, reportParam, currentAddr, g_leExScanCallback.context); in GapCallbackRPADirectedAdvertisingReport() 267 …%{public}s: " BT_ADDR_FMT " start resolve RPA", __FUNCTION__, BT_ADDR_FMT_OUTPUT(info->addr.addr)); in GapRPAResolveProcess() 269 uint8_t addr[BT_ADDRESS_SIZE]; in GapRPAResolveProcess() local 270 (void)memcpy_s(addr, BT_ADDRESS_SIZE, info->addr.addr, BT_ADDRESS_SIZE); in GapRPAResolveProcess() [all …]
|
D | gap_br_discover.c | 117 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.addr)); in GapOnInquiryResultRssi() 149 … g_discoveryCallback.callback.inquiryResultRssi(&addr, cod, rssi, g_discoveryCallback.context); in GapOnInquiryResultRssi() [all …]
|
D | gap_le_sec.c | 57 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() argument 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 … in GapLeUserConfirmProcess() argument 131 …g_lePairCallback.callback.lePairScUserConfirmReq(addr, *(uint32_t *)displayValue, g_lePairCallback… in GapLeUserConfirmProcess() 140 static void GapLeLegacyOOBProcess(const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const vo… in GapLeLegacyOOBProcess() argument 143 g_lePairCallback.callback.lePairOobReq(addr, g_lePairCallback.context); in GapLeLegacyOOBProcess() 153 const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const void *displayValue) in GapLeSecureConnectionOOBProcess() argument [all …]
|
D | gap_if.c | 58 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 [all …]
|
D | gap_le.h | 44 int GAP_GetLocalAddr(BtAddr *addr); 52 int GAP_LeSetStaticIdentityAddr(uint8_t addr[BT_ADDRESS_SIZE]); 102 int GAP_LeExAdvSetRandAddr(uint8_t advHandle, const uint8_t addr[BT_ADDRESS_SIZE]); 310 int GAP_LeConnParamUpdate(const BtAddr *addr, const GapLeConnectionParameter *connParam); 320 int GAP_LeConnectionParameterRsp(const BtAddr *addr, uint8_t accept, const GapLeConnectionParameter… 355 int GAP_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyTy… 366 int GAP_LeLocalEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyTyp… 376 int GAP_RequestSigningAlgorithmInfoRsp(const BtAddr *addr, uint8_t accept, GapSigningAlgorithmInfo … 403 int GAP_LeGetSecurityStatus(const BtAddr *addr, GAP_LeSecurityStatus *status, uint8_t *encKeySize); 415 …const BtAddr *addr, GAP_LeSecurityStatus status, GapLeRequestSecurityResult callback, void *contex… [all …]
|
D | gap_btm_receive.c | 33 BtAddr addr; member 47 BtAddr addr; member 54 BtmAclConnectCompleteParam btmParam = {.addr = ¶m->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, ¶m->addr, param->role, param->… in GapLeConnectionCompleteTask() 143 uint8_t status, uint16_t connectionHandle, const BtAddr *addr, uint8_t role, void *context) in GapRecvLeConnectionComplete() argument 150 BT_ADDR_FMT_OUTPUT(addr->addr)); in GapRecvLeConnectionComplete() 159 btmParam->addr = *addr; in GapRecvLeConnectionComplete() [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/ble/ |
D | ble_security.cpp | 106 void BleSecurity::LeLocalEncryptionKeyReqEvent(const BtAddr *addr, uint64_t rand, uint16_t ediv, vo… in LeLocalEncryptionKeyReqEvent() argument 117 …(void)memcpy_s(&gapCallbackParam.leLocalEncryptionKeyReqEvent_.addr, sizeof(BtAddr), addr, sizeof(… in LeLocalEncryptionKeyReqEvent() 124 void BleSecurity::LeRemoteEncryptionKeyReqEvent(const BtAddr *addr, void *context) in LeRemoteEncryptionKeyReqEvent() argument 135 …(void)memcpy_s(&gapCallbackParam.leRemoteEncryptionKeyReqEvent_.addr, sizeof(BtAddr), addr, sizeof… in LeRemoteEncryptionKeyReqEvent() 141 const BtAddr *addr, GAP_SignCounterType type, uint32_t counter, void *context) in LeSignCounterChangeNotification() argument 152 …(void)memcpy_s(&gapCallbackParam.leSignCounterChangeNotification_.addr, sizeof(BtAddr), addr, size… in LeSignCounterChangeNotification() 176 void BleSecurity::LePairFeatureInd(const BtAddr *addr, GapLePairFeature remoteFrature, void *contex… in LePairFeatureInd() argument 187 (void)memcpy_s(&gapCallbackParam.lePairFeatureInd_.addr, sizeof(BtAddr), addr, sizeof(BtAddr)); in LePairFeatureInd() 193 void BleSecurity::LePairMethodNotify(const BtAddr *addr, uint8_t pairMethod, void *context) in LePairMethodNotify() argument 204 … (void)memcpy_s(&gapCallbackParam.lePairMethodNotify_.addr, sizeof(BtAddr), addr, sizeof(BtAddr)); in LePairMethodNotify() [all …]
|
D | ble_security.h | 50 int GapLeRequestSecurity(uint16_t connectionHandle, const BtAddr &addr, uint8_t role); 52 bool PairRequestReply(const RawAddress &addr, int addrType, bool accept) const; 71 …static void LeLocalEncryptionKeyReqEvent(const BtAddr *addr, uint64_t rand, uint16_t ediv, void *c… 72 static void LeRemoteEncryptionKeyReqEvent(const BtAddr *addr, void *context); 74 const BtAddr *addr, GAP_SignCounterType type, uint32_t counter, void *context); 75 static void GapRequestSigningAlgorithmInfo(const BtAddr *addr, void *context); 78 static void LePairFeatureInd(const BtAddr *addr, GapLePairFeature remoteFrature, void *context); 79 static void LePairMethodNotify(const BtAddr *addr, uint8_t pairMethod, void *context); 80 static void LePairKeyPressNotification(const BtAddr *addr, uint8_t pressType, void *context); 81 static void LePairPassKeyReq(const BtAddr *addr, void *context); [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/gavdp/ |
D | a2dp_state_machine.cpp | 48 avdtp.ConnectReq(msgData.connectInfo.addr); in Dispatch() 51 ProcessDiscoverReq(msgData.connectInfo.addr, role, msgData.connectInfo.errCode); in Dispatch() 54 avdtp.GetAllCapabilityReq(msgData.stream.addr, msgData.stream.acpSeid, label); in Dispatch() 57 avdtp.GetCapabilityReq(msgData.stream.addr, msgData.stream.acpSeid, label); in Dispatch() 63 ProcessDisconnectReq(msgData.connectInfo.addr, role); in Dispatch() 66 ProcessSDPFailure(msgData.stream.addr, role); in Dispatch() 72 ProcessDisconnectInd(msgData.stream.addr, msgData.stream.handle, role); in Dispatch() 75 ProcessDisconnectCfm(msgData.stream.addr, msgData.stream.handle, role); in Dispatch() 78 ProcessTimeout(msgData.stream.addr, role); in Dispatch() 86 void A2dpStateIdle::ProcessDisconnectCfm(BtAddr addr, uint16_t handle, uint8_t role) const in ProcessDisconnectCfm() argument [all …]
|
D | a2dp_profile.h | 57 virtual void OnConnectStateChanged(const BtAddr &addr, const int state, void *context) = 0; 67 …virtual void OnCodecStateChanged(const BtAddr &addr, const A2dpSrcCodecStatus codecInfo, void *con… 77 virtual void OnAudioStateChanged(const BtAddr &addr, const int state, void *context) = 0; 223 void ProcessSDPCallback(const BtAddr &addr, uint8_t result); 333 void SetConfigure(const BtAddr &addr); 360 void ProcessAvdtpCallback(const BtAddr &addr, const utility::Message &message); 370 void ConnectStateChangedNotify(const BtAddr &addr, const int state, void *context); 380 void AudioStateChangedNotify(const BtAddr &addr, const int state, void *context) const; 389 void CodecChangedNotify(const BtAddr &addr, void *context) const; 396 void ProcessSignalingTimeoutCallback(const BtAddr &addr) const; [all …]
|
/foundation/communication/dsoftbus/core/bus_center/utils/src/ |
D | lnn_connection_addr_utils.c | 45 bool LnnConvertAddrToOption(const ConnectionAddr *addr, ConnectOption *option) in LnnConvertAddrToOption() argument 47 if (addr == NULL || option == NULL) { in LnnConvertAddrToOption() 51 if (addr->type == CONNECTION_ADDR_BR) { in LnnConvertAddrToOption() 53 if (strncpy_s(option->info.brOption.brMac, BT_MAC_LEN, addr->info.br.brMac, in LnnConvertAddrToOption() 54 strlen(addr->info.br.brMac)) != EOK) { in LnnConvertAddrToOption() 60 if (addr->type == CONNECTION_ADDR_BLE) { in LnnConvertAddrToOption() 62 if (strncpy_s(option->info.bleOption.bleMac, BT_MAC_LEN, addr->info.ble.bleMac, in LnnConvertAddrToOption() 63 strlen(addr->info.ble.bleMac)) != EOK) { in LnnConvertAddrToOption() 69 if (addr->type == CONNECTION_ADDR_ETH || addr->type == CONNECTION_ADDR_WLAN) { in LnnConvertAddrToOption() 71 if (strncpy_s(option->info.ipOption.ip, IP_LEN, addr->info.ip.ip, in LnnConvertAddrToOption() [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/stack/src/avctp/ |
D | avctp_int.h | 79 #define BT_ADDR_FMT_ASC(addr) addr[0], addr[1], addr[2], addr[3], addr[4], addr[5] argument 80 #define BT_ADDR_FMT_DSC(addr) addr[5], addr[4], addr[3], addr[2], addr[1], addr[0] argument 148 BtAddr addr; /* peer address */ member
|
/foundation/communication/dsoftbus/core/bus_center/lnn/disc_mgr/src/ |
D | lnn_coap_discovery_impl.c | 38 ConnectionAddr addr; in DeviceFound() local 44 …SoftBusLog(SOFTBUS_LOG_LNN, SOFTBUS_LOG_INFO, "DeviceFound enter, type = %d\n", device->addr[0].ty… in DeviceFound() 45 … if (device->addr[0].type != CONNECTION_ADDR_WLAN && device->addr[0].type != CONNECTION_ADDR_ETH) { in DeviceFound() 46 …(SOFTBUS_LOG_LNN, SOFTBUS_LOG_ERROR, "discovery get invalid addrtype: %d\n", device->addr[0].type); in DeviceFound() 49 if (device->addr[0].info.ip.port == 0) { in DeviceFound() 53 addr.type = device->addr[0].type; in DeviceFound() 54 if (strncpy_s(addr.info.ip.ip, IP_STR_MAX_LEN, device->addr[0].info.ip.ip, in DeviceFound() 55 strlen(device->addr[0].info.ip.ip)) != 0) { in DeviceFound() 59 addr.info.ip.port = device->addr[0].info.ip.port; in DeviceFound() 60 …if (memcpy_s(addr.peerUid, MAX_ACCOUNT_HASH_LEN, device->accountHash, MAX_ACCOUNT_HASH_LEN) != 0) { in DeviceFound() [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/stack/src/btm/ |
D | btm_inq_db.c | 25 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, const BtmInquiryInfo *info) in BtmAssignOrUpdateInquiryInfo() argument 84 BtmInquiryDBEntity *entity = BtmFindInquiryEntiryByAddress(addr); in BtmAssignOrUpdateInquiryInfo() 88 entity = BtmAllocInquiryDBEntity(addr, info); in BtmAssignOrUpdateInquiryInfo() 103 int BtmQueryInquiryInfoByAddr(const BtAddr *addr, BtmInquiryInfo *info) in BtmQueryInquiryInfoByAddr() argument [all …]
|
D | btm_acl.c | 60 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.addr, addr->addr)) { in BtmAclFindLeConnectionByAddr() 395 static int BtmAclCreateConnection(const BtAddr *addr) in BtmAclCreateConnection() argument 401 int queryResult = BtmQueryInquiryInfoByAddr(addr, &inquiryInfo); in BtmAclCreateConnection() 419 (void)memcpy_s(param.bdAddr.raw, BT_ADDRESS_SIZE, addr->addr, BT_ADDRESS_SIZE); in BtmAclCreateConnection() [all …]
|
D | btm_le_sec.c | 56 block->currentAddr = device->addr; in BtmAllocLePairedDeviceBlock() 97 …ram.peerIdentityAddress.raw, BT_ADDRESS_SIZE, device->remoteIdentityAddress.addr, BT_ADDRESS_SIZE); in BtmAddToResolvingList() 116 …ram.peerIdentityAddress.raw, BT_ADDRESS_SIZE, device->remoteIdentityAddress.addr, BT_ADDRESS_SIZE); in BtmSetPrivacyMode() 132 …ram.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 BtmLePairedDeviceBlock *BtmFindLePairedDeviceBlockByAddress(const BtAddr *addr) in BtmFindLePairedDeviceBlockByAddress() argument 157 if (IsSameBtAddr(&block->pairedInfo.addr, addr)) { in BtmFindLePairedDeviceBlockByAddress() 169 static BtmLePairedDeviceBlock *BtmFindLePairedDeviceBlockByRemoteIdentityAddress(const BtAddr *addr) in BtmFindLePairedDeviceBlockByRemoteIdentityAddress() argument 176 if (IsSameBtAddr(&block->pairedInfo.remoteIdentityAddress, addr)) { in BtmFindLePairedDeviceBlockByRemoteIdentityAddress() 339 void BTM_RemoveLePairedDevice(const BtAddr *addr) in BTM_RemoveLePairedDevice() argument [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/stack/src/sdp/ |
D | sdp_client.h | 32 int SdpServiceSearch(const BtAddr *addr, const SdpUuid *uuidArray, void *context, 33 …void (*serviceSearchCb)(const BtAddr *addr, const uint32_t *handleArray, uint16_t handleNum, void … 34 int SdpServiceAttribute(const BtAddr *addr, uint32_t handle, SdpAttributeIdList attributeIdList, vo… 35 void (*serviceAttributeCb)(const BtAddr *addr, const SdpService *service, void *context)); 36 int SdpServiceSearchAttribute(const BtAddr *addr, const SdpUuid *uuidArray, SdpAttributeIdList attr… 38 …void (*searchAttributeCb)(const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum,… 39 int SdpServiceBrowse(const BtAddr *addr, void *context, 40 …void (*serviceBrowseCb)(const BtAddr *addr, const uint32_t *handleArray, uint16_t handleNum, void …
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/ |
D | socket_app.h | 27 #define IPV6_ADDR_IS_NULL(addr) \ argument 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)->sin6_addr.s6_addr[8] == 0) && ((addr)->sin6_addr.s6_addr[9] == 0) && \ 33 ((addr)->sin6_addr.s6_addr[10] == 0) && ((addr)->sin6_addr.s6_addr[11] == 0) && \ 34 ((addr)->sin6_addr.s6_addr[12] == 0) && ((addr)->sin6_addr.s6_addr[13] == 0) && \ 35 ((addr)->sin6_addr.s6_addr[14] == 0) && ((addr)->sin6_addr.s6_addr[15] == 0)) 51 FillpErrorType SockAccept(FILLP_INT fd, struct sockaddr *addr, socklen_t *addrLen);
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/classic/ |
D | classic_adapter.h | 413 static void InquiryResultCallback(const BtAddr *addr, uint32_t classOfDevice, void *context); 423 …static void InquiryResultRssiCallback(const BtAddr *addr, uint32_t classOfDevice, int8_t rssi, voi… 434 … static void ExtendedInquiryResultCallback(const BtAddr *addr, uint32_t classOfDevice, int8_t rssi, 454 uint8_t status, const BtAddr *addr, const uint8_t name[MAX_LOC_BT_NAME_LEN], void *context); 462 static void UserConfirmReqCallback(const BtAddr *addr, uint32_t number, void *context); 470 static void UserPasskeyReqCallback(const BtAddr *addr, void *context); 479 static void UserPasskeyNotificationCallback(const BtAddr *addr, uint32_t number, void *context); 487 static void RemoteOobReqCallback(const BtAddr *addr, void *context); 495 static void PinCodeReqCallback(const BtAddr *addr, void *context); 503 static void LinkKeyReqCallback(const BtAddr *addr, void *context); [all …]
|
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/src/ |
D | netlink_manager.cpp | 44 struct sockaddr_nl addr; in Start() local 48 memset_s(&addr, sizeof(addr), 0, sizeof(addr)); in Start() 49 addr.nl_family = AF_NETLINK; in Start() 50 addr.nl_pid = static_cast<uint32_t>(getpid()); in Start() 51 addr.nl_groups = 0xffffffff; in Start() 71 if (bind(socketFd_, (struct sockaddr *) &addr, sizeof(addr)) != 0) { in Start()
|