Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java927 return compareMajorMinorVersion(kVersionString, "4.8") >= 0; in isTcpKeepaliveSupportedByKernel()
944 private static int compareMajorMinorVersion(final String s1, final String s2) { in compareMajorMinorVersion() method in ConnectivityManagerTest
961 assertEquals(0, compareMajorMinorVersion("4.8.1", "4.8")); in testMajorMinorVersionCompare()
962 assertEquals(1, compareMajorMinorVersion("4.9", "4.8.1")); in testMajorMinorVersionCompare()
963 assertEquals(1, compareMajorMinorVersion("5.0", "4.8")); in testMajorMinorVersionCompare()
964 assertEquals(1, compareMajorMinorVersion("5", "4.8")); in testMajorMinorVersionCompare()
965 assertEquals(0, compareMajorMinorVersion("5", "5.0")); in testMajorMinorVersionCompare()
966 assertEquals(1, compareMajorMinorVersion("5-beta1", "4.8")); in testMajorMinorVersionCompare()
967 assertEquals(0, compareMajorMinorVersion("4.8.0.0", "4.8")); in testMajorMinorVersionCompare()
968 assertEquals(0, compareMajorMinorVersion("4.8-RC1", "4.8")); in testMajorMinorVersionCompare()
[all …]