/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/ |
H A D | bus_center_heartbeat_sdk_test.cpp | 86 GearMode mode1 = { .cycle = MID_FREQ_CYCLE, .duration = DEFAULT_DURATION, .wakeupFlag = false }; in HWTEST_F() 87 GearMode mode2 = { .cycle = HIGH_FREQ_CYCLE, .duration = DEFAULT_DURATION, .wakeupFlag = true }; in HWTEST_F() 88 GearMode mode3 = { .cycle = LOW_FREQ_CYCLE, .duration = LONG_DURATION, .wakeupFlag = true }; in HWTEST_F() 89 GearMode mode4 = { .cycle = HIGH_FREQ_CYCLE, .duration = NORMAL_DURATION, .wakeupFlag = true }; in HWTEST_F() 90 GearMode mode5 = { .cycle = MID_FREQ_CYCLE, .duration = LONG_DURATION, .wakeupFlag = false }; in HWTEST_F()
|
H A D | bus_center_server_test.cpp | 171 GearMode mode = { in HWTEST_F()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/include/ |
H A D | lnn_heartbeat_ctrl.h | 33 int32_t LnnShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, const GearMode *mode); 35 const char *callerId, const GearMode *mode, LnnHeartbeatStrategyType strategyType);
|
H A D | lnn_heartbeat_strategy.h | 32 int32_t LnnSetGearModeBySpecificType(const char *callerId, const GearMode *mode, LnnHeartbeatType type); 33 int32_t LnnGetGearModeBySpecificType(GearMode *mode, char *callerId, LnnHeartbeatType type);
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_strategy.c | 44 GearMode mode; 113 static int32_t GetGearModeFromSettingList(GearMode *mode, char *callerId, const ListNode *gearModeList, in GetGearModeFromSettingList() 144 if (memcpy_s(mode, sizeof(GearMode), &info->mode, sizeof(GearMode)) != EOK) { in GetGearModeFromSettingList() 173 int32_t LnnGetGearModeBySpecificType(GearMode *mode, char *callerId, LnnHeartbeatType type) in LnnGetGearModeBySpecificType() 181 if (memset_s(mode, sizeof(GearMode), 0, sizeof(GearMode) != EOK)) { in LnnGetGearModeBySpecificType() 208 static int32_t FirstSetGearModeByCallerId(const char *callerId, int64_t nowTime, ListNode *list, const GearMode *mode) in FirstSetGearModeByCallerId() 218 if (memcpy_s(&info->mode, sizeof(GearMode), mode, sizeof(GearMode)) ! in FirstSetGearModeByCallerId() [all...] |
H A D | lnn_heartbeat_ctrl_virtual.c | 51 int32_t LnnShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, const GearMode *mode) in LnnShiftLNNGear() 94 int32_t LnnShiftLNNGearWithoutPkgName(const char *callerId, const GearMode *mode, LnnHeartbeatStrategyType strategyType) in LnnShiftLNNGearWithoutPkgName()
|
H A D | lnn_heartbeat_fsm.c | 692 GearMode mode; in TryAsMasterNodeNextLoop() 693 (void)memset_s(&mode, sizeof(GearMode), 0, sizeof(GearMode)); in TryAsMasterNodeNextLoop() 816 GearMode mode; in IsTimestampExceedLimit() 817 (void)memset_s(&mode, sizeof(GearMode), 0, sizeof(GearMode)); in IsTimestampExceedLimit()
|
/foundation/communication/dsoftbus/tests/sdk/bus_center/demo/bus_center/ |
H A D | shift_lnn_gear_demo.c | 34 GearMode mode = { in main()
|
/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) = 0; 80 MOCK_METHOD3(LnnGetGearModeBySpecificType, int32_t(GearMode *, char *, LnnHeartbeatType));
|
H A D | hb_strategy_mock.h | 44 virtual int32_t LnnSetGearModeBySpecificType(const char *callerId, const GearMode *mode, 83 MOCK_METHOD3(LnnSetGearModeBySpecificType, int32_t (const char *, const GearMode *, LnnHeartbeatType));
|
H A D | bus_center_ipc_mock.h | 51 const char *pkgName, const char *callerId, const char *targetNetworkId, const GearMode *mode) = 0; 87 MOCK_METHOD4(LnnShiftLNNGear, int32_t(const char *, const char *, const char *, const GearMode *));
|
/foundation/communication/dsoftbus/tests/core/bus_center/test/heartbeat/ |
H A D | hb_ctrl_test.cpp | 112 GearMode mode; in HWTEST_F() 133 GearMode mode; in HWTEST_F()
|
H A D | hb_strategy_test.cpp | 301 GearMode mode = { in HWTEST_F() 341 GearMode mode = { in HWTEST_F() 385 GearMode mode = { in HWTEST_F()
|
/foundation/communication/dsoftbus/interfaces/kits/bus_center/ |
H A D | softbus_bus_center.h | 581 * @brief Defines heartbeat mode parameter, see {@link GearMode}. 591 } GearMode; typedef 913 * @param mode The duration or cycle parameter of heartbeat. For details, see {@link GearMode}. 920 int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, const GearMode *mode);
|
/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/shiftlnngear_fuzzer/ |
H A D | shiftlnngear_fuzzer.cpp | 35 static GearMode g_mode;
|
/foundation/communication/dsoftbus/sdk/bus_center/ipc/include/ |
H A D | bus_center_server_proxy.h | 53 const GearMode *mode);
|
/foundation/communication/dsoftbus/core/frame/standard/init/src/ |
H A D | if_softbus_server.cpp | 94 const GearMode *mode) in ShiftLNNGear()
|
/foundation/communication/dsoftbus/sdk/bus_center/ipc/mini/ |
H A D | bus_center_server_proxy.c | 134 const GearMode *mode) in ServerIpcShiftLNNGear()
|
/foundation/communication/dsoftbus/sdk/bus_center/manager/include/ |
H A D | client_bus_center_manager.h | 55 const GearMode *mode);
|
/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()
|
H A D | bus_center_ipc_mock.cpp | 121 int32_t LnnShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, const GearMode *mode) in LnnShiftLNNGear()
|
/foundation/communication/dsoftbus/core/bus_center/ipc/include/ |
H A D | lnn_bus_center_ipc.h | 65 const GearMode *mode);
|
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/include/ |
H A D | bus_center_server_proxy_standard.h | 67 const GearMode *mode) override;
|
/foundation/communication/dsoftbus/core/frame/standard/init/include/ |
H A D | softbus_server.h | 70 const GearMode *mode) override;
|
H A D | if_softbus_server.h | 71 const GearMode *mode);
|