Searched refs:LnnGetGearModeBySpecificType (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/ |
H A D | hb_fsm_mock.cpp | 96 int32_t LnnGetGearModeBySpecificType(GearMode *mode, char *callerId, LnnHeartbeatType type) in LnnGetGearModeBySpecificType() function 98 return HeartBeatFSMInterfaceInstance()->LnnGetGearModeBySpecificType(mode, callerId, type); in LnnGetGearModeBySpecificType()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/include/ |
H A D | hb_fsm_mock.h | 47 …virtual int32_t LnnGetGearModeBySpecificType(GearMode *mode, char *callerId, LnnHeartbeatType type… 80 MOCK_METHOD3(LnnGetGearModeBySpecificType, int32_t(GearMode *, char *, LnnHeartbeatType));
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/include/ |
H A D | lnn_heartbeat_strategy.h | 33 int32_t LnnGetGearModeBySpecificType(GearMode *mode, char *callerId, LnnHeartbeatType type);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/heartbeat/ |
H A D | hb_strategy_test.cpp | 311 ret = LnnGetGearModeBySpecificType(nullptr, nullptr, LNN_HB_TYPE); 313 ret = LnnGetGearModeBySpecificType(&mode, nullptr, LNN_HB_TYPE);
|
H A D | hb_fsm_test.cpp | 367 ON_CALL(heartbeatFsmMock, LnnGetGearModeBySpecificType).WillByDefault(Return(SOFTBUS_ERR)); 426 EXPECT_CALL(heartbeatFsmMock, LnnGetGearModeBySpecificType) 460 ON_CALL(heartbeatFsmMock, LnnGetGearModeBySpecificType).WillByDefault(Return(SOFTBUS_OK));
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_strategy.c | 170 int32_t LnnGetGearModeBySpecificType(GearMode *mode, char *callerId, LnnHeartbeatType type) in LnnGetGearModeBySpecificType() function 628 ret = LnnGetGearModeBySpecificType(&mode, msgPara->callerId, HEARTBEAT_TYPE_BLE_V0); in AdjustablePeriodSendStrategy() 889 if (LnnGetGearModeBySpecificType(&mode, NULL, msgPara.hbType) != SOFTBUS_OK) { in LnnStartOfflineTimingStrategy()
|
H A D | lnn_heartbeat_fsm.c | 692 if (LnnGetGearModeBySpecificType(&mode, NULL, HEARTBEAT_TYPE_BLE_V1) != SOFTBUS_OK) { in TryAsMasterNodeNextLoop() 823 if (LnnGetGearModeBySpecificType(&mode, NULL, HEARTBEAT_TYPE_BLE_V1) != SOFTBUS_OK) { in IsTimestampExceedLimit()
|