Searched refs:parseSystemOsVersion (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyAttestationTest.java | 123 assertEquals(0, parseSystemOsVersion("")); in testVersionParser() 124 assertEquals(0, parseSystemOsVersion("N")); in testVersionParser() 127 assertEquals(10000, parseSystemOsVersion("1")); in testVersionParser() 128 assertEquals(10200, parseSystemOsVersion("1.2")); in testVersionParser() 129 assertEquals(10203, parseSystemOsVersion("1.2.3")); in testVersionParser() 132 assertEquals(10000, parseSystemOsVersion("1stuff")); in testVersionParser() 133 assertEquals(10200, parseSystemOsVersion("1.2garbage.32")); in testVersionParser() 134 assertEquals(10203, parseSystemOsVersion("1.2.3-stuff")); in testVersionParser() 137 assertEquals(152536, parseSystemOsVersion("15.25.36")); in testVersionParser() 138 assertEquals(999999, parseSystemOsVersion("99.99.99")); in testVersionParser() [all …]
|