Home
last modified time | relevance | path

Searched defs:json (Results 1 – 25 of 34) 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
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
Dprettywritertest.cpp154 char* json = (char*)malloc(size + 1); 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
/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.java84 TmaMediaEvent fromJson(@Nullable JSONObject json) { in fromJson()
DTmaMediaItemReader.java92 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/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSensorMetadata.java121 static SensorMetadata buildFromJson(JSONObject json) { in buildFromJson()
156 private static String readStringFromJSON(String key, JSONObject json) { in readStringFromJSON()
176 private static float readFloatFromJSON(String key, JSONObject json) throws JSONException { in readFloatFromJSON()
199 private static Map<Integer, String> readMappingFromJSON(String key, JSONObject json) in readMappingFromJSON()
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/model/clock/
DClockManagerTest.java80 JSONObject json = in testApply() local
99 JSONObject json = new JSONObject().put(CLOCK_FIELD, CLOCK_ID); in testGetCurrentClock_returnsClockId() local
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/
Dsimpledom.cpp13 const char* json = "{\"project\":\"rapidjson\",\"stars\":10}"; in main() local
/packages/modules/NeuralNetworks/tools/systrace_parser/
Dparse_systrace.py24 def produce_stats(trace, print_detail=False, total_times=False, per_execution=False, json=False): argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DJsonBackedSuggestionExtras.java36 public JsonBackedSuggestionExtras(String json) throws JSONException { in JsonBackedSuggestionExtras()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java480 private void writeCacheFile(String json) throws IOException { in writeCacheFile()
488 String json = new BufferedReader(new InputStreamReader(fis)).lines() in readCacheFile() local
/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/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.java193 JSONObject json = new JSONObject(mPackagesByCategory); in getJsonPackages() local
206 private void removeNullValues(JSONObject json) { in removeNullValues()

12