Home
last modified time | relevance | path

Searched defs:json (Results 1 – 25 of 31) 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
Dprettywritertest.cpp154 char* json = (char*)malloc(size + 1); in TEST() local
Dwritertest.cpp37 #define TEST_ROUNDTRIP(json) \ argument
111 …const char json[] = "{\"hello\":\"world\",\"t\":true,\"f\":false,\"n\":null,\"i\":123,\"pi\":3.141… in TEST() local
Ddocumenttest.cpp74 …const char* json = " { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123… in ParseTest() local
293 GenericDocument< UTF16<> > json; in TEST() local
Dreadertest.cpp714 char *json = StrDup("[ ] "); in TEST() local
724 char *json = StrDup("[1, 2, 3, 4]"); in TEST() local
798 …const char* json = "{ \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123,… in TEST() local
1009 …const char* json = "{ \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123,… in TEST() local
1050 const char* json = "[1,2,3,4]"; in TEST() local
1324 #define TEST_TERMINATION(e, json)\ argument
/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.java85 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/Test/connectivity/sl4n/rapidjson/example/simpledom/
Dsimpledom.cpp13 const char* json = "{\"project\":\"rapidjson\",\"stars\":10}"; in main() local
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DJsonBackedSuggestionExtras.java36 public JsonBackedSuggestionExtras(String json) throws JSONException { in JsonBackedSuggestionExtras()
/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.java482 private void writeCacheFile(String json) throws IOException { in writeCacheFile()
490 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
DUserPresetsManager.java85 String json; field in UserPresetsManager.SaveOperation
/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
DBmessage.java148 JSONObject json = new JSONObject(); in toString() local
DMessage.java169 JSONObject json = new JSONObject(); in toString() local
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java219 JSONObject json = new JSONObject(mPackagesByCategory); in getJsonPackages() local
232 private void removeNullValues(JSONObject json) { in removeNullValues()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java283 JSONObject json = new JSONObject(); in testLoadContactReturnDirectoryContactWithoutDisplayName() local
/packages/services/Car/tools/emulator/
Dobd2_to_diagjson.py147 def fromJson(cls, json): argument

12