Home
last modified time | relevance | path

Searched refs:toJSON (Results 1 – 9 of 9) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandEvent.java207 public JSONObject toJSON() throws JSONException { in toJSON() method in ClusterCommandEvent
221 json.put("invocation_status", mInvocationStatus.toJSON()); in toJSON()
231 str = toJSON().toString(); in toString()
DInvocationStatus.java43 public JSONObject toJSON() throws JSONException { in toJSON() method in InvocationStatus
47 testModuleStatuses.put(o.toJSON()); in toJSON()
DClusterHostEvent.java206 public JSONObject toJSON() throws JSONException { in toJSON() method in ClusterHostEvent
216 deviceInfos.put(d.toJSON()); in toJSON()
DClusterClient.java118 deviceInfoJsons.put(d.toJSON()); in leaseHostCommands()
292 array.put(event.toJSON()); in buildPostData()
DIClusterEvent.java24 public JSONObject toJSON() throws JSONException; in toJSON() method
DTestGroupStatus.java81 public JSONObject toJSON() throws JSONException { in toJSON() method in TestGroupStatus
DClusterDeviceInfo.java83 public JSONObject toJSON() throws JSONException { in toJSON() method in ClusterDeviceInfo
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandEventTest.java44 JSONObject obj = event.toJSON(); in testToJSON()
65 JSONObject obj = event.toJSON(); in testToJSON_noDeviceSerial()
DClusterEventUploaderTest.java54 public JSONObject toJSON() throws JSONException { in toJSON() method in ClusterEventUploaderTest.Event