Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java1041 assertEquals(-1, WifiScoreReport.sessionIdFromNetId(Integer.MIN_VALUE));
1042 assertEquals(-1, WifiScoreReport.sessionIdFromNetId(-42));
1043 assertEquals(-1, WifiScoreReport.sessionIdFromNetId(-1));
1044 assertEquals(-1, WifiScoreReport.sessionIdFromNetId(0));
1045 assertEquals(18, WifiScoreReport.sessionIdFromNetId(1));
1046 assertEquals(3339, WifiScoreReport.sessionIdFromNetId(333));
1047 assertEquals(TEST_SESSION_ID, WifiScoreReport.sessionIdFromNetId(TEST_NETWORK_ID));
1050 assertEquals(2147483646, WifiScoreReport.sessionIdFromNetId(dangerOfOverflow));
1051 assertEquals(8, WifiScoreReport.sessionIdFromNetId(dangerOfOverflow + 1));
1052 assertEquals(8, WifiScoreReport.sessionIdFromNetId(Integer.MAX_VALUE));
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java735 return sessionIdFromNetId(getCurrentNetId()); in getCurrentSessionId()
746 public static int sessionIdFromNetId(final int netId) { in sessionIdFromNetId() method in WifiScoreReport