CtsDeviceLaunchControlProvider
public
class
CtsDeviceLaunchControlProvider
extends DeviceLaunchControlProvider
implements
IDiscoverDependencies
| java.lang.Object | |||
| ↳ | com.google.android.tradefed.build.LaunchControlProvider | ||
| ↳ | com.google.android.tradefed.build.DeviceLaunchControlProvider | ||
| ↳ | com.google.android.tradefed.build.CtsDeviceLaunchControlProvider | ||
DeviceFolderBuildInfo의 LaunchControlProvider
Android 빌드 서버에서 CTS 빌드와 기기 빌드를 모두 가져옵니다.
기기 빌드가 먼저 가져오므로 이 클래스에 제공된 build-flavor 등의 인수는 가져오려는 기기 빌드와 일치해야 합니다.
기본적으로 이 클래스는 기기 빌드와 동일한 빌드 ID 및 동일한 브랜치로 CTS 빌드를 다운로드하려고 시도합니다. cts* 옵션을 사용하여 다른 CTS 빌드를 가져올 수 있습니다.
요약
공개 생성자 | |
|---|---|
CtsDeviceLaunchControlProvider()
|
|
공개 메서드 | |
|---|---|
void
|
cleanUp(IBuildInfo info)
임시 빌드 파일을 정리합니다. |
IBuildInfo
|
downloadBuildFiles(RemoteBuildInfo remoteBuild, String testTargetName, String buildName, IFileDownloader downloader)
remoteBuild에서 --download-build-key에 구성된 대로 필요한 파일 키를 다운로드하고 |
RemoteBuildInfo
|
queryForBuild()
오류가 발생할 경우 여러 번 재시도하여 실행 제어 쿼리를 실행합니다. |
Set<String>
|
reportTestZipFileFilter()
|
공개 생성자
CtsDeviceLaunchControlProvider
public CtsDeviceLaunchControlProvider ()
공개 메서드
downloadBuildFiles
public IBuildInfo downloadBuildFiles (RemoteBuildInfo remoteBuild, String testTargetName, String buildName, IFileDownloader downloader)
remoteBuild에서 --download-build-key에 구성된 대로 필요한 파일 키를 다운로드하고 IBuildInfo에 저장합니다.
| 매개변수 | |
|---|---|
remoteBuild |
RemoteBuildInfo: 출시 관리 서버 응답 |
testTargetName |
String: 테스트 타겟 이름 |
buildName |
String: 출시 제어에 의해 정의된 빌드 이름 |
downloader |
IFileDownloader: 빌드 파일을 다운로드하는 데 사용할 IFileDownloader |
| 반환 | |
|---|---|
IBuildInfo |
빌드 파일의 로컬 버전으로 채워진 IBuildInfo |
| 생성 값 | |
|---|---|
BuildRetrievalError |
|
queryForBuild
public RemoteBuildInfo queryForBuild ()
오류가 발생할 경우 여러 번 재시도하여 실행 제어 쿼리를 실행합니다.
| 반환 | |
|---|---|
RemoteBuildInfo |
실행 제어에서 가져온 RemoteBuildInfo |
| 생성 값 | |
|---|---|
BuildRetrievalError |
|
reportTestZipFileFilter
public Set<String> reportTestZipFileFilter ()
| 반환 | |
|---|---|
Set<String> |
|