Home
last modified time | relevance | path

Searched defs:json (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Djsoncheckertest.cpp44 char* json = (char*)malloc(length + 1); in ReadFile() local
63 char* json = ReadFile(filename, length); in TEST() local
84 char* json = ReadFile(filename, length); in TEST() local
Dnamespacetest.cpp32 static const char json[] = "{\"hello\":\"world\",\"t\":true,\"f\":false,\"n\":null,\"i\":123,\"pi\"… variable
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/
DTmaLoaderUtils.java72 JSONObject json, K key, Map<String, E> enumMap, E fallback) { in getEnum()
79 static <T extends Enum> JSONArray getArray(JSONObject json, T key) { in getArray()
89 static <T extends Enum, U extends Enum> List<U> getEnumArray(JSONObject json, T key, in getEnumArray()
107 static <T extends Enum> String getString(JSONObject json, T key) { in getString()
117 static <T extends Enum> int getInt(JSONObject json, T key) { in getInt()
DTmaMediaEventReader.java78 TmaMediaEvent fromJson(@Nullable JSONObject json) { in fromJson()
DTmaMediaItemReader.java90 TmaMediaItem fromJson(@Nullable JSONObject json) { in fromJson()
/packages/apps/ThemePicker/src/com/android/customization/model/clock/
DClockManager.java50 final JSONObject json = new JSONObject(); in handleApply() local
72 final JSONObject json = new JSONObject(value); in lookUpCurrentClock() local
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DSimpleBackupSharedPreference.java58 final JSONObject json = new JSONObject(); in toJson() local
73 public static BackupSharedPreference fromJson(final JSONObject json) throws JSONException { in fromJson()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DListParams.java91 JSONObject json = new JSONObject(); in serialize() local
112 JSONObject json = null; in newinstance() local
DSettings.java203 private Settings(JSONObject json) { in Settings()
238 final JSONObject json = toJSON(); in serialize() local
252 final JSONObject json = new JSONObject(); in toJSON() local
327 public static Settings newInstance(JSONObject json) { in newInstance()
DReplyFromAccount.java65 JSONObject json = new JSONObject(); in serialize() local
79 public static ReplyFromAccount deserialize(Account account, JSONObject json) { in deserialize()
DAccount.java263 JSONObject json = new JSONObject(); in serialize() local
315 public Account buildFrom(JSONObject json) throws JSONException { in buildFrom()
360 final JSONObject json = new JSONObject(serializedAccount); in newInstance() local
378 protected Account(JSONObject json) throws JSONException { in Account()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/
Dsimpledom.cpp13 const char* json = "{\"project\":\"rapidjson\",\"stars\":10}"; in main() local
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/
DAccountTests.java63 final JSONObject json = new JSONObject(); in testDeserializeNullSenderNameUsingJSON() local
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DAccountTest.java29 final JSONObject json = new JSONObject(); in testDeserializeFromJSON() local
DHostAuthTests.java224 final JSONObject json = new JSONObject(); in testDeserializeFromJSON() local
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DJsonBackedSuggestionExtras.java36 public JsonBackedSuggestionExtras(String json) throws JSONException { in JsonBackedSuggestionExtras()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DCredential.java174 final JSONObject json = new JSONObject(); in toJson() local
186 protected static Credential fromJson(final JSONObject json) { in fromJson()
DAccount.java757 final JSONObject json = toJson(); in toJsonString() local
766 final JSONObject json = new JSONObject(); in toJson() local
791 final JSONObject json = new JSONObject(jsonString); in fromJsonString() local
799 protected static Account fromJson(final JSONObject json) { in fromJson()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/
Dtutorial.cpp15 …const char json[] = " { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":12… in main() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java458 private void writeCacheFile(String json) throws IOException { in writeCacheFile()
466 String json = new BufferedReader(new InputStreamReader(fis)).lines() in readCacheFile() local
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplereader/
Dsimplereader.cpp30 …const char json[] = " { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":12… in main() local
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DFilterStackSource.java147 String json = new String(b); in getAllUserPresets() local
/packages/apps/Test/connectivity/sl4n/rapidjson/example/messagereader/
Dmessagereader.cpp66 void ParseMessages(const char* json, MessageMap& messages) { in ParseMessages()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearEstimateRecord.java52 WearEstimateRecord(@NonNull JSONObject json) throws JSONException { in WearEstimateRecord()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DEventReport.java185 JSONObject json = new JSONObject(); in toString() local

12