Home
last modified time | relevance | path

Searched refs:eachType (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/
H A Dlnn_heartbeat_medium_mgr.c1199 custData->hbType = eachType; in VisitHbMediumMgrSendBegin()
1200 id = LnnConvertHbTypeToId(eachType); in VisitHbMediumMgrSendBegin()
1206 LNN_LOGW(LNN_HEART_BEAT, "not support heartbeat type=%{public}d", eachType); in VisitHbMediumMgrSendBegin()
1244 if (eachType == HEARTBEAT_TYPE_BLE_V3) { in VisitHbMediumMgrSendEnd()
1249 custData->hbType = eachType; in VisitHbMediumMgrSendEnd()
1250 id = LnnConvertHbTypeToId(eachType); in VisitHbMediumMgrSendEnd()
1256 LNN_LOGW(LNN_HEART_BEAT, "not support heartbeat type=%{public}d", eachType); in VisitHbMediumMgrSendEnd()
1286 id = LnnConvertHbTypeToId(eachType); in VisitHbMediumMgrStop()
1292 LNN_LOGW(LNN_HEART_BEAT, "not support heartbeat type=%{public}d", eachType); in VisitHbMediumMgrStop()
1386 id = LnnConvertHbTypeToId(eachType); in VisitRegistHeartbeatMediumMgr()
[all …]
H A Dlnn_heartbeat_strategy.c300 if (eachType != HEARTBEAT_TYPE_BLE_V0 && eachType != HEARTBEAT_TYPE_BLE_V1) { in VisitClearNoneSplitHbType()
302 *typeSet &= ~eachType; in VisitClearNoneSplitHbType()
539 if (!LnnIsHeartbeatEnable(eachType)) { in VisitClearUnRegistedHbType()
540 LNN_LOGD(LNN_HEART_BEAT, "HB heartbeat is disabled, hbType=%{public}d", eachType); in VisitClearUnRegistedHbType()
541 *typeSet &= ~eachType; in VisitClearUnRegistedHbType()
687 paramMgr = GetParamMgrByTypeLocked(eachType); in VisitRegistParamMgr()
691 if (RegistParamMgrBySpecificType(eachType) != SOFTBUS_OK) { in VisitRegistParamMgr()
692 LNN_LOGE(LNN_HEART_BEAT, "HB regist paramMgr err, type=%{public}d", eachType); in VisitRegistParamMgr()
736 paramMgr = GetParamMgrByTypeLocked(eachType); in VisitUnRegistParamMgr()
1019 static bool VisitEnableHbType(LnnHeartbeatType *typeSet, LnnHeartbeatType eachType, void *data) in VisitEnableHbType() argument
[all …]
H A Dlnn_heartbeat_utils.c224 static bool VisitCheckSupportedHbType(LnnHeartbeatType *typeSet, LnnHeartbeatType eachType, void *d… in VisitCheckSupportedHbType() argument
229 if ((eachType & *dstType) == 0) { in VisitCheckSupportedHbType()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/heartbeat/
H A Dhb_utils_test.cpp47 static bool VisitHbTypeCbForTrue(LnnHeartbeatType *typeSet, LnnHeartbeatType eachType, void *data) in VisitHbTypeCbForTrue() argument
52 static bool VisitHbTypeCbForFalse(LnnHeartbeatType *typeSet, LnnHeartbeatType eachType, void *data) in VisitHbTypeCbForFalse() argument
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/include/
H A Dlnn_heartbeat_utils.h148 typedef bool (*VisitHbTypeCb)(LnnHeartbeatType *typeSet, LnnHeartbeatType eachType, void *data);