/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/ |
H A D | hb_fsm_mock.cpp | 71 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 D | hb_ctrl_static_mock.cpp | 49 int32_t LnnStartHbByTypeAndStrategy(LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType,… in LnnStartHbByTypeAndStrategy() argument 51 … return HeartBeatCtrlStaticInterface()->LnnStartHbByTypeAndStrategy(hbType, strategyType, isRelay); in LnnStartHbByTypeAndStrategy()
|
H A D | hb_fsm_strategy_mock.cpp | 149 LnnHeartbeatStrategyType strategyType) in LnnRemoveProcessSendOnceMsg() argument 151 … HeartBeatFSMStrategyInterfaceInstance()->LnnRemoveProcessSendOnceMsg(hbFsm, hbType, strategyType); in LnnRemoveProcessSendOnceMsg()
|
H A D | hb_strategy_mock.cpp | 66 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 D | lnn_heartbeat_strategy_virtual.c | 20 int32_t LnnStartHbByTypeAndStrategy(LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType,… in LnnStartHbByTypeAndStrategy() argument 23 (void)strategyType; in LnnStartHbByTypeAndStrategy()
|
H A D | lnn_heartbeat_strategy.c | 586 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 D | lnn_heartbeat_ctrl_virtual.c | 94 …arWithoutPkgName(const char *callerId, const GearMode *mode, LnnHeartbeatStrategyType strategyType) in LnnShiftLNNGearWithoutPkgName() argument 98 (void)strategyType; in LnnShiftLNNGearWithoutPkgName()
|
H A D | lnn_heartbeat_fsm.c | 253 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 D | lnn_heartbeat_ctrl.c | 1022 …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 D | lnn_heartbeat_fsm.h | 62 LnnHeartbeatStrategyType strategyType; member 82 LnnHeartbeatStrategyType strategyType; member 114 LnnHeartbeatFsm *hbFsm, LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType);
|
H A D | lnn_heartbeat_strategy.h | 39 … LnnHeartbeatStrategyManager *mgr, LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType); 42 int32_t LnnStartHbByTypeAndStrategy(LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType,…
|
H A D | lnn_heartbeat_ctrl.h | 35 const char *callerId, const GearMode *mode, LnnHeartbeatStrategyType strategyType);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/ |
H A D | rs_render_node_drawable_test.cpp | 256 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 D | hb_fsm_mock.h | 42 LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType, bool isRelay) = 0; 54 …HeartbeatStrategyManager *mgr, LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType) = 0;
|
H A D | hb_strategy_mock.h | 41 LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType, bool isRelay) = 0;
|
H A D | hb_fsm_strategy_mock.h | 63 LnnHeartbeatType hbType, LnnHeartbeatStrategyType strategyType) = 0;
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/heartbeat/ |
H A D | hb_strategy_test.cpp | 266 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 D | hb_fsm_test.cpp | 249 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 D | rs_node.cpp | 1089 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 D | rs_node_test.cpp | 5158 ForegroundColorStrategyType strategyType = ForegroundColorStrategyType::INVERT_BACKGROUNDCOLOR; variable 5159 rsNode->SetEnvForegroundColorStrategy(strategyType); 5160 EXPECT_EQ(strategyType, ForegroundColorStrategyType::INVERT_BACKGROUNDCOLOR);
|