SuiteApkInstaller

public class SuiteApkInstaller
extends TestAppInstallSetup

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.TestAppInstallSetup
       ↳ com.android.tradefed.targetprep.suite.SuiteApkInstaller


Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info.

Summary

Public constructors

SuiteApkInstaller()

Protected methods

File getLocalPathForFilename(TestInformation testInfo, String apkFileName)

Resolve the actual apk path based on testing artifact information inside build info.

Public constructors

SuiteApkInstaller

public SuiteApkInstaller ()

Protected methods

getLocalPathForFilename

protected File getLocalPathForFilename (TestInformation testInfo, 
                String apkFileName)

Resolve the actual apk path based on testing artifact information inside build info.

Parameters
testInfo TestInformation: The TestInformation for the invocation.

apkFileName String: filename of the apk to install

Returns
File a ERROR(/File) representing the physical apk file on host or null if the file does not exist.

Throws
TargetSetupError