Home
last modified time | relevance | path

Searched refs:jsonObject (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java82 public TestRunStartedEventInfo(JSONObject jsonObject) throws JSONException { in TestRunStartedEventInfo() argument
83 mRunName = jsonObject.getString(RUNNAME_KEY); in TestRunStartedEventInfo()
84 mTestCount = jsonObject.getInt(TESTCOUNT_KEY); in TestRunStartedEventInfo()
85 mAttempt = jsonObject.optInt(ATTEMPT_KEY, 0); in TestRunStartedEventInfo()
118 public TestRunFailedEventInfo(JSONObject jsonObject) throws JSONException { in TestRunFailedEventInfo() argument
119 mReason = jsonObject.getString(REASON_KEY); in TestRunFailedEventInfo()
148 public TestRunEndedEventInfo(JSONObject jsonObject) throws JSONException { in TestRunEndedEventInfo() argument
149 mTime = jsonObject.getLong(TIME_KEY); in TestRunEndedEventInfo()
150 jsonObject.remove(TIME_KEY); in TestRunEndedEventInfo()
151 Iterator<?> i = jsonObject.keys(); in TestRunEndedEventInfo()
[all …]
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/
DClearcutClient.java256 String jsonObject = JsonFormat.printer().preservingProtoFieldNames().print(event); in sendToClearcut() local
257 outputStreamWriter.write(jsonObject.toString()); in sendToClearcut()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraPerformanceTest.java528 JSONObject jsonObject = new JSONObject(jsonString); in parse() local
533 (JSONArray) jsonObject.get(METHOD_JSON_KEY_MAP.get(testMethod)); in parse()