지정된 GCE AVD 인스턴스에 대한 관련 데이터를 보유하는 구조입니다.
중첩 클래스 |
---|
enum | GceAvdInfo.GceStatus |
필드
BUILD_VARS
public static final BUILD_VARS
공개 생성자
GceAvdInfo
public GceAvdInfo (String instanceName,
HostAndPort hostAndPort)
매개변수 |
---|
instanceName | String |
hostAndPort | HostAndPort |
GceAvdInfo
public GceAvdInfo (String instanceName,
HostAndPort hostAndPort,
ErrorIdentifier errorType,
String errors,
GceAvdInfo.GceStatus status)
매개변수 |
---|
instanceName | String |
hostAndPort | HostAndPort |
errorType | ErrorIdentifier |
errors | String |
status | GceAvdInfo.GceStatus |
공개 메서드
getBuildVars
public getBuildVars ()
GCE AVD 장치의 빌드 변수 정보 해시를 반환합니다.
가능한 빌드 변수 키는 BUILD_VARS에 설명되어 있습니다(예: build_id, build_target, branch, kernel_build_id, kernel_build_target, kernel_branch, system_build_id, system_build_target, system_branch, emulator_build_id, emulator_build_target, emulator_branch).
오류 유형
public ErrorIdentifier getErrorType ()
getErrors
public String getErrors ()
호스트 및 포트
public HostAndPort hostAndPort ()
인스턴스 이름
public String instanceName ()
parseGceInfoFromFile
public static GceAvdInfo parseGceInfoFromFile (File f,
DeviceDescriptor descriptor,
int remoteAdbPort)
주어진 파일을 파싱하여 GCE AVD 기기 정보를 얻습니다.
매개변수 |
---|
f | File : ERROR(/File) 파일은 GCE 드라이버에서 JSON 출력을 읽을 수 있습니다. |
descriptor | DeviceDescriptor 다음 정보를 필요로하는 장치의 설명. |
remoteAdbPort | int : ADB 연결을 위해 사용되어야하는 원격 포트 |
parseGceInfoFromString
public static GceAvdInfo parseGceInfoFromString (String data,
DeviceDescriptor descriptor,
int remoteAdbPort)
주어진 문자열을 파싱하여 GCE AVD 기기 정보를 얻습니다.
매개변수 |
---|
data | String : JSON 문자열입니다. |
descriptor | DeviceDescriptor 다음 정보를 필요로하는 장치의 설명. |
remoteAdbPort | int : ADB 연결을 위해 사용되어야하는 원격 포트 |
toString
public String toString ()
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-10-04 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]