Searched refs:activeScorer (Results 1 – 3 of 3) sorted by relevance
102 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in testGetActiveScorer_providerAvailable() local103 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() local117 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 …]
850 final WifiCandidates.CandidateScorer activeScorer = getActiveCandidateScorer(); in selectNetwork() local856 WifiCandidates.ScoredCandidate choice = activeScorer.scoreCandidates(group); in selectNetwork()890 if (candidateScorer == activeScorer) { in selectNetwork()905 final int activeExperimentId = experimentIdFromIdentifier(activeScorer.getIdentifier()); in selectNetwork()
203 final NetworkScorerAppData activeScorer = mNetworkScorerAppManager.getActiveScorer(); in evaluateBinding() local204 if (activeScorer == null) { in evaluateBinding()214 Log.d(TAG, "Binding to " + activeScorer.getRecommendationServiceComponent() in evaluateBinding()217 bindToScoringServiceIfNeeded(activeScorer); in evaluateBinding()