Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/
DDeviceInfoUtilsTest.java36 assertEquals(0, DeviceInfoUtils.compareMajorMinorVersion("4.8.1", "4.8")); in testMajorMinorVersionCompare()
37 assertEquals(1, DeviceInfoUtils.compareMajorMinorVersion("4.9", "4.8.1")); in testMajorMinorVersionCompare()
38 assertEquals(1, DeviceInfoUtils.compareMajorMinorVersion("5.0", "4.8")); in testMajorMinorVersionCompare()
39 assertEquals(1, DeviceInfoUtils.compareMajorMinorVersion("5", "4.8")); in testMajorMinorVersionCompare()
40 assertEquals(0, DeviceInfoUtils.compareMajorMinorVersion("5", "5.0")); in testMajorMinorVersionCompare()
41 assertEquals(1, DeviceInfoUtils.compareMajorMinorVersion("5-beta1", "4.8")); in testMajorMinorVersionCompare()
42 assertEquals(0, DeviceInfoUtils.compareMajorMinorVersion("4.8.0.0", "4.8")); in testMajorMinorVersionCompare()
43 assertEquals(0, DeviceInfoUtils.compareMajorMinorVersion("4.8-RC1", "4.8")); in testMajorMinorVersionCompare()
44 assertEquals(0, DeviceInfoUtils.compareMajorMinorVersion("4.8", "4.8")); in testMajorMinorVersionCompare()
45 assertEquals(-1, DeviceInfoUtils.compareMajorMinorVersion("3.10", "4.8.0")); in testMajorMinorVersionCompare()
[all …]
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DDeviceInfoUtils.java128 public static int compareMajorMinorVersion(final String s1, final String s2) { in compareMajorMinorVersion() method in DeviceInfoUtils
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt377 return DeviceInfoUtils.compareMajorMinorVersion(kVersionString, "4.19") >= 0 in isBpfGetCgroupProgramIdSupportedByKernel()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java1757 return DeviceInfoUtils.compareMajorMinorVersion(kVersionString, "4.8") >= 0; in isTcpKeepaliveSupportedByKernel()