Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/
DDeviceInfoUtilsTest.java52 assertEquals(expected, DeviceInfoUtils.getMajorMinorSubminorVersion("4.19.220")); in testGetMajorMinorSubminorVersion()
53 assertEquals(expected, DeviceInfoUtils.getMajorMinorSubminorVersion("4.19.220.50")); in testGetMajorMinorSubminorVersion()
54 assertEquals(expected, DeviceInfoUtils.getMajorMinorSubminorVersion( in testGetMajorMinorSubminorVersion()
58 assertEquals(expected2, DeviceInfoUtils.getMajorMinorSubminorVersion("5.17")); in testGetMajorMinorSubminorVersion()
59 assertEquals(expected2, DeviceInfoUtils.getMajorMinorSubminorVersion("5.17.")); in testGetMajorMinorSubminorVersion()
60 assertEquals(expected2, DeviceInfoUtils.getMajorMinorSubminorVersion("5.17.beta")); in testGetMajorMinorSubminorVersion()
61 assertEquals(expected2, DeviceInfoUtils.getMajorMinorSubminorVersion( in testGetMajorMinorSubminorVersion()
65 assertEquals(invalid, DeviceInfoUtils.getMajorMinorSubminorVersion("")); in testGetMajorMinorSubminorVersion()
66 assertEquals(invalid, DeviceInfoUtils.getMajorMinorSubminorVersion("4")); in testGetMajorMinorSubminorVersion()
67 assertEquals(invalid, DeviceInfoUtils.getMajorMinorSubminorVersion("4.")); in testGetMajorMinorSubminorVersion()
[all …]
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DDeviceInfoUtils.java145 public static KVersion getMajorMinorSubminorVersion(final String version) { in getMajorMinorSubminorVersion() method in DeviceInfoUtils
172 final KVersion current = DeviceInfoUtils.getMajorMinorSubminorVersion(kernelVersion); in isKernelVersionAtLeast()
173 final KVersion from = DeviceInfoUtils.getMajorMinorSubminorVersion(version); in isKernelVersionAtLeast()
/packages/modules/Connectivity/Tethering/tests/mts/src/android/tethering/mts/
DMtsEthernetTetheringTest.java93 final KVersion current = DeviceInfoUtils.getMajorMinorSubminorVersion(kernelVersion); in isUdpOffloadSupportedByKernel()