Home
last modified time | relevance | path

Searched refs:strategyType (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/
H A Dhb_fsm_mock.cpp71 int32_t LnnStartHbByTypeAndStrategy(LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType,… in LnnStartHbByTypeAndStrategy() argument
73 …return HeartBeatFSMInterfaceInstance()->LnnStartHbByTypeAndStrategy(hbType, strategyType, isRelay); in LnnStartHbByTypeAndStrategy()
127 … LnnHeartbeatStrategyManager *mgr, LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType) in LnnGetHbStrategyManager() argument
129 return HeartBeatFSMInterfaceInstance()->LnnGetHbStrategyManager(mgr, hbType, strategyType); in LnnGetHbStrategyManager()
H A Dhb_ctrl_static_mock.cpp49 int32_t LnnStartHbByTypeAndStrategy(LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType,… in LnnStartHbByTypeAndStrategy() argument
51 … return HeartBeatCtrlStaticInterface()->LnnStartHbByTypeAndStrategy(hbType, strategyType, isRelay); in LnnStartHbByTypeAndStrategy()
H A Dhb_fsm_strategy_mock.cpp149 LnnHeartbeatStrategyType strategyType) in LnnRemoveProcessSendOnceMsg() argument
151 … HeartBeatFSMStrategyInterfaceInstance()->LnnRemoveProcessSendOnceMsg(hbFsm, hbType, strategyType); in LnnRemoveProcessSendOnceMsg()
H A Dhb_strategy_mock.cpp66 int32_t LnnStartHbByTypeAndStrategy(LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType,… in LnnStartHbByTypeAndStrategy() argument
68 return HeartBeatStrategyInterface()->LnnStartHbByTypeAndStrategy(hbType, strategyType, isRelay); in LnnStartHbByTypeAndStrategy()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/
H A Dlnn_heartbeat_strategy_virtual.c20 int32_t LnnStartHbByTypeAndStrategy(LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType,… in LnnStartHbByTypeAndStrategy() argument
23 (void)strategyType; in LnnStartHbByTypeAndStrategy()
H A Dlnn_heartbeat_strategy.c586 if (msgPara->strategyType != STRATEGY_HB_SEND_SINGLE) { in SingleSendStrategy()
601 if (msgPara->strategyType != STRATEGY_HB_SEND_FIXED_PERIOD) { in FixedPeriodSendStrategy()
627 LnnRemoveProcessSendOnceMsg(hbFsm, msgPara->hbType, msgPara->strategyType); in AdjustablePeriodSendStrategy()
829 … LnnHeartbeatStrategyManager *mgr, LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType) in LnnGetHbStrategyManager() argument
835 if (!LnnCheckSupportedHbType(&hbType, &g_hbStrategyMgr[strategyType].supportType)) { in LnnGetHbStrategyManager()
836 …NN_HEART_BEAT, "HB get strategy mgr not support, type=%{public}d, hbType=%{public}d", strategyType, in LnnGetHbStrategyManager()
840 mgr->supportType = g_hbStrategyMgr[strategyType].supportType; in LnnGetHbStrategyManager()
841 mgr->onProcess = g_hbStrategyMgr[strategyType].onProcess; in LnnGetHbStrategyManager()
856 hbFsm->strategyType = STRATEGY_HB_SEND_FIXED_PERIOD; in LnnStartNewHbStrategyFsm()
954 int32_t LnnStartHbByTypeAndStrategy(LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType,… in LnnStartHbByTypeAndStrategy() argument
[all …]
H A Dlnn_heartbeat_ctrl_virtual.c94 …arWithoutPkgName(const char *callerId, const GearMode *mode, LnnHeartbeatStrategyType strategyType) in LnnShiftLNNGearWithoutPkgName() argument
98 (void)strategyType; in LnnShiftLNNGearWithoutPkgName()
H A Dlnn_heartbeat_fsm.c253 msgPara->strategyType == delMsgPara->strategyType) { in RemoveSendOnceMsg()
411 LnnHeartbeatStrategyType strategyType) in LnnRemoveProcessSendOnceMsg() argument
419 .strategyType = strategyType, in LnnRemoveProcessSendOnceMsg()
438 msgPara->strategyType = hbFsm->strategyType; in HbMasterNodeStateEnter()
441 LnnRemoveProcessSendOnceMsg(hbFsm, hbFsm->hbType, hbFsm->strategyType); in HbMasterNodeStateEnter()
517 … if (LnnGetHbStrategyManager(&strategyMgr, msgPara->hbType, msgPara->strategyType) != SOFTBUS_OK) { in OnProcessSendOnce()
529 "ret=%{public}d", msgPara->hbType, msgPara->strategyType, ret); in OnProcessSendOnce()
H A Dlnn_heartbeat_ctrl.c1022 …arWithoutPkgName(const char *callerId, const GearMode *mode, LnnHeartbeatStrategyType strategyType) in LnnShiftLNNGearWithoutPkgName() argument
1037 HEARTBEAT_TYPE_BLE_V0 | HEARTBEAT_TYPE_BLE_V3, strategyType, false) != SOFTBUS_OK) { in LnnShiftLNNGearWithoutPkgName()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/include/
H A Dlnn_heartbeat_fsm.h62 LnnHeartbeatStrategyType strategyType; member
82 LnnHeartbeatStrategyType strategyType; member
114 LnnHeartbeatFsm *hbFsm, LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType);
H A Dlnn_heartbeat_strategy.h39 … LnnHeartbeatStrategyManager *mgr, LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType);
42 int32_t LnnStartHbByTypeAndStrategy(LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType,…
H A Dlnn_heartbeat_ctrl.h35 const char *callerId, const GearMode *mode, LnnHeartbeatStrategyType strategyType);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_render_node_drawable_test.cpp256 auto strategyType = NodeStrategyType::CACHE_NONE; variable
258 ASSERT_TRUE(drawable->BeforeDrawCacheProcessChildNode(strategyType, params));
260 strategyType = NodeStrategyType::DDGR_OPINC_DYNAMIC;
261 ASSERT_FALSE(drawable->BeforeDrawCacheProcessChildNode(strategyType, params));
265 ASSERT_FALSE(drawable->BeforeDrawCacheProcessChildNode(strategyType, params));
268 ASSERT_FALSE(drawable->BeforeDrawCacheProcessChildNode(strategyType, params));
309 NodeStrategyType strategyType = NodeStrategyType::DDGR_OPINC_DYNAMIC; variable
310 drawable->BeforeDrawCache(strategyType, canvas, params, isOpincDropNodeExt);
312 strategyType = NodeStrategyType::CACHE_NONE;
314 drawable->BeforeDrawCache(strategyType, canvas, params, isOpincDropNodeExt);
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/include/
H A Dhb_fsm_mock.h42 LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType, bool isRelay) = 0;
54 …HeartbeatStrategyManager *mgr, LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType) = 0;
H A Dhb_strategy_mock.h41 LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType, bool isRelay) = 0;
H A Dhb_fsm_strategy_mock.h63 LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType) = 0;
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/heartbeat/
H A Dhb_strategy_test.cpp266 msgPara.strategyType = STRATEGY_HB_SEND_SINGLE;
269 msgPara.strategyType = STRATEGY_HB_SEND_FIXED_PERIOD;
277 msgPara.strategyType = STRATEGY_HB_SEND_ADJUSTABLE_PERIOD;
288 msgPara.strategyType = STRATEGY_HB_RECV_SINGLE;
H A Dhb_fsm_test.cpp249 msgPara->strategyType = STRATEGY_HB_SEND_FIXED_PERIOD;
252 .strategyType = STRATEGY_HB_SEND_FIXED_PERIOD,
266 msgPara->strategyType = STRATEGY_HB_SEND_FIXED_PERIOD;
270 delMsgPara.strategyType = STRATEGY_HB_RECV_SINGLE;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.cpp1089 void RSNode::SetEnvForegroundColorStrategy(ForegroundColorStrategyType strategyType) in SetEnvForegroundColorStrategy() argument
1092 …roperty<ForegroundColorStrategyType>>(RSModifierType::ENV_FOREGROUND_COLOR_STRATEGY, strategyType); in SetEnvForegroundColorStrategy()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_node_test.cpp5158 ForegroundColorStrategyType strategyType = ForegroundColorStrategyType::INVERT_BACKGROUNDCOLOR; variable
5159 rsNode->SetEnvForegroundColorStrategy(strategyType);
5160 EXPECT_EQ(strategyType, ForegroundColorStrategyType::INVERT_BACKGROUNDCOLOR);