IHostOptions
public
interface
IHostOptions
| com.android.tradefed.host.IHostOptions |
호스트 옵션 보유자 인터페이스입니다. 이 인터페이스는 호스트 전체 옵션에 액세스하는 데 사용됩니다.
요약
공개 메서드 | |
|---|---|
abstract
Integer
|
getAvailablePermits(IHostOptions.PermitLimitType type)
지정된 유형의 사용 가능한 허가 수를 반환합니다. |
abstract
Long
|
getCacheSizeLimit()
로컬 파일 캐시의 허용되는 최대 크기(바이트)를 반환합니다. |
abstract
Integer
|
getConcurrentDownloadLimit()
허용되는 최대 동시 다운로드 수를 반환합니다. |
abstract
Integer
|
getConcurrentFlasherLimit()
허용할 최대 동시 플래시 수를 반환합니다. |
abstract
Integer
|
getConcurrentVirtualDeviceStartupLimit()
허용되는 최대 동시 가상 기기 시작 수를 반환합니다. |
abstract
File
|
getDownloadCacheDir()
다운로드된 아티팩트를 저장하는 데 사용되는 경로를 반환합니다. |
abstract
File
|
getFastbootTmpDir()
fastboot이 임시 폴더로 사용해야 하는 경로를 반환합니다. |
abstract
int
|
getInUsePermits(IHostOptions.PermitLimitType type)
특정 유형에 사용 중인 허가 수를 반환합니다. |
abstract
Set<String>
|
getKnownGceDeviceIpPool()
특정 IP와 연결된 알려진 gce-device입니다. |
abstract
List<String>
|
getKnownPreconfigureNativeDevicePool()
알려진 사전 구성된 네이티브 기기 IP 풀입니다. |
abstract
List<String>
|
getKnownPreconfigureVirtualDevicePool()
알려진 사전 구성된 가상 기기 풀입니다. |
abstract
Set<String>
|
getKnownRemoteDeviceIpPool()
특정 IP와 연결된 알려진 원격 기기입니다. |
default
Set<String>
|
getKnownTcpDeviceIpPool()
특정 IP와 연결된 알려진 tcp 기기입니다. |
abstract
List<String>
|
getLabels()
호스트의 라벨을 가져옵니다. |
abstract
String
|
getNetworkInterface()
원격 테스트 기기에 연결하는 데 사용되는 네트워크 인터페이스를 반환합니다. |
abstract
Map<String, File>
|
getServiceAccountJsonKeyFiles()
서비스 계정 json 키 파일의 맵을 반환합니다. |
abstract
long
|
getTestPhaseTimeout()
지정된 테스트 단계 수준 제한 시간을 반환합니다. |
abstract
boolean
|
getUseZip64InPartialDownload()
부분 다운로드에서 zip64 형식을 사용해야 하는지 확인합니다. |
abstract
void
|
initConcurrentLocks()
동시 잠금을 초기화합니다. |
abstract
boolean
|
isFastbootdEnable()
fastbootd 모드 지원이 사용 설정되었는지 여부를 반환합니다. |
abstract
boolean
|
isHostMetricReportingDisabled()
호스트 측정항목 보고를 사용 중지해야 하는지 여부를 반환합니다. |
abstract
boolean
|
isIncrementalFlashingEnabled()
증분 플래시가 사용 설정되었는지 여부를 반환합니다. |
abstract
boolean
|
isOptOutOfIncrementalFlashing()
호스트가 증분 플래시를 선택 해제했는지 여부를 반환합니다. |
abstract
void
|
returnPermit(IHostOptions.PermitLimitType type)
지정된 유형의 허가를 반환합니다. |
abstract
boolean
|
shouldFlashWithFuseZip()
퓨즈 마운트 기기 이미지 zip 파일로 플래시해야 하는지 여부를 반환합니다. |
abstract
Boolean
|
shouldUseSsoClient()
SingleSignOn 클라이언트를 사용해야 하는지 확인합니다. |
abstract
void
|
takePermit(IHostOptions.PermitLimitType type)
지정된 유형의 허가를 가져옵니다. |
abstract
boolean
|
useAndroidBuildApiV4()
v4 Android 빌드 API를 사용할지 여부를 반환합니다. |
abstract
void
|
validateOptions()
|
공개 메서드
getAvailablePermits
public abstract Integer getAvailablePermits (IHostOptions.PermitLimitType type)
지정된 유형의 사용 가능한 허가 수를 반환합니다.
| 매개변수 | |
|---|---|
type |
IHostOptions.PermitLimitType |
| 반환 | |
|---|---|
Integer |
|
getCacheSizeLimit
public abstract Long getCacheSizeLimit ()
로컬 파일 캐시의 허용되는 최대 크기(바이트)를 반환합니다.
| 반환 | |
|---|---|
Long |
|
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 abstract Set<String> getKnownGceDeviceIpPool ()
특정 IP와 연결된 알려진 gce-device입니다.
| 반환 | |
|---|---|
Set<String> |
|
getKnownPreconfigureNativeDevicePool
public abstract List<String> getKnownPreconfigureNativeDevicePool ()
알려진 사전 구성된 네이티브 기기 IP 풀입니다.
| 반환 | |
|---|---|
List<String> |
|
getKnownPreconfigureVirtualDevicePool
public abstract List<String> getKnownPreconfigureVirtualDevicePool ()
알려진 사전 구성된 가상 기기 풀입니다.
| 반환 | |
|---|---|
List<String> |
|
getKnownRemoteDeviceIpPool
public abstract Set<String> getKnownRemoteDeviceIpPool ()
특정 IP와 연결된 알려진 원격 기기입니다.
| 반환 | |
|---|---|
Set<String> |
|
getKnownTcpDeviceIpPool
public Set<String> getKnownTcpDeviceIpPool ()
특정 IP와 연결된 알려진 tcp 기기입니다.
| 반환 | |
|---|---|
Set<String> |
|
getLabels
public abstract List<String> getLabels ()
호스트의 라벨을 가져옵니다.
| 반환 | |
|---|---|
List<String> |
|
getNetworkInterface
public abstract String getNetworkInterface ()
원격 테스트 기기에 연결하는 데 사용되는 네트워크 인터페이스를 반환합니다.
| 반환 | |
|---|---|
String |
|
getServiceAccountJsonKeyFiles
public abstract Map<String, File> getServiceAccountJsonKeyFiles ()
서비스 계정 json 키 파일의 맵을 반환합니다.
| 반환 | |
|---|---|
Map<String, File> |
|
getTestPhaseTimeout
public abstract long getTestPhaseTimeout ()
지정된 테스트 단계 수준 제한 시간을 반환합니다. 제한 시간이 없는 경우 기본값은 0입니다.
| 반환 | |
|---|---|
long |
|
getUseZip64InPartialDownload
public abstract boolean getUseZip64InPartialDownload ()
부분 다운로드에서 zip64 형식을 사용해야 하는지 확인합니다.
| 반환 | |
|---|---|
boolean |
|
initConcurrentLocks
public abstract void initConcurrentLocks ()
동시 잠금을 초기화합니다.
isFastbootdEnable
public abstract boolean isFastbootdEnable ()
fastbootd 모드 지원이 사용 설정되었는지 여부를 반환합니다.
| 반환 | |
|---|---|
boolean |
|
isHostMetricReportingDisabled
public abstract boolean isHostMetricReportingDisabled ()
호스트 측정항목 보고를 사용 중지해야 하는지 여부를 반환합니다.
| 반환 | |
|---|---|
boolean |
|
isIncrementalFlashingEnabled
public abstract boolean isIncrementalFlashingEnabled ()
증분 플래시가 사용 설정되었는지 여부를 반환합니다.
| 반환 | |
|---|---|
boolean |
|
isOptOutOfIncrementalFlashing
public abstract boolean isOptOutOfIncrementalFlashing ()
호스트가 증분 플래시를 선택 해제했는지 여부를 반환합니다.
| 반환 | |
|---|---|
boolean |
|
returnPermit
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 |
useAndroidBuildApiV4
public abstract boolean useAndroidBuildApiV4 ()
v4 Android 빌드 API를 사용할지 여부를 반환합니다.
| 반환 | |
|---|---|
boolean |
|
validateOptions
public abstract void validateOptions ()
IHostOptions에 설정된 옵션이 유효한지 확인합니다.
| 생성 값 | |
|---|---|
ConfigurationException |
|