Home
last modified time | relevance | path

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

/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DViewerConfigParserTest.kt33 val json = """ in parseMessage() constant
48 val json = """ in parseMessage_reorder() constant
63 val json = """ in parseMessage_unknownEntry() constant
79 val json = """ in parseMessage_noMessage() constant
90 val json = """ in parseMessage_noLevel() constant
101 val json = """ in parseMessage_noGroup() constant
112 val json = """ in parseGroup() constant
123 val json = """ in parseGroup_unknownEntry() constant
135 val json = """ in parseGroup_noTag() constant
144 val json = """ in parseMessages() constant
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/signedconfig/
DSignedConfigTest.java69 JSONObject json = new JSONObject("{\"min_sdk\":2, \"max_sdk\": 3, \"values\": {}}"); in testParsePerSdkConfigSdkMinMax() local
78 JSONObject json = new JSONObject("{\"max_sdk\": 3, \"values\": {}}"); in testParsePerSdkConfigNoMinSdk() local
89 JSONObject json = new JSONObject("{\"min_sdk\": 1, \"values\": {}}"); in testParsePerSdkConfigNoMaxSdk() local
100 JSONObject json = new JSONObject("{\"min_sdk\": 1, \"max_sdk\": 3}"); in testParsePerSdkConfigNoValues() local
111 JSONObject json = new JSONObject("{\"min_sdk\":null, \"max_sdk\": 3, \"values\": {}}"); in testParsePerSdkConfigSdkNullMinSdk() local
122 JSONObject json = new JSONObject("{\"min_sdk\":1, \"max_sdk\": null, \"values\": {}}"); in testParsePerSdkConfigSdkNullMaxSdk() local
133 JSONObject json = new JSONObject("{\"min_sdk\": 1, \"max_sdk\": 3, \"values\": null}"); in testParsePerSdkConfigNullValues() local
145 JSONObject json = new JSONObject("{\"min_sdk\": 1, \"max_sdk\": 3, \"values\": {}}"); in testParsePerSdkConfigZeroValues() local
154 JSONObject json = new JSONObject( in testParsePerSdkConfigSingleKey() local
164 JSONObject json = new JSONObject( in testParsePerSdkConfigSingleKeyNullValue() local
[all …]
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java175 private static @NonNull SparseIntArray extensionVersionsFromJson(JSONArray json) in extensionVersionsFromJson()
190 JSONObject json = new JSONObject(); in rollbackInfoToJson() local
199 private static RollbackInfo rollbackInfoFromJson(JSONObject json) throws JSONException { in rollbackInfoFromJson()
393 JSONObject json = new JSONObject(); in toJson() local
399 private static VersionedPackage versionedPackageFromJson(JSONObject json) throws JSONException { in versionedPackageFromJson()
406 JSONObject json = new JSONObject(); in toJson() local
427 private static PackageRollbackInfo packageRollbackInfoFromJson(JSONObject json) in packageRollbackInfoFromJson()
456 JSONArray json = new JSONArray(); in versionedPackagesToJson() local
463 private static List<VersionedPackage> versionedPackagesFromJson(JSONArray json) in versionedPackagesFromJson()
473 JSONArray json = new JSONArray(); in toJson() local
[all …]
/frameworks/base/tools/bit/
Dmake.cpp91 Json::Value json; in BuildVars() local
138 Json::Value json(Json::objectValue); in save() local
183 get_values(const Json::Value& json, const string& name, vector<string>* result) in get_values()
215 Json::Value json; in read_modules() local
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java103 JSONObject json = getJsonOutput(); in testEmptyLog() local
145 JSONObject json = getJsonOutput(); in testPopulatedLogTask() local
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DSettingsWrapper.java83 JSONObject json; in decode() local
127 JSONObject json = new JSONObject(); in migrate() local
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DSettingsWrapperTest.kt65 val json: JSONObject = JSONObject() in testDecodeJSON() constant
78 val json: JSONObject = JSONObject() in testDecodeJSONWithoutClockField() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTileStatePersister.kt94 val json = JSONObject(stateString) in readTileFromString() constant
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsFileLogger.java98 JSONObject json = new JSONObject(); in getJsonRepresentation() local
116 private void addAppsToJson(JSONObject json) throws JSONException { in addAppsToJson()
/frameworks/base/services/core/java/com/android/server/signedconfig/
DSignedConfig.java128 JSONObject json = new JSONObject(config); in parse() local
154 static PerSdkConfig parsePerSdkConfig(JSONObject json, Set<String> allowedKeys, in parsePerSdkConfig()
/frameworks/base/services/core/java/com/android/server/
DDiskStatsService.java212 JSONObject json = new JSONObject(jsonString); in reportCachedValues() local
247 JSONObject json = new JSONObject(jsonString); in reportCachedValuesProto() local
/frameworks/base/core/java/com/android/internal/protolog/
DProtoLogViewerConfigReader.java90 JSONObject json = new JSONObject(builder.toString()); in loadViewerConfig() local
/frameworks/base/services/core/java/com/android/server/updates/
DCertificateTransparencyLogInstallReceiver.java101 JSONObject json = new JSONObject(new String(content, StandardCharsets.UTF_8)); in install() local
/frameworks/native/vulkan/vkjson/
Dvkjson.cc1198 template <typename T> bool VkTypeFromJson(const std::string& json, in VkTypeFromJson()
1218 bool VkJsonInstanceFromJson(const std::string& json, in VkJsonInstanceFromJson()
1228 bool VkJsonDeviceFromJson(const std::string& json, in VkJsonDeviceFromJson()
1239 bool VkJsonImageFormatPropertiesFromJson(const std::string& json, in VkJsonImageFormatPropertiesFromJson()
Dvkjson.h183 inline bool VkJsonAllPropertiesFromJson(const std::string& json, in VkJsonAllPropertiesFromJson()
/frameworks/native/services/gpuservice/
DGpuService.cpp176 std::string json = VkJsonInstanceToJson(VkJsonGetInstance()); in vkjsonPrint() local
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DDevice.java209 JSONObject json = new JSONObject(); in onDeviceVibrating() local
/frameworks/av/media/libnblog/
DMerger.cpp232 bool pa = false, json = false, plots = false, retro = false; in dump() local
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DDevice.java204 JSONObject json = new JSONObject(); in sendReportOutput() local