Searched refs:getSdkVersion (Results 1 – 6 of 6) sorted by relevance
64 assertEquals(5, p.getSdkVersion()); in testParsePackageNameVersionLabel()80 assertEquals(10, p.getSdkVersion()); in testParseVersionMultipleFieldsNoLabel()92 assertEquals(-1, p.getSdkVersion()); in testParseInvalidSdkVersion()
227 doReturn(22).when(mMockAaptParser).getSdkVersion(); in testSetup_checkMinSdk_apiLow()233 Mockito.verify(mMockAaptParser, times(2)).getSdkVersion(); in testSetup_checkMinSdk_apiLow()257 doReturn(22).when(mMockAaptParser).getSdkVersion(); in testSetup_checkMinSdk_apiOk()267 Mockito.verify(mMockAaptParser, times(1)).getSdkVersion(); in testSetup_checkMinSdk_apiOk()
115 if (device.getApiLevel() < aaptParser.getSdkVersion()) { in setUp()119 aaptParser.getSdkVersion(), device.getApiLevel()); in setUp()
154 public int getSdkVersion() { in getSdkVersion() method in AaptParser
133 public String getSdkVersion() { in getSdkVersion() method in DeviceDescriptor
234 assertEquals("18", returnedDevices.get(0).getSdkVersion()); in testListDevices()242 assertEquals("15", returnedDevices.get(1).getSdkVersion()); in testListDevices()