Home
last modified time | relevance | path

Searched refs:bestScore (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_supplier_test/
H A Dnet_supplier_test.cpp175 int32_t bestScore = 1; in HWTEST_F() local
180 supplier->ReceiveBestScore(bestScore, supplierId, netrequest); in HWTEST_F()
185 supplier->ReceiveBestScore(bestScore, supplierId, netrequest); in HWTEST_F()
/foundation/communication/netmanager_base/services/netconnmanager/include/
H A Dnet_supplier.h139 void ReceiveBestScore(int32_t bestScore, uint32_t supplierId, const NetRequest &netrequest);
H A Dnet_conn_service.h434 void SendBestScoreAllNetwork(uint32_t reqId, int32_t bestScore, uint32_t supplierId, uint32_t uid);
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_supplier.cpp355 void NetSupplier::ReceiveBestScore(int32_t bestScore, uint32_t supplierId, const NetRequest &netrequest) in ReceiveBestScore() argument
371 if (netScore_ >= bestScore) { in ReceiveBestScore()
H A Dnet_conn_service.cpp1059 int bestScore = static_cast<int>(FindBestNetworkForRequest(bestNet, request)); in ActivateNetwork() local
1060 if (bestScore != 0 && bestNet != nullptr) { in ActivateNetwork()
1064 bestNet->GetSupplierId(), bestNet->GetNetSupplierIdent().c_str(), bestNet->GetNetId(), bestScore, reqId); in ActivateNetwork()
1204 int bestScore = 0; in FindBestNetworkForRequest() local
1208 return bestScore; in FindBestNetworkForRequest()
1224 if (score > bestScore) { in FindBestNetworkForRequest()
1225 bestScore = score; in FindBestNetworkForRequest()
1230 "bestScore[%{public}d], bestSupplier[%{public}d, %{public}s], " in FindBestNetworkForRequest()
1232 bestScore, supplier ? supplier->GetSupplierId() : 0, in FindBestNetworkForRequest()
1235 return bestScore; in FindBestNetworkForRequest()
1377 SendBestScoreAllNetwork(uint32_t reqId, int32_t bestScore, uint32_t supplierId, uint32_t uid) SendBestScoreAllNetwork() argument
[all...]

Completed in 7 milliseconds