Home
last modified time | relevance | path

Searched refs:activeScorer (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java102 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_providerAvailable() local
103 assertNotNull(activeScorer); in testGetActiveScorer_providerAvailable()
104 assertEquals(RECO_COMPONENT, activeScorer.getRecommendationServiceComponent()); in testGetActiveScorer_providerAvailable()
105 assertEquals(PACKAGE_UID, activeScorer.packageUid); in testGetActiveScorer_providerAvailable()
106 assertEquals(MOCK_SERVICE_LABEL, activeScorer.getRecommendationServiceLabel()); in testGetActiveScorer_providerAvailable()
116 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_providerAvailable_serviceLabelOverride() local
117 assertNotNull(activeScorer); in testGetActiveScorer_providerAvailable_serviceLabelOverride()
118 assertEquals(RECO_COMPONENT, activeScorer.getRecommendationServiceComponent()); in testGetActiveScorer_providerAvailable_serviceLabelOverride()
119 assertEquals(PACKAGE_UID, activeScorer.packageUid); in testGetActiveScorer_providerAvailable_serviceLabelOverride()
120 assertEquals(MOCK_OVERRIDEN_SERVICE_LABEL, activeScorer.getRecommendationServiceLabel()); in testGetActiveScorer_providerAvailable_serviceLabelOverride()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSelector.java850 final WifiCandidates.CandidateScorer activeScorer = getActiveCandidateScorer(); in selectNetwork() local
856 WifiCandidates.ScoredCandidate choice = activeScorer.scoreCandidates(group); in selectNetwork()
890 if (candidateScorer == activeScorer) { in selectNetwork()
905 final int activeExperimentId = experimentIdFromIdentifier(activeScorer.getIdentifier()); in selectNetwork()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java203 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in evaluateBinding() local
204 if (activeScorer == null) { in evaluateBinding()
214 Log.d(TAG, "Binding to " + activeScorer.getRecommendationServiceComponent() in evaluateBinding()
217 bindToScoringServiceIfNeeded(activeScorer); in evaluateBinding()