2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
ClusterDeviceInfo
public
class
ClusterDeviceInfo
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.cluster.ClusterDeviceInfo
|
업로드할 클러스터 기기 정보를 캡슐화하는 클래스입니다.
요약
공개 메서드
getGroupName
public String getGroupName ()
getRunTarget
public String getRunTarget ()
toJSON
public JSONObject toJSON ()
이 기기 정보의 JSON 객체를 생성합니다.
반환 값 |
JSONObject |
이 기기 정보에 상응하는 JSONObject입니다. |
생성 값 |
|
org.json.JSONException |
JSONException |
|
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# ClusterDeviceInfo\n=================\n\n\n`\npublic\n\n\nclass\nClusterDeviceInfo\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.cluster.ClusterDeviceInfo |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA class to encapsulate cluster device info to be uploaded.\n\nSummary\n-------\n\n| ### Nested classes ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------|\n| ` class` | [ClusterDeviceInfo.Builder](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html) |\n\n| ### Public methods ||\n|-----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` `[DeviceDescriptor](../../../../../../reference/tradefed/com/android/tradefed/command/remote/DeviceDescriptor.html) | ` `[getDeviceDescriptor](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.html#getDeviceDescriptor())`() ` |\n| ` ` | ` `[getExtraInfo](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.html#getExtraInfo())`() ` |\n| ` String` | ` `[getGroupName](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.html#getGroupName())`() ` |\n| ` String` | ` `[getRunTarget](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.html#getRunTarget())`() ` |\n| ` JSONObject` | ` `[toJSON](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.html#toJSON())`() ` Generates the JSON Object for this device info. |\n\nPublic methods\n--------------\n\n### getDeviceDescriptor\n\n```\npublic DeviceDescriptor getDeviceDescriptor ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------------------------------------------------------------------------------------------------------------------|--------|\n| [DeviceDescriptor](../../../../../../reference/tradefed/com/android/tradefed/command/remote/DeviceDescriptor.html) | \u003cbr /\u003e |\n\n### getExtraInfo\n\n```\npublic getExtraInfo ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|---|--------|\n| | \u003cbr /\u003e |\n\n### getGroupName\n\n```\npublic String getGroupName ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |\n\n### getRunTarget\n\n```\npublic String getRunTarget ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |\n\n### toJSON\n\n```\npublic JSONObject toJSON ()\n```\n\nGenerates the JSON Object for this device info.\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------------|---------------------------------------------------|\n| `JSONObject` | JSONObject equivalent of this device info. \u003cbr /\u003e |\n\n| Throws ||\n|-----------------|------------------------|\n| | org.json.JSONException |\n| `JSONException` | |"]]