Home
last modified time | relevance | path

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

/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DWebAsset.java73 public String toJson() { in toJson() method in WebAsset
86 asset.append(toJson()); in toString()
96 return ((WebAsset) o).toJson().equals(toJson()); in equals()
101 return toJson().hashCode(); in hashCode()
106 return toJson().hashCode(); in lookupKey()
DAndroidAppAsset.java65 public String toJson() { in toJson() method in AndroidAppAsset
79 asset.append(toJson()); in toString()
89 return ((AndroidAppAsset) o).toJson().equals(toJson()); in equals()
94 return toJson().hashCode(); in hashCode()
DWebAssetMatcher.java34 return webAsset.toJson().equals(mQuery.toJson()); in matches()
DAbstractAsset.java54 public abstract String toJson(); in toJson() method in AbstractAsset
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java43 public abstract String toJson(); in toJson() method in GestureRecorder.Gesture.Record
65 public String toJson() { in toJson() method in GestureRecorder.Gesture.MotionEventRecord
85 public String toJson() { in toJson() method in GestureRecorder.Gesture.TagRecord
121 public String toJson() { in toJson() method in GestureRecorder.Gesture
128 sb.append(r.toJson()); in toJson()
207 sb.append(g.toJson()); in toJsonLocked()
215 public String toJson() { in toJson() method in GestureRecorder
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java209 json.put("packages", toJson(rollback.getPackages())); in rollbackInfoToJson()
353 private static JSONObject toJson(VersionedPackage pkg) throws JSONException { in toJson() method in RollbackStore
366 private static JSONObject toJson(PackageRollbackInfo info) throws JSONException { in toJson() method in RollbackStore
368 json.put("versionRolledBackFrom", toJson(info.getVersionRolledBackFrom())); in toJson()
369 json.put("versionRolledBackTo", toJson(info.getVersionRolledBackTo())); in toJson()
422 json.put(toJson(pkg)); in versionedPackagesToJson()
436 private static JSONArray toJson(List<PackageRollbackInfo> infos) throws JSONException { in toJson() method in RollbackStore
439 json.put(toJson(info)); in toJson()
/frameworks/base/tools/split-select/
DTestRules.cpp77 const String8 expectedStr(expected.toJson()); in RulePredFormat()
78 const String8 actualStr(actual != NULL ? actual->toJson() : String8()); in RulePredFormat()
DRule.cpp42 String8 Rule::toJson(int indent) const { in toJson() function in split::Rule
126 str.append(subrules[i]->toJson(indent + 1)); in toJson()
DRule.h67 android::String8 toJson(int indent=0) const;
DRule_test.cpp71 std::string result(rule.toJson().string()); in TEST()
DMain.cpp103 masterRule->toJson(2).string()); in generate()
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DDirectStatementService.java278 failedSources.add(source.toJson()); in call()
282 failedSources.add(source.toJson()); in call()
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java265 public JSONObject toJson() throws JSONException { in toJson() method in NotificationChannelGroup
DNotificationChannel.java1054 public JSONObject toJson() throws JSONException { in toJson() method in NotificationChannel
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java2024 channels.put(channel.toJson()); in dumpJson()
2029 groups.put(group.toJson()); in dumpJson()
/frameworks/base/non-updatable-api/
Dsystem-current.txt657 method public org.json.JSONObject toJson() throws org.json.JSONException;
663 method public org.json.JSONObject toJson() throws org.json.JSONException;
/frameworks/base/api/
Dsystem-current.txt657 method public org.json.JSONObject toJson() throws org.json.JSONException;
663 method public org.json.JSONObject toJson() throws org.json.JSONException;
/frameworks/base/services/
Dart-profile29830 PLcom/android/server/rollback/RollbackStore;->toJson(Landroid/content/pm/VersionedPackage;)Lorg/jso…
29831 HPLcom/android/server/rollback/RollbackStore;->toJson(Landroid/content/rollback/PackageRollbackInfo…
29832 HPLcom/android/server/rollback/RollbackStore;->toJson(Ljava/util/List;)Lorg/json/JSONArray;