BuildTestsZipUtils
public
class
BuildTestsZipUtils
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.BuildTestsZipUtils |
A helper class for operations related to tests zip generated by Android build system
Summary
Public constructors | |
---|---|
BuildTestsZipUtils()
|
Public methods | |
---|---|
static
File
|
getApkFile(IBuildInfo buildInfo, String apkFileName, List<File> altDirs, AltDirBehavior altDirBehavior, boolean lookupInResource, String deviceSigningKey)
Resolve the actual apk path based on testing artifact information inside build info. |
Public constructors
BuildTestsZipUtils
public BuildTestsZipUtils ()
Public methods
getApkFile
public static File getApkFile (IBuildInfo buildInfo, String apkFileName, List<File> altDirs, AltDirBehavior altDirBehavior, boolean lookupInResource, String deviceSigningKey)
Resolve the actual apk path based on testing artifact information inside build info.
Parameters | |
---|---|
buildInfo |
IBuildInfo : build artifact information |
apkFileName |
String : filename of the apk to install |
altDirs |
List : alternative search paths, in addition to path inside buildInfo |
altDirBehavior |
AltDirBehavior : how alternative search paths should be used against path inside
buildInfo : as fallback, or as override; if unspecified, fallback will be used |
lookupInResource |
boolean : if the file should be looked up in test harness resources as a final
fallback mechanism |
Returns | |
---|---|
File |
a File representing the physical apk file on host or null if the
file does not exist.
|
Throws | |
---|---|
IOException |
Interfaces
Classes
- AaptParser
- AbiFormatter
- AbiUtils
- Alarm
- AppVersionFetcher
- ArrayUtil
- BluetoothUtils
- Bugreport
- BuildTestsZipUtils
- BulkEmailer
- ByteArrayList
- CircularAtraceUtil
- CircularByteArray
- ClassPathScanner
- ClassPathScanner.ClassNameFilter
- ClassPathScanner.ExternalClassNameFilter
- CommandResult
- ConditionPriorityBlockingQueue
- ConditionPriorityBlockingQueue.AlwaysMatch
- ConfigCompletor
- DeviceConcurrentUtil
- DeviceConcurrentUtil.ShellCommandCallable
- DeviceRecoveryModeUtil
- DirectedGraph
- EmmaXmlConstants
- EmmaXmlReportParser
- FakeTestsZipFolder
- FileUtil
- FixedByteArrayOutputStream
- GCSBucketUtil
- GCSFileDownloader
- HprofAllocSiteParser
- IEmail.Message
- JUnit4TestFilter
- JUnitXmlParser
- KeyguardControllerState
- ListInstrumentationParser
- ListInstrumentationParser.InstrumentationTarget
- LogcatUpdaterEventParser
- LogcatUpdaterEventParser.AsyncUpdaterEvent
- MetricsXmlParser
- MultiMap
- NullUtil
- Pair
- ProcessInfo
- PropertyChanger
- PsParser
- QuotationAwareTokenizer
- RegexTrie
- RegexTrie.CompPattern
- RunUtil
- RunUtil.RunnableResult
- SerializationUtil
- SimplePerfResult
- SimplePerfStatResultParser
- SimplePerfUtil
- SimpleStats
- SizeLimitedOutputStream
- StreamUtil
- StringEscapeUtils
- SubprocessEventHelper
- SubprocessEventHelper.BaseTestEventInfo
- SubprocessEventHelper.FailedTestEventInfo
- SubprocessEventHelper.InvocationFailedEventInfo
- SubprocessEventHelper.InvocationStartedEventInfo
- SubprocessEventHelper.LogAssociationEventInfo
- SubprocessEventHelper.TestEndedEventInfo
- SubprocessEventHelper.TestLogEventInfo
- SubprocessEventHelper.TestModuleStartedEventInfo
- SubprocessEventHelper.TestRunEndedEventInfo
- SubprocessEventHelper.TestRunFailedEventInfo
- SubprocessEventHelper.TestRunStartedEventInfo
- SubprocessEventHelper.TestStartedEventInfo
- SubprocessTestResultsParser
- SubprocessTestResultsParser.StatusKeys
- SystemUtil
- TableBuilder
- TableFormatter
- TarUtil
- TestFilterHelper
- TestLoader
- TestMapping
- TestMapping.TestInfo
- TestMapping.TestOption
- TimeUtil
- TimeVal
- UniqueMultiMap
- VersionParser
- ZipCompressionStrategy
- ZipUtil
- ZipUtil2
Enums
Exceptions