Searched refs:compareMajorMinorVersion (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 1367 return compareMajorMinorVersion(kVersionString, "4.8") >= 0; in isTcpKeepaliveSupportedByKernel() 1384 private static int compareMajorMinorVersion(final String s1, final String s2) { in compareMajorMinorVersion() method in ConnectivityManagerTest 1401 assertEquals(0, compareMajorMinorVersion("4.8.1", "4.8")); in testMajorMinorVersionCompare() 1402 assertEquals(1, compareMajorMinorVersion("4.9", "4.8.1")); in testMajorMinorVersionCompare() 1403 assertEquals(1, compareMajorMinorVersion("5.0", "4.8")); in testMajorMinorVersionCompare() 1404 assertEquals(1, compareMajorMinorVersion("5", "4.8")); in testMajorMinorVersionCompare() 1405 assertEquals(0, compareMajorMinorVersion("5", "5.0")); in testMajorMinorVersionCompare() 1406 assertEquals(1, compareMajorMinorVersion("5-beta1", "4.8")); in testMajorMinorVersionCompare() 1407 assertEquals(0, compareMajorMinorVersion("4.8.0.0", "4.8")); in testMajorMinorVersionCompare() 1408 assertEquals(0, compareMajorMinorVersion("4.8-RC1", "4.8")); in testMajorMinorVersionCompare() [all …]
|