Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
이 페이지는 Cloud Translation API를 통해 번역되었습니다.
Switch to English

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