Home
last modified time | relevance | path

Searched defs:json (Results 1 – 21 of 21) 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.java174 private static @NonNull SparseIntArray extensionVersionsFromJson(JSONArray json) in extensionVersionsFromJson()
189 JSONObject json = new JSONObject(); in rollbackInfoToJson() local
198 private static RollbackInfo rollbackInfoFromJson(JSONObject json) throws JSONException { in rollbackInfoFromJson()
394 JSONObject json = new JSONObject(); in toJson() local
400 private static VersionedPackage versionedPackageFromJson(JSONObject json) throws JSONException { in versionedPackageFromJson()
407 JSONObject json = new JSONObject(); in toJson() local
428 private static PackageRollbackInfo packageRollbackInfoFromJson(JSONObject json) in packageRollbackInfoFromJson()
457 JSONArray json = new JSONArray(); in versionedPackagesToJson() local
464 private static List<VersionedPackage> versionedPackagesFromJson(JSONArray json) in versionedPackagesFromJson()
474 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/shared/src/com/android/systemui/flags/
DFlagSerializer.kt56 val json = JSONObject(data) in fromSettingsData() 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/cmds/uinput/src/com/android/commands/uinput/
DDevice.java203 final JSONObject json = new JSONObject(); in handleSyncEvent() local
240 final JSONObject json = new JSONObject(); in onDeviceVibrating() local
259 private void writeOutputObject(JSONObject json) { in writeOutputObject()
/frameworks/base/services/core/java/com/android/server/
DDiskStatsService.java210 JSONObject json = new JSONObject(jsonString); in reportCachedValues() local
245 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.cc1416 template <typename T> bool VkTypeFromJson(const std::string& json, in VkTypeFromJson()
1436 bool VkJsonInstanceFromJson(const std::string& json, in VkJsonInstanceFromJson()
1446 bool VkJsonDeviceFromJson(const std::string& json, in VkJsonDeviceFromJson()
1457 bool VkJsonImageFormatPropertiesFromJson(const std::string& json, in VkJsonImageFormatPropertiesFromJson()
Dvkjson.h189 inline bool VkJsonAllPropertiesFromJson(const std::string& json, in VkJsonAllPropertiesFromJson()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DClockRegistry.kt334 val json = in querySettings() constant
363 val json = ClockSettings.serialize(value) in applySettings() constant
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DClockProviderPlugin.kt258 val json = JSONObject(jsonStr) in deserialize() constant
/frameworks/av/media/libnblog/
DMerger.cpp232 bool pa = false, json = false, plots = false, retro = false; in dump() local
/frameworks/native/services/gpuservice/
DGpuService.cpp228 std::string json = VkJsonInstanceToJson(VkJsonGetInstance()); in vkjsonPrint() local
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DDevice.java260 JSONObject json = new JSONObject(); in sendReportOutput() local
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/
DDataConverter.kt707 val json = JSONObject(requestJson) in newRequestDisplayInfoFromPasskeyJson() constant