IHostOptions
public interface IHostOptions
com.android.tradefed.host.IHostOptions |
호스트 옵션 홀더 인터페이스. 이 인터페이스는 호스트 전체 옵션에 액세스하는 데 사용됩니다.
요약
공개 방법 | |
---|---|
abstract Integer | getAvailablePermits ( IHostOptions.PermitLimitType type) 주어진 유형의 사용 가능한 허가 수를 반환합니다. |
abstract Long | getCacheSizeLimit () 로컬 파일 캐시의 최대 허용 크기(바이트)를 반환합니다. |
abstract File | getClFlashstation () 원격 cl_flashstation 스크립트 파일을 반환합니다. |
abstract Integer | getConcurrentDownloadLimit () 허용되는 최대 동시 다운로드 수를 반환합니다. |
abstract Integer | getConcurrentFlasherLimit () 허용할 최대 동시 플래싱 수를 반환합니다. |
abstract Integer | getConcurrentVirtualDeviceStartupLimit () 허용되는 최대 동시 가상 장치 시작 수를 반환합니다. |
abstract File | getDownloadCacheDir () 다운로드한 아티팩트를 저장하는 데 사용되는 경로를 반환합니다. |
abstract File | getFastbootTmpDir () fastboot가 임시 폴더로 사용해야 하는 경로를 반환합니다. |
abstract int | getInUsePermits ( IHostOptions.PermitLimitType type) 지정된 유형에 대해 사용 중인 허가 수를 반환합니다. |
abstract | getKnownGceDeviceIpPool () 특정 IP와 연결된 알려진 gce-장치. |
abstract | getKnownPreconfigureVirtualDevicePool () 미리 구성된 알려진 가상 장치 풀. |
abstract | getKnownRemoteDeviceIpPool () 특정 IP와 연결된 알려진 원격 장치. |
abstract | getKnownTcpDeviceIpPool () 특정 IP와 연결된 알려진 tcp-장치. |
abstract | getLabels () 호스트에 대한 레이블을 가져옵니다. |
abstract String | getNetworkInterface () 원격 테스트 장치에 연결하는 데 사용되는 네트워크 인터페이스를 반환합니다. |
abstract | getServiceAccountJsonKeyFiles () 서비스 계정 json 키 파일의 맵을 반환합니다. |
abstract long | getTestPhaseTimeout () 지정된 테스트 단계 수준 제한 시간을 반환합니다. |
abstract boolean | getUseZip64InPartialDownload () 부분 다운로드에서 zip64 형식을 사용해야 하는지 확인하십시오. |
abstract void | initConcurrentLocks () 동시 잠금을 초기화합니다. |
abstract boolean | isFastbootdEnable () fastbootd 모드 지원이 활성화되었는지 여부를 반환합니다. |
abstract boolean | isFlashstationEnabled () flashstation으로 플래싱을 수행해야 하는지 여부를 반환합니다. |
abstract boolean | isHostMetricReportingDisabled () 호스트 메트릭 보고를 비활성화해야 하는지 여부를 반환합니다. |
abstract void | returnPermit ( IHostOptions.PermitLimitType type) 주어진 유형의 허가증을 반환합니다. |
abstract boolean | shouldFlashWithFuseZip () 퓨즈가 장착된 장치 이미지 zip 파일로 플래싱을 수행해야 하는지 여부를 반환합니다. |
abstract Boolean | shouldUseSsoClient () SingleSignOn 클라이언트를 사용해야 하는지 여부를 확인하십시오. |
abstract void | takePermit ( IHostOptions.PermitLimitType type) 지정된 유형의 허가를 받습니다. |
abstract void | validateOptions () |
공개 방법
getAvailablePermits
public abstract Integer getAvailablePermits (IHostOptions.PermitLimitType type)
주어진 유형의 사용 가능한 허가 수를 반환합니다.
매개변수 | |
---|---|
type | IHostOptions.PermitLimitType |
보고 | |
---|---|
Integer |
getCacheSizeLimit
public abstract Long getCacheSizeLimit ()
로컬 파일 캐시의 최대 허용 크기(바이트)를 반환합니다.
보고 | |
---|---|
Long |
getClFlashstation
public abstract File getClFlashstation ()
원격 cl_flashstation 스크립트 파일을 반환합니다.
보고 | |
---|---|
File |
getConcurrentDownloadLimit
public abstract Integer getConcurrentDownloadLimit ()
허용되는 최대 동시 다운로드 수를 반환합니다. 원격 빌드를 다운로드하는 IBuildProvider
에서 사용합니다.
보고 | |
---|---|
Integer |
getConcurrentFlasherLimit
public abstract Integer getConcurrentFlasherLimit ()
허용할 최대 동시 플래싱 수를 반환합니다. DeviceFlashPreparer
에서 사용합니다.
보고 | |
---|---|
Integer | 동시 점멸 장치 제한. |
getConcurrentVirtualDeviceStartupLimit
public abstract Integer getConcurrentVirtualDeviceStartupLimit ()
허용되는 최대 동시 가상 장치 시작 수를 반환합니다. 가상 장치를 시작하는 RemoteAndroidVirtualDevice
에서 사용됩니다.
보고 | |
---|---|
Integer |
getDownloadCacheDir
public abstract File getDownloadCacheDir ()
다운로드한 아티팩트를 저장하는 데 사용되는 경로를 반환합니다.
보고 | |
---|---|
File |
getFastbootTmpDir
public abstract File getFastbootTmpDir ()
fastboot가 임시 폴더로 사용해야 하는 경로를 반환합니다.
보고 | |
---|---|
File |
getInUsePermits
public abstract int getInUsePermits (IHostOptions.PermitLimitType type)
지정된 유형에 대해 사용 중인 허가 수를 반환합니다.
매개변수 | |
---|---|
type | IHostOptions.PermitLimitType |
보고 | |
---|---|
int |
getKnownGceDeviceIpPool
public abstractgetKnownGceDeviceIpPool ()
특정 IP와 연결된 알려진 gce-장치.
보고 | |
---|---|
getKnownPreconfigureVirtualDevicePool
public abstractgetKnownPreconfigureVirtualDevicePool ()
미리 구성된 알려진 가상 장치 풀.
보고 | |
---|---|
getKnownRemoteDeviceIpPool
public abstractgetKnownRemoteDeviceIpPool ()
특정 IP와 연결된 알려진 원격 장치.
보고 | |
---|---|
getKnownTcpDeviceIpPool
public abstractgetKnownTcpDeviceIpPool ()
특정 IP와 연결된 알려진 tcp-장치.
보고 | |
---|---|
getLabels
public abstractgetLabels ()
호스트에 대한 레이블을 가져옵니다.
보고 | |
---|---|
getNetwork인터페이스
public abstract String getNetworkInterface ()
원격 테스트 장치에 연결하는 데 사용되는 네트워크 인터페이스를 반환합니다.
보고 | |
---|---|
String |
getServiceAccountJsonKeyFiles
public abstractgetServiceAccountJsonKeyFiles ()
서비스 계정 json 키 파일의 맵을 반환합니다.
보고 | |
---|---|
getTestPhaseTimeout
public abstract long getTestPhaseTimeout ()
지정된 테스트 단계 수준 제한 시간을 반환합니다. 시간 초과가 없는 경우 기본값은 0입니다.
보고 | |
---|---|
long |
getUseZip64InPartial다운로드
public abstract boolean getUseZip64InPartialDownload ()
부분 다운로드에서 zip64 형식을 사용해야 하는지 확인하십시오.
보고 | |
---|---|
boolean |
initConcurrentLocks
public abstract void initConcurrentLocks ()
동시 잠금을 초기화합니다.
isFastbootdEnable
public abstract boolean isFastbootdEnable ()
fastbootd 모드 지원이 활성화되었는지 여부를 반환합니다.
보고 | |
---|---|
boolean |
isFlashstationEnabled
public abstract boolean isFlashstationEnabled ()
flashstation으로 플래싱을 수행해야 하는지 여부를 반환합니다.
보고 | |
---|---|
boolean |
isHostMetricReportingDisabled
public abstract boolean isHostMetricReportingDisabled ()
호스트 메트릭 보고를 비활성화해야 하는지 여부를 반환합니다.
보고 | |
---|---|
boolean |
반환허가
public abstract void returnPermit (IHostOptions.PermitLimitType type)
주어진 유형의 허가증을 반환합니다.
매개변수 | |
---|---|
type | IHostOptions.PermitLimitType |
shouldFlashWithFuseZip
public abstract boolean shouldFlashWithFuseZip ()
퓨즈가 장착된 장치 이미지 zip 파일로 플래싱을 수행해야 하는지 여부를 반환합니다.
보고 | |
---|---|
boolean |
shouldUseSsoClient
public abstract Boolean shouldUseSsoClient ()
SingleSignOn 클라이언트를 사용해야 하는지 여부를 확인하십시오.
보고 | |
---|---|
Boolean |
takePermit
public abstract void takePermit (IHostOptions.PermitLimitType type)
지정된 유형의 허가를 받습니다.
매개변수 | |
---|---|
type | IHostOptions.PermitLimitType |
유효성 검사 옵션
public abstract void validateOptions ()
IHostOptions
에 설정된 옵션이 유효한지 확인합니다.
던지기 | |
---|---|
ConfigurationException |