Home
last modified time | relevance | path

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

12

/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonRpcHandler.java55 return Sl4aErrors.JSON_RPC_REQUEST_NOT_JSON.toJson(JSONObject.NULL); in getResponse()
98 return Sl4aErrors.SESSION_INVALID.toJson(id, mSessionId); in getResponse()
102 return Sl4aErrors.JSON_RPC_UNKNOWN_RPC_METHOD.toJson(id, method); in getResponse()
109 return Sl4aErrors.JSON_RPC_FACADE_EXCEPTION_OCCURRED.toJson(id, t); in getResponse()
119 return Sl4aErrors.JSON_RPC_RESULT_NOT_JSON_VALID.toJson(id, e); in getResponse()
124 return Sl4aErrors.JSON_RPC_FAILED_TO_BUILD_RESULT.toJson(id, t); in getResponse()
146 return Sl4aErrors.JSON_RPC_MISSING_ID.toJson(id); in getValidationErrors()
151 return Sl4aErrors.JSON_RPC_MISSING_METHOD.toJson(id); in getValidationErrors()
153 return Sl4aErrors.JSON_RPC_METHOD_NOT_STRING.toJson(id); in getValidationErrors()
156 return Sl4aErrors.JSON_RPC_PARAMS_NOT_AN_ARRAY.toJson(id); in getValidationErrors()
/external/skqp/include/private/
DGrAuditTrail.h95 void toJson(SkJSONWriter& writer) const;
98 void toJson(SkJSONWriter& writer, int clientID) const;
128 void toJson(SkJSONWriter& writer) const;
142 void toJson(SkJSONWriter& writer) const;
/external/skia/src/gpu/
DGrAuditTrail.h95 void toJson(SkJSONWriter& writer) const;
98 void toJson(SkJSONWriter& writer, int clientID) const;
128 void toJson(SkJSONWriter& writer) const;
142 void toJson(SkJSONWriter& writer) const;
DGrAuditTrail.cpp146 array[i]->toJson(writer); in JsonifyTArray()
153 void GrAuditTrail::toJson(SkJSONWriter& writer) const { in toJson() function in GrAuditTrail
159 void GrAuditTrail::toJson(SkJSONWriter& writer, int clientID) const { in toJson() function in GrAuditTrail
177 void GrAuditTrail::Op::toJson(SkJSONWriter& writer) const { in toJson() function in GrAuditTrail::Op
194 void GrAuditTrail::OpNode::toJson(SkJSONWriter& writer) const { in toJson() function in GrAuditTrail::OpNode
/external/vogar/src/vogar/monitor/
DTargetMonitor.java69 writer.print(marker + gson.toJson(jsonObject) + "\n");
79 writer.print(marker + gson.toJson(jsonObject) + "\n");
89 writer.print(marker + gson.toJson(jsonObject) + "\n");
/external/skqp/src/gpu/
DGrAuditTrail.cpp146 array[i]->toJson(writer); in JsonifyTArray()
153 void GrAuditTrail::toJson(SkJSONWriter& writer) const { in toJson() function in GrAuditTrail
159 void GrAuditTrail::toJson(SkJSONWriter& writer, int clientID) const { in toJson() function in GrAuditTrail
177 void GrAuditTrail::Op::toJson(SkJSONWriter& writer) const { in toJson() function in GrAuditTrail::Op
194 void GrAuditTrail::OpNode::toJson(SkJSONWriter& writer) const { in toJson() function in GrAuditTrail::OpNode
/external/sl4a/Common/src/com/googlecode/android_scripting/
DSl4aErrors.java73 public JSONObject toJson(Object id) throws JSONException { in toJson() method in Sl4aErrors
84 public JSONObject toJson(Object id, Object details) throws JSONException { in toJson() method in Sl4aErrors
/external/autotest/frontend/client/test/autotest/moblab/rpc/
DCloudStorageInfoTest.java11 JSONObject jsonInfo = info.toJson(); in testSerialization()
24 jsonInfo = info.toJson(); in testSerialization()
DNetworkInfoTest.java13 JSONObject jsonInfo = info.toJson(); in testSerialization()
27 jsonInfo = info.toJson(); in testSerialization()
/external/libchrome/base/android/java/src/org/chromium/base/metrics/
DStatisticsRecorderAndroid.java22 public static String toJson(@JSONVerbosityLevel int verbosityLevel) { in toJson() method in StatisticsRecorderAndroid
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DSnapshot.kt17 fun toJson(): JsonElement = JsonObject().apply { in <lambda>() method
/external/autotest/frontend/client/src/autotest/moblab/rpc/
DJsonRpcEntity.java12 public abstract JSONObject toJson(); in toJson() method in JsonRpcEntity
DConnectedBoard.java38 public JSONObject toJson() { in toJson() method in ConnectedBoard
DOperationStatus.java51 public JSONObject toJson() { in toJson() method in OperationStatus
DWifiInfo.java66 public JSONObject toJson() { in toJson() method in WifiInfo
DConnectedDutInfo.java54 public JSONObject toJson() { in toJson() method in ConnectedDutInfo
DNetworkInfo.java65 public JSONObject toJson() { in toJson() method in NetworkInfo
DCloudStorageInfo.java99 public JSONObject toJson() { in toJson() method in CloudStorageInfo
DVersionInfo.java152 public JSONObject toJson() { in toJson() method in VersionInfo
/external/autotest/frontend/client/src/autotest/moblab/wizard/
DWifiCard.java96 map.put(MoblabRpcHelper.RPC_PARAM_WIFI_INFO, wifiInfo.toJson()); in collectConfigData()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/
DJavadocJsonGenerator.java63 gson.toJson(object, writer); in writeJson()
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DRequestBodyCompression.java51 MEDIA_TYPE_JSON, new Gson().toJson(requestBody)); in run()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DOutputFileDumper.java112 gson.toJson(trial, Trial.class, writer.get()); in processTrial()
DResultsUploader.java103 resource.type(APPLICATION_JSON_TYPE).post(gson.toJson(ImmutableList.of(trial))); in processTrial()
/external/skia/tools/viewer/
DParticlesSlide.cpp269 SkToJsonVisitor toJson(writer); in draw() local
271 effect.fParams->visitFields(&toJson); in draw()

12