Home
last modified time | relevance | path

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

12

/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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonTokenizerTest.cs66 public void StringValue(string json, string expectedValue) in StringValue()
158 public void InvalidStringValue(string json) in InvalidStringValue()
189 public void NumberValue(string json, double expectedValue) in NumberValue()
204 public void InvalidNumberValue(string json) in InvalidNumberValue()
214 public void InvalidLiterals(string json) in InvalidLiterals()
272 public void InvalidStructure(string json, int expectedValidTokens) in InvalidStructure()
360 private static void AssertTokens(string json, params JsonToken[] expectedTokens) in AssertTokens()
372 … private static void AssertTokensNoReplacement(string json, params JsonToken[] expectedTokens) in AssertTokensNoReplacement()
392 private static void AssertThrowsAfter(string json, params JsonToken[] expectedTokens) in AssertThrowsAfter()
DJsonParserTest.cs146 public void Wrappers_Standalone(System.Type wrapperType, string json, object expectedValue) in Wrappers_Standalone()
212 public void MapField_NullValueProhibited(string json) in MapField_NullValueProhibited()
/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
334 private static PackageRollbackInfo packageRollbackInfoFromJson(JSONObject json) in packageRollbackInfoFromJson()
358 JSONArray json = new JSONArray(); in versionedPackagesToJson() local
365 private static List<VersionedPackage> versionedPackagesFromJson(JSONArray json) in versionedPackagesFromJson()
375 JSONArray json = new JSONArray(); in toJson() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java259 public void merge(String json, Message.Builder builder) throws InvalidProtocolBufferException { in merge()
272 public void merge(Reader json, Message.Builder builder) throws IOException { in merge()
1033 void merge(Reader json, Message.Builder builder) throws IOException { in merge()
1039 void merge(String json, Message.Builder builder) throws InvalidProtocolBufferException { in merge()
1053 void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in merge()
1067 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1095 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1105 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1115 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1125 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
[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/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java103 JSONObject json = getJsonOutput(); in testEmptyLog() local
145 JSONObject json = getJsonOutput(); in testPopulatedLogTask() local
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DMessageParser.cs133 public IMessage ParseJson(string json) in ParseJson()
260 public new T ParseJson(string json) in ParseJson()
DJsonParser.cs121 internal void Merge(IMessage message, string json) in Merge()
404 public IMessage Parse(string json, MessageDescriptor descriptor) in Parse()
/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/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/opt/gamesdk/third_party/protobuf-3.0.0/ruby/lib/google/
Dprotobuf.rb71 def self.decode_json(klass, json) argument
/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Djson_util_test.cc76 bool FromJson(const string& json, Message* message, in FromJson()
81 bool FromJson(const string& json, Message* message) { in FromJson()
/frameworks/base/cmds/bootanimation/iot/
DBootParameters.cpp145 Value json; in parseLegacyBootParameters() local
/frameworks/native/services/gpuservice/
DGpuService.cpp152 std::string json = VkJsonInstanceToJson(VkJsonGetInstance()); in vkjsonPrint() local
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Djson_stream_parser_test.cc89 util::Status RunTest(StringPiece json, int split, bool coerce_utf8 = false) { in RunTest()
119 void DoTest(StringPiece json, int split, bool coerce_utf8 = false) { in DoTest()
127 void DoErrorTest(StringPiece json, int split, StringPiece error_prefix, in DoErrorTest()
370 StringPiece json = "{\"address\":\xFF\"חרושת 23, רעננה, ישראל\"}"; in TEST_F() local
Djson_stream_parser.cc118 util::Status JsonStreamParser::Parse(StringPiece json) { in Parse()
/frameworks/av/media/libnblog/
DMerger.cpp232 bool pa = false, json = false, plots = false, retro = false; in dump() local

12