Home
last modified time | relevance | path

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

/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.java887 final Integer expectedScore = mExpectations.poll(); // null if the queue is empty in handleAddRequest() local
890 + score + ")", expectedScore); in handleAddRequest()
895 if (expectedScore != score) { in handleAddRequest()
896 fail("Expected score was " + expectedScore + " but actual was " + score in handleAddRequest()
910 final Integer expectedScore = mExpectations.poll(); // null if the queue is empty in handleRemoveRequest() local
912 assertTrue("Removed more requests than expected", expectedScore != null); in handleRemoveRequest()