Home
last modified time | relevance | path

Searched refs:UpdateLocalMasterNode (Results 1 – 2 of 2) sorted by relevance

/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
Dlnn_net_builder.c309 static void UpdateLocalMasterNode(bool isCurrentNode, const char *masterUdid, int32_t weight) in UpdateLocalMasterNode() function
1094 UpdateLocalMasterNode(false, peerMasterUdid, peerMasterWeight); in TryElectMasterNodeOnline()
1113 UpdateLocalMasterNode(true, localUdid, LnnGetLocalWeight()); in TryElectMasterNodeOffline()
1164 UpdateLocalMasterNode(true, localUdid, LnnGetLocalWeight()); in TryElectAsMasterState()
1232 UpdateLocalMasterNode(false, msgPara->masterUdid, msgPara->masterWeight); in ProcessMasterElect()
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
Dlnn_net_builder_mock_test.cpp668 UpdateLocalMasterNode(isCurrentNode, NODE_UDID, LOCAL_WEIGHT);
673 UpdateLocalMasterNode(isCurrentNode, NODE_UDID, LOCAL_WEIGHT);
678 UpdateLocalMasterNode(isCurrentNode, NODE_UDID, LOCAL_WEIGHT);