Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java116 assertEquals(0, parseSystemOsVersion("")); in testVersionParser()
117 assertEquals(0, parseSystemOsVersion("N")); in testVersionParser()
120 assertEquals(10000, parseSystemOsVersion("1")); in testVersionParser()
121 assertEquals(10200, parseSystemOsVersion("1.2")); in testVersionParser()
122 assertEquals(10203, parseSystemOsVersion("1.2.3")); in testVersionParser()
125 assertEquals(10000, parseSystemOsVersion("1stuff")); in testVersionParser()
126 assertEquals(10200, parseSystemOsVersion("1.2garbage.32")); in testVersionParser()
127 assertEquals(10203, parseSystemOsVersion("1.2.3-stuff")); in testVersionParser()
130 assertEquals(152536, parseSystemOsVersion("15.25.36")); in testVersionParser()
131 assertEquals(999999, parseSystemOsVersion("99.99.99")); in testVersionParser()
[all …]