Searched refs:json (Results 1 - 25 of 32) sorted by relevance

12

/cts/libs/json/src/com/android/json/stream/
H A DJsonScope.java17 package com.android.json.stream;
H A DJsonToken.java17 package com.android.json.stream;
H A DJsonWriter.java17 package com.android.json.stream;
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
H A DExtraAssistDataActivity.java25 import org.json.JSONException;
26 import org.json.JSONObject;
/cts/libs/json/
H A DAndroid.mk34 LOCAL_MODULE := json
/cts/libs/vogar-expect/
H A DAndroid.mk36 LOCAL_STATIC_JAVA_LIBRARIES := guava json
/cts/tests/tests/util/src/android/util/cts/
H A DJsonReaderTest.java114 String json = "{\n" +
118 JsonReader reader = new JsonReader(new StringReader(json));
157 String json = "[\"a\","
177 JsonReader reader = new JsonReader(new StringReader(json));
211 String json = "[-0.0,"
226 JsonReader reader = new JsonReader(new StringReader(json));
247 String json = "["
255 JsonReader reader = new JsonReader(new StringReader(json));
281 String json = "[\"" + new String(pad) + "\",33333]";
282 JsonReader reader = new JsonReader(new StringReader(json));
938 testFailWithPosition(String message, String json) argument
[all...]
/cts/apps/CameraITS/pymodules/its/
H A Dtarget.py21 import json namespace
23 import json namespace
102 f.write(json.dumps({"exposure":exposure}))
112 o = json.load(f)
H A Ddevice.py20 import json namespace
239 jobj = json.loads(line)
260 self.sock.send(json.dumps(cmd) + "\n")
267 self.sock.send(json.dumps(cmd) + "\n")
290 self.sock.send(json.dumps(cmd) + "\n")
305 self.sock.send(json.dumps(cmd) + "\n")
333 self.sock.send(json.dumps(cmd) + "\n")
350 self.sock.send(json.dumps(cmd) + "\n")
364 self.sock.send(json.dumps(cmd) + "\n")
427 self.sock.send(json
[all...]
H A Dobjects.py19 import json namespace
/cts/common/host-side/util/src/com/android/compatibility/common/util/
H A DDynamicConfigHandler.java19 import org.json.JSONArray;
20 import org.json.JSONException;
21 import org.json.JSONObject;
22 import org.json.JSONTokener;
H A DReportLogHostInfoStore.java18 import com.android.json.stream.JsonWriter;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
H A DItsSerializer.java43 import org.json.JSONArray;
44 import org.json.JSONObject;
72 private static Object serializeRational(Rational rat) throws org.json.JSONException {
80 private static Object serializeSize(Size size) throws org.json.JSONException {
88 private static Object serializeSizeF(SizeF size) throws org.json.JSONException {
96 private static Object serializeRect(Rect rect) throws org.json.JSONException {
105 private static Object serializePoint(Point point) throws org.json.JSONException {
114 throws org.json.JSONException {
134 throws org.json.JSONException {
175 throws org.json
[all...]
H A DItsUtils.java34 import org.json.JSONArray;
35 import org.json.JSONObject;
79 } catch (org.json.JSONException e) {
91 } catch (org.json.JSONException e) {
H A DItsService.java63 import org.json.JSONArray;
64 import org.json.JSONObject;
385 } catch (org.json.JSONException e) {
593 } catch (org.json.JSONException e) {
623 } catch (org.json.JSONException e) {
671 } catch (org.json.JSONException e) {
733 } catch (org.json.JSONException e) {
814 } catch (org.json.JSONException e) {
1043 } catch (org.json.JSONException e) {
1064 } catch (org.json
[all...]
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
H A DCameraMetadataGetter.java53 import org.json.JSONArray;
54 import org.json.JSONObject;
248 private static Object serializeRational(Rational rat) throws org.json.JSONException {
256 private static Object serializeSize(Size size) throws org.json.JSONException {
264 private static Object serializeSizeF(SizeF size) throws org.json.JSONException {
272 private static Object serializeRect(Rect rect) throws org.json.JSONException {
281 private static Object serializePoint(Point point) throws org.json.JSONException {
290 throws org.json.JSONException {
304 throws org.json.JSONException {
332 throws org.json
[all...]
/cts/common/host-side/util/
H A DAndroid.mk23 LOCAL_JAVA_LIBRARIES := json-prebuilt tradefed-prebuilt
/cts/common/host-side/util/tests/
H A DAndroid.mk21 LOCAL_JAVA_LIBRARIES := compatibility-host-util junit json-prebuilt
/cts/tests/tests/assist/common/src/android/assist/common/
H A DUtils.java22 import org.json.JSONException;
23 import org.json.JSONObject;
/cts/tests/tests/graphics/src/android/graphics/cts/
H A DVulkanFeaturesTest.java25 import org.json.JSONArray;
26 import org.json.JSONException;
27 import org.json.JSONObject;
/cts/apps/CameraITS/tests/sensor_fusion/
H A Dtest_sensor_fusion.py25 import json namespace
317 events = json.loads(f.read())
376 f.write(json.dumps(events))
/cts/tests/tests/media/src/android/media/cts/
H A DClearKeySystemTest.java48 import org.json.JSONArray;
49 import org.json.JSONException;
50 import org.json.JSONObject;
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
H A DDynamicConfigPusher.java34 import org.json.JSONException;
110 "Cannot download and parse json config from URL " + requestUrl);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
H A DRVCVXCheckAnalyzer.java39 import org.json.JSONObject;
40 import org.json.JSONException;
277 report.writeToFile(new File(mPath, "report.json"));
489 JSONObject json = new JSONObject(content);
490 frameWidth = json.getInt("width");
491 frameHeight = json.getInt("height");
492 fps = json.getDouble("frameRate");
493 fovWidth = json.getDouble("fovW")*Math.PI/180.0;
494 fovHeight = json.getDouble("fovH")*Math.PI/180.0;
784 VideoMetaInfo meta = new VideoMetaInfo(new File(mPath, "videometa.json"));
[all...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
H A DMockListener.java29 import org.json.JSONException;
30 import org.json.JSONObject;

Completed in 759 milliseconds

12