Home
last modified time | relevance | path

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

/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.java164 private static @NonNull SparseLongArray ceSnapshotInodesFromJson(JSONArray json) in ceSnapshotInodesFromJson()
175 JSONObject json = new JSONObject(); in rollbackInfoToJson() local
184 private static RollbackInfo rollbackInfoFromJson(JSONObject json) throws JSONException { in rollbackInfoFromJson()
303 JSONObject json = new JSONObject(); in toJson() local
309 private static VersionedPackage versionedPackageFromJson(JSONObject json) throws JSONException { in versionedPackageFromJson()
316 JSONObject json = new JSONObject(); in toJson() local
335 private static PackageRollbackInfo packageRollbackInfoFromJson(JSONObject json) in packageRollbackInfoFromJson()
360 JSONArray json = new JSONArray(); in versionedPackagesToJson() local
367 private static List<VersionedPackage> versionedPackagesFromJson(JSONArray json) in versionedPackagesFromJson()
377 JSONArray json = new JSONArray(); in toJson() local
[all …]
/frameworks/base/tools/bit/
Dmake.cpp91 Json::Value json; in BuildVars() local
137 Json::Value json(Json::objectValue); in save() local
182 get_values(const Json::Value& json, const string& name, vector<string>* result) in get_values()
214 Json::Value json; in read_modules() 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/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java103 JSONObject json = getJsonOutput(); in testEmptyLog() local
145 JSONObject json = getJsonOutput(); in testPopulatedLogTask() local
/frameworks/ml/nn/tools/systrace_parser/
Dparse_systrace.py24 def produce_stats(trace, print_detail=False, total_times=False, per_execution=False, json=False): argument
/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/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/native/vulkan/vkjson/
Dvkjson_unittest.cc66 std::string json = VkJsonInstanceToJson(instance); in main() local
Dvkjson_info.cc147 std::string json = out_device ? VkJsonDeviceToJson(*out_device) in Dump() local
Dvkjson.cc1120 template <typename T> bool VkTypeFromJson(const std::string& json, in VkTypeFromJson()
1140 bool VkJsonInstanceFromJson(const std::string& json, in VkJsonInstanceFromJson()
1150 bool VkJsonDeviceFromJson(const std::string& json, in VkJsonDeviceFromJson()
1161 bool VkJsonImageFormatPropertiesFromJson(const std::string& json, in VkJsonImageFormatPropertiesFromJson()
Dvkjson.h175 inline bool VkJsonAllPropertiesFromJson(const std::string& json, in VkJsonAllPropertiesFromJson()
/frameworks/base/services/core/java/com/android/server/updates/
DCertificateTransparencyLogInstallReceiver.java95 JSONObject json = new JSONObject(new String(content, StandardCharsets.UTF_8)); in install() local
/frameworks/native/services/gpuservice/
DGpuService.cpp142 std::string json = VkJsonInstanceToJson(VkJsonGetInstance()); in vkjsonPrint() local
/frameworks/av/media/libnblog/
DMerger.cpp232 bool pa = false, json = false, plots = false, retro = false; in dump() local
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1457 JSONObject json = new JSONObject(jsonStr); in pullAppSize() local
1489 JSONObject json = new JSONObject(jsonStr); in pullCategorySize() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHal.java3066 final JSONObject json = new JSONObject(URLDecoder.decode(encoded, "UTF-8")); in parseNetworkExtra() local