Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DAaptParserTest.java73 assertEquals(5, p.getSdkVersion()); in testParsePackageNameVersionLabel()
90 assertEquals(10, p.getSdkVersion()); in testParseVersionMultipleFieldsNoLabel()
103 assertEquals(-1, p.getSdkVersion()); in testParseInvalidSdkVersion()
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DDeviceDescriptor.java218 d.getSdkVersion(), in DeviceDescriptor()
243 d.getSdkVersion(), in DeviceDescriptor()
268 d.getSdkVersion(), in DeviceDescriptor()
321 public String getSdkVersion() { in getSdkVersion() method in DeviceDescriptor
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DAppSetupTest.java269 doReturn(22).when(mMockAaptParser).getSdkVersion(); in testSetup_checkMinSdk_apiLow()
276 Mockito.verify(mMockAaptParser, times(2)).getSdkVersion(); in testSetup_checkMinSdk_apiLow()
301 doReturn(22).when(mMockAaptParser).getSdkVersion(); in testSetup_checkMinSdk_apiOk()
310 Mockito.verify(mMockAaptParser, times(1)).getSdkVersion(); in testSetup_checkMinSdk_apiOk()
DTestAppInstallSetupTest.java852 doReturn(22).when(mMockAaptParser).getSdkVersion(); in testResolveApkFiles_checkMinSdk_apiLow()
859 Mockito.verify(mMockAaptParser, times(2)).getSdkVersion(); in testResolveApkFiles_checkMinSdk_apiLow()
884 doReturn(22).when(mMockAaptParser).getSdkVersion(); in testResolveApkFiles_checkMinSdk_apiOk()
891 Mockito.verify(mMockAaptParser).getSdkVersion(); in testResolveApkFiles_checkMinSdk_apiOk()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DAppSetup.java135 if (device.getApiLevel() < aaptParser.getSdkVersion()) { in setUp()
139 aaptParser.getSdkVersion(), device.getApiLevel()); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterDeviceInfo.java110 json.put("sdk_version", mDeviceDescriptor.getSdkVersion()); in toJSON()
DClusterHostUtil.java224 txt = device.getSdkVersion(); in getRunTarget()
/tools/tradefederation/core/src/com/android/tradefed/util/
DAaptParser.java255 public int getSdkVersion() { in getSdkVersion() method in AaptParser
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTestAppInstallSetup.java615 if (device.getApiLevel() < aaptParser.getSdkVersion()) { in resolveApkFiles()
621 aaptParser.getSdkVersion(), in resolveApkFiles()