Home
last modified time | relevance | path

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

/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DFallbackDetails.java68 JSONObject jsonObject = new JSONObject(); in asJsonObject() local
70 jsonObject.put( in asJsonObject()
73 jsonObject.put("fallbackOutputHeight", fallbackOutputHeight); in asJsonObject()
76 jsonObject.put( in asJsonObject()
79 jsonObject.put("fallbackAudioMimeType", fallbackAudioMimeType); in asJsonObject()
82 jsonObject.put( in asJsonObject()
85 jsonObject.put("fallbackVideoMimeType", fallbackVideoMimeType); in asJsonObject()
88 jsonObject.put("originalHdrMode", originalHdrMode); in asJsonObject()
89 jsonObject.put("fallbackHdrMode", fallbackHdrMode); in asJsonObject()
91 return jsonObject; in asJsonObject()
DExportTestResult.java164 JSONObject jsonObject = in asJsonObject() local
172 jsonObject.put("elapsedTimeMs", elapsedTimeMs); in asJsonObject()
175 jsonObject.put("ssim", ssim); in asJsonObject()
178 jsonObject.put("throughputFps", throughputFps); in asJsonObject()
180 return jsonObject; in asJsonObject()
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DDeviceReportTest.java136 JSONObject jsonObject = new JSONObject(metrics); in testFile() local
138 jsonObject.getJSONObject(STREAM_NAME_1).getDouble(TEST_MESSAGE_1) == TEST_VALUE_1); in testFile()
140 jsonObject.getJSONObject(STREAM_NAME_2).getDouble(TEST_MESSAGE_2) == TEST_VALUE_2); in testFile()
148 jsonObject = new JSONObject(metrics); in testFile()
150 jsonObject.getJSONObject(STREAM_NAME_3).getDouble(TEST_MESSAGE_3) == TEST_VALUE_3); in testFile()
152 jsonObject.getJSONObject(STREAM_NAME_4).getDouble(TEST_MESSAGE_4) == TEST_VALUE_4); in testFile()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DCtsVerifierReportLog.java95 JSONObject jsonObject; in submit() local
99 jsonObject = new JSONObject(content); in submit()
101 jsonObject = new JSONObject(); in submit()
104 jsonObject.put(mStreamName, mCurrentJson); in submit()
106 String newString = jsonObject.toString(2); in submit()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioLoopbackLatencyActivity.java354 void addToJson(JSONObject jsonObject) { in addToJson() argument
356 jsonObject.put( in addToJson()
360 jsonObject.put( in addToJson()
364 jsonObject.put( in addToJson()
368 jsonObject.put( in addToJson()
372 jsonObject.put( in addToJson()
376 jsonObject.put( in addToJson()
380 jsonObject.put( in addToJson()
384 jsonObject.put( in addToJson()
388 jsonObject.put( in addToJson()
[all …]