Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DWebAsset.java75 public String toJson() { in toJson() method in WebAsset
88 asset.append(toJson()); in toString()
98 return ((WebAsset) o).toJson().equals(toJson()); in equals()
103 return toJson().hashCode(); in hashCode()
108 return toJson().hashCode(); in lookupKey()
H A DAndroidAppAsset.java68 public String toJson() { in toJson() method in AndroidAppAsset
83 asset.append(toJson()); in toString()
93 return ((AndroidAppAsset) o).toJson().equals(toJson()); in equals()
98 return toJson().hashCode(); in hashCode()
H A DWebAssetMatcher.java34 return webAsset.toJson().equals(mQuery.toJson()); in matches()
H A DAbstractAsset.java54 public abstract String toJson(); in toJson() method in AbstractAsset
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DGestureRecorder.java42 public abstract String toJson(); in toJson() method in GestureRecorder.Gesture.Record
64 public String toJson() { in toJson() method in GestureRecorder.Gesture.MotionEventRecord
84 public String toJson() { in toJson() method in GestureRecorder.Gesture.TagRecord
120 public String toJson() { in toJson() method in GestureRecorder.Gesture
127 sb.append(r.toJson()); in toJson()
206 sb.append(g.toJson()); in toJsonLocked()
214 public String toJson() { in toJson() method in GestureRecorder
/aosp14/frameworks/base/services/core/java/com/android/server/rollback/
H A DRollbackStore.java191 json.put("packages", toJson(rollback.getPackages())); in rollbackInfoToJson()
393 private static JSONObject toJson(VersionedPackage pkg) throws JSONException { in toJson() method in RollbackStore
406 private static JSONObject toJson(PackageRollbackInfo info) throws JSONException { in toJson() method in RollbackStore
408 json.put("versionRolledBackFrom", toJson(info.getVersionRolledBackFrom())); in toJson()
409 json.put("versionRolledBackTo", toJson(info.getVersionRolledBackTo())); in toJson()
459 json.put(toJson(pkg)); in versionedPackagesToJson()
473 private static JSONArray toJson(List<PackageRollbackInfo> infos) throws JSONException { in toJson() method in RollbackStore
476 json.put(toJson(info)); in toJson()
/aosp14/frameworks/base/tools/split-select/
H A DTestRules.cpp77 const String8 expectedStr(expected.toJson()); in RulePredFormat()
78 const String8 actualStr(actual != NULL ? actual->toJson() : String8()); in RulePredFormat()
H A DRule.cpp42 String8 Rule::toJson(int indent) const { in toJson() function in split::Rule
126 str.append(subrules[i]->toJson(indent + 1)); in toJson()
H A DRule.h67 android::String8 toJson(int indent=0) const;
H A DRule_test.cpp71 std::string result(rule.toJson().string()); in TEST()
H A DMain.cpp103 masterRule->toJson(2).string()); in generate()
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationChannelGroup.java282 public JSONObject toJson() throws JSONException { in toJson() method in NotificationChannelGroup
H A DNotificationChannel.java1212 public JSONObject toJson() throws JSONException { in toJson() method in NotificationChannel
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DPreferencesHelper.java2398 channels.put(channel.toJson()); in dumpJson()
2403 groups.put(group.toJson()); in dumpJson()
/aosp14/frameworks/base/core/api/
H A Dsystem-current.txt991 method public org.json.JSONObject toJson() throws org.json.JSONException;
997 method public org.json.JSONObject toJson() throws org.json.JSONException;