Home
last modified time | relevance | path

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

/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dtaboo.cpp226 int32_t bestScore = -1; in LanguageFallBack() local
231 if (score > bestScore) { in LanguageFallBack()
234 bestScore = score; in LanguageFallBack()
237 if (bestScore < 0) { in LanguageFallBack()
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_conn_service.cpp918 int bestScore = static_cast<int>(FindBestNetworkForRequest(bestNet, request)); in ActivateNetwork() local
919 if (bestScore != 0 && bestNet != nullptr) { in ActivateNetwork()
1059 int bestScore = 0; in FindBestNetworkForRequest() local
1063 return bestScore; in FindBestNetworkForRequest()
1079 if (score > bestScore) { in FindBestNetworkForRequest()
1080 bestScore = score; in FindBestNetworkForRequest()
1087 bestScore, supplier ? supplier->GetSupplierId() : 0, in FindBestNetworkForRequest()
1090 return bestScore; in FindBestNetworkForRequest()
1227 void NetConnService::SendBestScoreAllNetwork(uint32_t reqId, int32_t bestScore, uint32_t supplierId) in SendBestScoreAllNetwork() argument
1229 …R_LOG_D("Send best supplier[%{public}d]-score[%{public}d] to all supplier", supplierId, bestScore); in SendBestScoreAllNetwork()
[all …]
H A Dnet_supplier.cpp339 void NetSupplier::ReceiveBestScore(uint32_t reqId, int32_t bestScore, uint32_t supplierId) in ReceiveBestScore() argument
355 if (netScore_ >= bestScore) { in ReceiveBestScore()
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/include/
H A Dnet_supplier.h130 void ReceiveBestScore(uint32_t reqId, int32_t bestScore, uint32_t supplierId);
H A Dnet_conn_service.h415 void SendBestScoreAllNetwork(uint32_t reqId, int32_t bestScore, uint32_t supplierId);