Home
last modified time | relevance | path

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

/cts/tests/tests/util/src/android/util/cts/
DJsonReaderTest.java114 String json = "{\n" + in testHelloWorld() local
118 JsonReader reader = new JsonReader(new StringReader(json)); in testHelloWorld()
157 String json = "[\"a\"," in testCharacterUnescaping() local
177 JsonReader reader = new JsonReader(new StringReader(json)); in testCharacterUnescaping()
211 String json = "[-0.0," in testDoubles() local
226 JsonReader reader = new JsonReader(new StringReader(json)); in testDoubles()
247 String json = "[" in testLenientDoubles() local
255 JsonReader reader = new JsonReader(new StringReader(json)); in testLenientDoubles()
281 String json = "[\"" + new String(pad) + "\",33333]"; in testBufferBoundary() local
282 JsonReader reader = new JsonReader(new StringReader(json)); in testBufferBoundary()
[all …]
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java53 import org.json.JSONArray;
54 import org.json.JSONObject;
248 private static Object serializeRational(Rational rat) throws org.json.JSONException { in serializeRational()
256 private static Object serializeSize(Size size) throws org.json.JSONException { in serializeSize()
264 private static Object serializeSizeF(SizeF size) throws org.json.JSONException { in serializeSizeF()
272 private static Object serializeRect(Rect rect) throws org.json.JSONException { in serializeRect()
281 private static Object serializePoint(Point point) throws org.json.JSONException { in serializePoint()
290 throws org.json.JSONException { in serializeFace()
304 throws org.json.JSONException { in serializeStreamConfigurationMap()
332 throws org.json.JSONException { in serializeMeteringRectangle()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java43 import org.json.JSONArray;
44 import org.json.JSONObject;
72 private static Object serializeRational(Rational rat) throws org.json.JSONException { in serializeRational()
80 private static Object serializeSize(Size size) throws org.json.JSONException { in serializeSize()
88 private static Object serializeSizeF(SizeF size) throws org.json.JSONException { in serializeSizeF()
96 private static Object serializeRect(Rect rect) throws org.json.JSONException { in serializeRect()
105 private static Object serializePoint(Point point) throws org.json.JSONException { in serializePoint()
114 throws org.json.JSONException { in serializeFace()
134 throws org.json.JSONException { in serializeStreamConfigurationMap()
175 throws org.json.JSONException { in serializeMeteringRectangle()
[all …]
DItsUtils.java34 import org.json.JSONArray;
35 import org.json.JSONObject;
77 } catch (org.json.JSONException e) { in getJsonWeightedRectsFromArray()
89 } catch (org.json.JSONException e) { in getOutputSpecs()
DItsService.java59 import org.json.JSONArray;
60 import org.json.JSONObject;
365 } catch (org.json.JSONException e) { in run()
562 } catch (org.json.JSONException e) { in processSocketCommand()
591 } catch (org.json.JSONException e) { in sendResponse()
638 } catch (org.json.JSONException e) { in sendResponse()
690 } catch (org.json.JSONException e) { in sendResponseCaptureResult()
771 } catch (org.json.JSONException e) {
1000 } catch (org.json.JSONException e) {
1021 } catch (org.json.JSONException e) {
[all …]
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
DExtraAssistDataActivity.java25 import org.json.JSONException;
26 import org.json.JSONObject;
/cts/apps/CameraITS/pymodules/its/
Ddevice.py20 import json
226 jobj = json.loads(line)
247 self.sock.send(json.dumps(cmd) + "\n")
254 self.sock.send(json.dumps(cmd) + "\n")
277 self.sock.send(json.dumps(cmd) + "\n")
292 self.sock.send(json.dumps(cmd) + "\n")
320 self.sock.send(json.dumps(cmd) + "\n")
334 self.sock.send(json.dumps(cmd) + "\n")
348 self.sock.send(json.dumps(cmd) + "\n")
410 self.sock.send(json.dumps(cmd) + "\n")
[all …]
Dtarget.py21 import json
23 import json
102 f.write(json.dumps({"exposure":exposure}))
112 o = json.load(f)
Dobjects.py19 import json
/cts/libs/json/src/com/android/json/stream/
DJsonScope.java17 package com.android.json.stream;
DJsonToken.java17 package com.android.json.stream;
DJsonWriter.java17 package com.android.json.stream;
DJsonReader.java17 package com.android.json.stream;
/cts/apps/CameraITS/
D.gitignore3 *.json
/cts/tests/tests/assist/common/src/android/assist/common/
DUtils.java22 import org.json.JSONException;
23 import org.json.JSONObject;
/cts/tests/tests/media/src/android/media/cts/
DClearKeySystemTest.java48 import org.json.JSONArray;
49 import org.json.JSONException;
50 import org.json.JSONObject;
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DStaticMetadataCollectionTest.java28 import org.json.JSONArray;
29 import org.json.JSONObject;
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py24 import json
310 events = json.loads(f.read())
359 f.write(json.dumps(events))
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java39 import org.json.JSONObject;
40 import org.json.JSONException;
482 JSONObject json = new JSONObject(content); in VideoMetaInfo() local
483 frameWidth = json.getInt("width"); in VideoMetaInfo()
484 frameHeight = json.getInt("height"); in VideoMetaInfo()
485 fps = json.getDouble("frameRate"); in VideoMetaInfo()
486 fovWidth = json.getDouble("fovW")*Math.PI/180.0; in VideoMetaInfo()
487 fovHeight = json.getDouble("fovH")*Math.PI/180.0; in VideoMetaInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java29 import org.json.JSONException;
30 import org.json.JSONObject;
DNotificationListenerVerifierActivity.java29 import org.json.JSONException;
30 import org.json.JSONObject;
DAttentionManagementVerifierActivity.java38 import org.json.JSONException;
39 import org.json.JSONObject;
/cts/libs/vogar-expect/src/vogar/
DExpectationStore.java21 import com.android.json.stream.JsonReader;
/cts/tools/dex-tools/dex/
Dclasses0.out.dex107549 public class org.json.JSONArray extends java.lang.Object
107557 @dalvik.annotation.Throws (value =Lorg/json/JSONException; )
107563 @dalvik.annotation.Throws (value =Lorg/json/JSONException; )
107565 org.json.JSONTokener)
107569 @dalvik.annotation.Throws (value =Lorg/json/JSONException; )
107572 @dalvik.annotation.Throws (value =Lorg/json/JSONException; )
107575 @dalvik.annotation.Throws (value =Lorg/json/JSONException; )
107578 @dalvik.annotation.Throws (value =Lorg/json/JSONException; )
107581 @dalvik.annotation.Throws (value =Lorg/json/JSONException; )
107582 public org.json.JSONArray getJSONArray(
[all …]
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Djquery.js7151 json: "application/json, text/javascript", property
7158 json: /json/ property