Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImplTest.java154 lowQualitySuggestion, testCase.expectedScore); in testTelephonySuggestionsWhenTimeZoneUninitialized()
171 goodQualitySuggestion, testCase2.expectedScore); in testTelephonySuggestionsWhenTimeZoneUninitialized()
188 lowQualitySuggestion2, testCase.expectedScore); in testTelephonySuggestionsWhenTimeZoneUninitialized()
219 new QualifiedTelephonyTimeZoneSuggestion(suggestion, testCase.expectedScore); in testTogglingAutoTimeZoneDetection()
230 if (testCase.expectedScore >= TELEPHONY_SCORE_USAGE_THRESHOLD) { in testTogglingAutoTimeZoneDetection()
289 zoneSlotIndex1Suggestion, testCase.expectedScore); in makeSlotIndex1SuggestionAndCheckState()
292 if (testCase.expectedScore >= TELEPHONY_SCORE_USAGE_THRESHOLD) { in makeSlotIndex1SuggestionAndCheckState()
338 testCase.expectedScore); in testMultipleSlotIndexSuggestionScoringAndSlotIndexBias()
341 testCase.expectedScore); in testMultipleSlotIndexSuggestionScoringAndSlotIndexBias()
345 if (testCase.expectedScore >= TELEPHONY_SCORE_USAGE_THRESHOLD) { in testMultipleSlotIndexSuggestionScoringAndSlotIndexBias()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkScoreTest.java53 public int expectedScore; field in PasspointNetworkScoreTest.TestData
64 expectedScore = score; in TestData()
344 assertEquals(data.expectedScore, PasspointNetworkScore.calculateScore( in calculateScore()
366 assertEquals(data.expectedScore, PasspointNetworkScore.calculateScore( in calculatorScoreWithUnSupportedNetworkType()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java917 final Integer expectedScore = mExpectations.poll(); // null if the queue is empty in handleAddRequest() local
920 + score + ")", expectedScore); in handleAddRequest()
925 if (expectedScore != score) { in handleAddRequest()
926 fail("Expected score was " + expectedScore + " but actual was " + score in handleAddRequest()
940 final Integer expectedScore = mExpectations.poll(); // null if the queue is empty in handleRemoveRequest() local
942 assertTrue("Removed more requests than expected", expectedScore != null); in handleRemoveRequest()