Searched refs:getVersionFor (Results 1 – 3 of 3) sorted by relevance
66 assertEquals(SdkVersion.CUPCAKE, SdkVersion.getVersionFor(3)); in testGetVersionFor()67 assertEquals(SdkVersion.DONUT, SdkVersion.getVersionFor(4)); in testGetVersionFor()68 assertEquals(SdkVersion.ECLAIR_0_1, SdkVersion.getVersionFor(6)); in testGetVersionFor()69 assertEquals(SdkVersion.ECLAIR_MR1, SdkVersion.getVersionFor(7)); in testGetVersionFor()70 assertEquals(SdkVersion.FROYO, SdkVersion.getVersionFor(8)); in testGetVersionFor()71 assertEquals(SdkVersion.GINGERBREAD, SdkVersion.getVersionFor(9)); in testGetVersionFor()72 assertEquals(SdkVersion.UNKNOWN, SdkVersion.getVersionFor(-1)); in testGetVersionFor()76 SdkVersion.UNKNOWN, SdkVersion.getVersionFor(i)); in testGetVersionFor()
95 return getVersionFor(SDK_VERSION); in getCurrentVersion()98 static SdkVersion getVersionFor(int apiLevel) { in getVersionFor() method in SdkVersion
157 SdkVersion version = SdkVersion.getVersionFor(Integer.parseInt(args[1])); in main()