Home
last modified time | relevance | path

Searched refs:toJSONObject (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceBlob.java108 Field(Function<T, Object> toJSONObject, BiFunction<JSONObject, String, T> fromJSONObject) { in Field() argument
109 this.mToJSONObject = toJSONObject; in Field()
116 JSONObject toJSONObject() throws JSONException { in toJSONObject() method in CustomAudienceBlob.Field
289 json.put(name, field.toJSONObject().get(name)); in asJSONObject()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateHistogramContribution.java57 public JSONObject toJSONObject() throws JSONException { in toJSONObject() method in AggregateHistogramContribution
DAggregateReport.java292 jsonArray.put(contribution.toJSONObject()); in generateDebugPayload()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateHistogramContributionTest.java90 JSONObject jsonObj = contribution.toJSONObject(); in storesBucketAsStringInJson()