Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DAaptParserTest.java64 assertEquals(5, p.getSdkVersion()); in testParsePackageNameVersionLabel()
80 assertEquals(10, p.getSdkVersion()); in testParseVersionMultipleFieldsNoLabel()
92 assertEquals(-1, p.getSdkVersion()); in testParseInvalidSdkVersion()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAppSetupTest.java227 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()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DAppSetup.java115 if (device.getApiLevel() < aaptParser.getSdkVersion()) { in setUp()
119 aaptParser.getSdkVersion(), device.getApiLevel()); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/util/
DAaptParser.java154 public int getSdkVersion() { in getSdkVersion() method in AaptParser
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DDeviceDescriptor.java133 public String getSdkVersion() { in getSdkVersion() method in DeviceDescriptor
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerFuncTest.java234 assertEquals("18", returnedDevices.get(0).getSdkVersion()); in testListDevices()
242 assertEquals("15", returnedDevices.get(1).getSdkVersion()); in testListDevices()