Home
last modified time | relevance | path

Searched refs:GearMode (Results 1 - 25 of 41) sorted by relevance

12

/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dbus_center_heartbeat_sdk_test.cpp86 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 Dbus_center_server_test.cpp171 GearMode mode = { in HWTEST_F()
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/include/
H A Dlnn_heartbeat_ctrl.h33 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 Dlnn_heartbeat_strategy.h32 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 Dlnn_heartbeat_strategy.c44 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 Dlnn_heartbeat_ctrl_virtual.c51 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 Dlnn_heartbeat_fsm.c692 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 Dshift_lnn_gear_demo.c34 GearMode mode = { in main()
/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/include/
H A Dhb_fsm_mock.h47 virtual int32_t LnnGetGearModeBySpecificType(GearMode *mode, char *callerId, LnnHeartbeatType type) = 0;
80 MOCK_METHOD3(LnnGetGearModeBySpecificType, int32_t(GearMode *, char *, LnnHeartbeatType));
H A Dhb_strategy_mock.h44 virtual int32_t LnnSetGearModeBySpecificType(const char *callerId, const GearMode *mode,
83 MOCK_METHOD3(LnnSetGearModeBySpecificType, int32_t (const char *, const GearMode *, LnnHeartbeatType));
H A Dbus_center_ipc_mock.h51 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 Dhb_ctrl_test.cpp112 GearMode mode; in HWTEST_F()
133 GearMode mode; in HWTEST_F()
H A Dhb_strategy_test.cpp301 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 Dsoftbus_bus_center.h581 * @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 Dshiftlnngear_fuzzer.cpp35 static GearMode g_mode;
/foundation/communication/dsoftbus/sdk/bus_center/ipc/include/
H A Dbus_center_server_proxy.h53 const GearMode *mode);
/foundation/communication/dsoftbus/core/frame/standard/init/src/
H A Dif_softbus_server.cpp94 const GearMode *mode) in ShiftLNNGear()
/foundation/communication/dsoftbus/sdk/bus_center/ipc/mini/
H A Dbus_center_server_proxy.c134 const GearMode *mode) in ServerIpcShiftLNNGear()
/foundation/communication/dsoftbus/sdk/bus_center/manager/include/
H A Dclient_bus_center_manager.h55 const GearMode *mode);
/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/
H A Dhb_fsm_mock.cpp96 int32_t LnnGetGearModeBySpecificType(GearMode *mode, char *callerId, LnnHeartbeatType type) in LnnGetGearModeBySpecificType()
H A Dbus_center_ipc_mock.cpp121 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 Dlnn_bus_center_ipc.h65 const GearMode *mode);
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/include/
H A Dbus_center_server_proxy_standard.h67 const GearMode *mode) override;
/foundation/communication/dsoftbus/core/frame/standard/init/include/
H A Dsoftbus_server.h70 const GearMode *mode) override;
H A Dif_softbus_server.h71 const GearMode *mode);

Completed in 14 milliseconds

12