ネストされたクラス |
---|
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 ()
GCEAVDデバイスのビルド変数情報ハッシュを返します。
可能なビルド変数キーは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。
getErrorType
public ErrorIdentifier getErrorType ()
getErrors
public String getErrors ()
hostAndPort
public HostAndPort hostAndPort ()
instanceName
public String instanceName ()
parseGceInfoFromFile
public static GceAvdInfo parseGceInfoFromFile (File f,
DeviceDescriptor descriptor,
int remoteAdbPort)
特定のファイルを解析して、GCEAVDデバイス情報を取得します。
パラメーター |
---|
f | File : ERROR(/File) GCEドライバーからのJSON出力を読み込むためのファイル。 |
descriptor | DeviceDescriptor :情報を必要とするデバイスの記述。 |
remoteAdbPort | int :ADB接続に使用する必要があり、リモートポート |
parseGceInfoFromString
public static GceAvdInfo parseGceInfoFromString (String data,
DeviceDescriptor descriptor,
int remoteAdbPort)
指定された文字列を解析して、GCEAVDデバイス情報を取得します。
パラメーター |
---|
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":"その他"
}]