Searched refs:parseSystemOsVersion (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyAttestationTest.java | 131 assertEquals(0, parseSystemOsVersion("")); in testVersionParser() 132 assertEquals(0, parseSystemOsVersion("N")); in testVersionParser() 135 assertEquals(10000, parseSystemOsVersion("1")); in testVersionParser() 136 assertEquals(10200, parseSystemOsVersion("1.2")); in testVersionParser() 137 assertEquals(10203, parseSystemOsVersion("1.2.3")); in testVersionParser() 140 assertEquals(10000, parseSystemOsVersion("1stuff")); in testVersionParser() 141 assertEquals(10200, parseSystemOsVersion("1.2garbage.32")); in testVersionParser() 142 assertEquals(10203, parseSystemOsVersion("1.2.3-stuff")); in testVersionParser() 145 assertEquals(152536, parseSystemOsVersion("15.25.36")); in testVersionParser() 146 assertEquals(999999, parseSystemOsVersion("99.99.99")); in testVersionParser() [all …]
|