Home
last modified time | relevance | path

Searched defs:json (Results 1 – 25 of 36) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandTest.java40 JSONObject json = createCommandJson().put("attempt_id", "attempt_id"); in testFromJson_withAssignedAttemptId() local
53 JSONObject json = createCommandJson(); in testFromJson_withoutAssignedAttemptId() local
70 JSONObject json = createCommandJson().put("extra_options", new JSONArray().put(option)); in testFromJson_extraOptions() local
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DGetLastCommandResultOp.java56 static GetLastCommandResultOp createFromJson(JSONObject json) throws JSONException { in createFromJson()
72 protected void packIntoJson(JSONObject json) throws JSONException { in packIntoJson()
80 protected CommandResult unpackResponseFromJson(JSONObject json) throws JSONException { in unpackResponseFromJson()
119 protected void packResponseIntoJson(CommandResult commandResult, JSONObject json) in packResponseIntoJson()
DHandoverInitCompleteOp.java35 static HandoverInitCompleteOp createFromJson(JSONObject json) throws JSONException { in createFromJson()
DHandoverCompleteOp.java35 static HandoverCompleteOp createFromJson(JSONObject json) throws JSONException { in createFromJson()
DCloseOp.java37 static CloseOp createFromJson(JSONObject json) throws JSONException { in createFromJson()
DStartHandoverOp.java40 static StartHandoverOp createFromJson(JSONObject json) throws JSONException { in createFromJson()
DAllocateDeviceOp.java42 static AllocateDeviceOp createFromJson(JSONObject json) throws JSONException { in createFromJson()
DFreeDeviceOp.java43 static FreeDeviceOp createFromJson(JSONObject json) throws JSONException { in createFromJson()
DExecCommandOp.java45 static ExecCommandOp createFromJson(JSONObject json) throws JSONException { in createFromJson()
DListDevicesOp.java53 static ListDevicesOp createFromJson(JSONObject json) throws JSONException { in createFromJson()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestResource.java44 final JSONObject json = new JSONObject(); in toJson() local
50 public static TestResource fromJson(JSONObject json) { in fromJson()
DTestContext.java64 public static TestContext fromJson(JSONObject json) throws JSONException { in fromJson()
82 final JSONObject json = new JSONObject(); in toJson() local
DInvocationStatus.java44 final JSONObject json = new JSONObject(); in toJSON() local
DClusterCommand.java205 private static Integer optInteger(JSONObject json, String name) throws JSONException { in optInteger()
212 public static ClusterCommand fromJson(JSONObject json) throws JSONException { in fromJson()
DTestGroupStatus.java82 final JSONObject json = new JSONObject(); in toJSON() local
DClusterDeviceInfo.java84 final JSONObject json = new JSONObject(); in toJSON() local
DTradefedConfigObject.java72 public static TradefedConfigObject fromJson(JSONObject json) throws JSONException { in fromJson()
DTestEnvironment.java214 public static TestEnvironment fromJson(JSONObject json) throws JSONException { in fromJson()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessExceptionParser.java50 JSONObject json = new JSONObject(line); in handleStderrException() local
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/hostmetric/
DHostMetric.java53 final JSONObject json = new JSONObject(); in toJson() local
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxInvocationRunner.java91 JSONObject json = new JSONObject(line); in handleStderrException() local
DTradefedSandboxRunner.java79 JSONObject json = new JSONObject(); in printStackTrace() local
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandRunner.java78 JSONObject json = new JSONObject(); in printStackTrace() local
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DCompactMemInfoParserTest.java193 JSONObject json = item.toJson(); in testJson() local
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java448 private void processGetLastCommandResult(GetLastCommandResultOp c, JSONObject json) in processGetLastCommandResult()
458 c.packResponseIntoJson(tracker.getCommandResult(), json); in processGetLastCommandResult() local

12