Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandTest.java42 ClusterCommand command = ClusterCommand.fromJson(json); in testFromJson_withAssignedAttemptId()
55 ClusterCommand command = ClusterCommand.fromJson(json); in testFromJson_withoutAssignedAttemptId()
72 ClusterCommand command = ClusterCommand.fromJson(json); in testFromJson_extraOptions()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterClient.java153 return TestEnvironment.fromJson(new JSONObject(content)); in getTestEnvironment()
193 return TestContext.fromJson(new JSONObject(content)); in getTestContext()
266 commandTasks.add(ClusterCommand.fromJson(jsonCommand)); in parseCommandTasks()
DTestResource.java50 public static TestResource fromJson(JSONObject json) { in fromJson() method in TestResource
57 objs.add(TestResource.fromJson(jsonArray.getJSONObject(i))); in fromJsonArray()
DTradefedConfigObject.java72 public static TradefedConfigObject fromJson(JSONObject json) throws JSONException { in fromJson() method in TradefedConfigObject
96 objs.add(fromJson(arr.getJSONObject(i))); in fromJsonArray()
DTestContext.java64 public static TestContext fromJson(JSONObject json) throws JSONException { in fromJson() method in TestContext
DClusterCommand.java212 public static ClusterCommand fromJson(JSONObject json) throws JSONException { in fromJson() method in ClusterCommand
DTestEnvironment.java214 public static TestEnvironment fromJson(JSONObject json) throws JSONException { in fromJson() method in TestEnvironment
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/
DVkJsonTests.java90 mVkJson = gson.fromJson(cmdString, VkJson.class); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java258 RunHistory[] runHistories = gson.fromJson(runHistoryJson, RunHistory[].class); in writeResults()