/cts/tests/tests/util/src/android/util/cts/ |
D | JsonReaderTest.java | 128 String json = "{\n" + in testHelloWorld() local 132 JsonReader reader = new JsonReader(new StringReader(json)); in testHelloWorld() 166 String json = "[\"a\"," in testCharacterUnescaping() local 186 JsonReader reader = new JsonReader(new StringReader(json)); in testCharacterUnescaping() 222 String json = "[-0.0," in testDoubles() local 237 JsonReader reader = new JsonReader(new StringReader(json)); in testDoubles() 259 String json = "[" in testLenientDoubles() local 267 JsonReader reader = new JsonReader(new StringReader(json)); in testLenientDoubles() 294 String json = "[\"" + new String(pad) + "\",33333]"; in testBufferBoundary() local 295 JsonReader reader = new JsonReader(new StringReader(json)); in testBufferBoundary() [all …]
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 53 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/ |
D | ItsSerializer.java | 43 import org.json.JSONArray; 44 import org.json.JSONObject; 73 private static Object serializeRational(Rational rat) throws org.json.JSONException { in serializeRational() 81 private static Object serializeSize(Size size) throws org.json.JSONException { in serializeSize() 89 private static Object serializeSizeF(SizeF size) throws org.json.JSONException { in serializeSizeF() 97 private static Object serializeRect(Rect rect) throws org.json.JSONException { in serializeRect() 106 private static Object serializePoint(Point point) throws org.json.JSONException { in serializePoint() 115 throws org.json.JSONException { in serializeFace() 135 throws org.json.JSONException { in serializeStreamConfigurationMap() 176 throws org.json.JSONException { in serializeMeteringRectangle() [all …]
|
D | ItsUtils.java | 35 import org.json.JSONArray; 36 import org.json.JSONObject; 80 } catch (org.json.JSONException e) { in getJsonWeightedRectsFromArray() 92 } catch (org.json.JSONException e) { in getOutputSpecs()
|
D | ItsService.java | 69 import org.json.JSONArray; 70 import org.json.JSONObject; 449 } catch (org.json.JSONException e) { in run() 675 } catch (org.json.JSONException e) { in processSocketCommand() 705 } catch (org.json.JSONException e) { in sendResponse() 753 } catch (org.json.JSONException e) { in sendResponse() 825 } catch (org.json.JSONException e) { in sendResponseCaptureResult() 882 } catch (org.json.JSONException e) { 920 } catch (org.json.JSONException e) { 952 } catch (org.json.JSONException e) { [all …]
|
D | ItsTestActivity.java | 55 import org.json.JSONArray; 56 import org.json.JSONObject; 249 } catch (org.json.JSONException e) { in onReceive()
|
/cts/apps/CameraITS/pymodules/its/ |
D | target.py | 21 import json 23 import json 101 f.write(json.dumps({"exposure":exposure})) 111 o = json.load(f)
|
D | device.py | 20 import json 247 jobj = json.loads(line) 268 self.sock.send(json.dumps(cmd) + "\n") 275 self.sock.send(json.dumps(cmd) + "\n") 298 self.sock.send(json.dumps(cmd) + "\n") 311 self.sock.send(json.dumps(cmd) + "\n") 327 self.sock.send(json.dumps(cmd) + "\n") 355 self.sock.send(json.dumps(cmd) + "\n") 372 self.sock.send(json.dumps(cmd) + "\n") 386 self.sock.send(json.dumps(cmd) + "\n") [all …]
|
D | objects.py | 19 import json
|
/cts/hostsidetests/seccomp/app/ |
D | gen_blacklist.py | 16 import json 168 json.dump(allowed, f, sort_keys=True, indent=2) 172 json.dump(blocked, f, sort_keys=True, indent=2)
|
/cts/libs/json/src/com/android/json/stream/ |
D | JsonScope.java | 17 package com.android.json.stream;
|
D | JsonToken.java | 17 package com.android.json.stream;
|
/cts/apps/CameraITS/ |
D | .gitignore | 3 *.json
|
/cts/libs/json/ |
D | Android.mk | 34 LOCAL_MODULE := json
|
/cts/libs/vogar-expect/ |
D | Android.mk | 37 LOCAL_STATIC_JAVA_LIBRARIES := guava json
|
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
D | SeccompDeviceTest.java | 28 import org.json.JSONObject; 29 import org.json.JSONException;
|
/cts/tools/cts-media/ |
D | get_achievable_rates.py | 17 import argparse, json, math, re, sys, zipfile 305 def parse_json(self, json, device, build): argument 306 for test, results in json: 334 jsonData = json.load(jsonFile, encoding='utf-8') 341 jsonData = json.load(jsonFile, encoding='utf-8', object_pairs_hook=lambda items: items)
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanFeaturesTest.java | 31 import org.json.JSONArray; 32 import org.json.JSONException; 33 import org.json.JSONObject;
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | DummyGalProvider.java | 33 import org.json.JSONException; 34 import org.json.JSONObject;
|
D | ContactsContract_DirectoryTest.java | 31 import org.json.JSONObject;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockListener.java | 26 import org.json.JSONException; 27 import org.json.JSONObject;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckAnalyzer.java | 39 import org.json.JSONObject; 40 import org.json.JSONException; 489 JSONObject json = new JSONObject(content); in VideoMetaInfo() local 490 frameWidth = json.getInt("width"); in VideoMetaInfo() 491 frameHeight = json.getInt("height"); in VideoMetaInfo() 492 fps = json.getDouble("frameRate"); in VideoMetaInfo() 493 fovWidth = json.getDouble("fovW")*Math.PI/180.0; in VideoMetaInfo() 494 fovHeight = json.getDouble("fovH")*Math.PI/180.0; in VideoMetaInfo()
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_sensor_fusion.py | 16 import json 403 events = json.loads(f.read()) 475 f.write(json.dumps(events))
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
D | Utils.java | 22 import org.json.JSONObject;
|
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
D | DeviceReportTest.java | 29 import org.json.JSONObject;
|