Home
last modified time | relevance | path

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

12345678910>>...75

/aosp_15_r20/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/medical/
DDisplayNameExtractorTest.kt46 val json = in unknownResourceType() constant
56 val json = in allergyIntolerance_withoutCodeField() constant
65 val json = in allergyIntolerance_withEmptyCodeField() constant
75 val json = in allergyIntolerance_withCodeText() constant
85 val json = in allergyIntolerance_withSnomedCoding() constant
98 val json = in condition_withoutCodeField() constant
107 val json = in condition_withEmptyCodeField() constant
117 val json = in condition_withCodeText() constant
127 val json = in condition_withCodingSystemSnomed() constant
139 val json = in condition_withMultipleCodings() constant
[all …]
/aosp_15_r20/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
H A 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 …]
/aosp_15_r20/external/angle/src/libANGLE/capture/
H A Dserialize.cpp110 GroupScope(JsonSerializer *json, const std::string &name) : mJson(json) in GroupScope()
115 GroupScope(JsonSerializer *json, const std::string &name, int index) : mJson(json) in GroupScope()
123 GroupScope(JsonSerializer *json, int index) : GroupScope(json, "", index) {} in GroupScope()
131 void SerializeColorF(JsonSerializer *json, const ColorF &color) in SerializeColorF()
139 void SerializeColorFWithGroup(JsonSerializer *json, const char *groupName, const ColorF &color) in SerializeColorFWithGroup()
145 void SerializeColorI(JsonSerializer *json, const ColorI &color) in SerializeColorI()
153 void SerializeColorUI(JsonSerializer *json, const ColorUI &color) in SerializeColorUI()
161 void SerializeExtents(JsonSerializer *json, const gl::Extents &extents) in SerializeExtents()
170 JsonSerializer *json, in SerializeOffsetBindingPointerVector()
187 JsonSerializer *json, in SerializeBindingPointerVector()
[all …]
/aosp_15_r20/out/soong/.intermediates/external/kotlinx.serialization/kotlinx_serialization_json/linux_glibc_common/kotlin_headers/
Dkotlinx_serialization_json.jar ... .EnumEntries getEntries () } kotlinx/serialization/json/Json$Default.class Json.kt package ...
/aosp_15_r20/external/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/
H A DGdchCredentialsTest.java91 GenericJson json = in fromJSON_getProjectId() local
107 GenericJson json = in fromJSON_getServiceIdentityName() local
123 GenericJson json = in fromJSON_getCaCertPath() local
139 GenericJson json = in fromJSON_getTokenServerUri() local
155 GenericJson json = in fromJSON_nullFormatVersion() local
181 GenericJson json = in fromJSON_nullProjectId() local
207 GenericJson json = in fromJSON_nullPrivateKeyId() local
233 GenericJson json = in fromJSON_nullPrivateKey() local
259 GenericJson json = in fromJSON_nullServiceIdentityName() local
285 GenericJson json = in fromJSON_nullCaCertPath() local
[all …]
H A DExternalAccountAuthorizedUserCredentialsTest.java384 GenericJson json = new GenericJson(); in fromJson_minimumRequiredFieldsForRefresh() local
406 GenericJson json = new GenericJson(); in fromJson_accessTokenOnly_notSupported() local
424 GenericJson json = buildJsonCredentials(); in fromJson_missingRefreshToken_throws() local
440 GenericJson json = buildJsonCredentials(); in fromJson_missingTokenUrl_throws() local
456 GenericJson json = buildJsonCredentials(); in fromJson_missingClientId_throws() local
472 GenericJson json = buildJsonCredentials(); in fromJson_missingClientSecret_throws() local
487 GenericJson json = buildJsonCredentials(); in fromJson_missingUniverseDomain_defaults() local
506 GenericJson json = buildJsonCredentials(); in fromStream_allFields() local
523 GenericJson json = new GenericJson(); in fromStream_minimumRequiredFieldsForRefresh() local
545 GenericJson json = new GenericJson(); in fromStream_accessTokenOnly_notSupported() local
[all …]
/aosp_15_r20/external/gson/gson/src/test/java/com/google/gson/functional/
H A DDefaultTypeAdaptersTest.java127 String json = "'http:\\/\\/google.com\\/'"; in testUrlDeserialization() local
143 String json = "{}"; in testUrlNullDeserialization() local
162 String json = '"' + uriValue + '"'; in testUriDeserialization() local
218 String json = '"' + uuidValue + '"'; in testUuidDeserialization() local
231 String json = "\"en\""; in testLocaleDeserializationWithLanguage() local
244 String json = "\"fr_CA\""; in testLocaleDeserializationWithLanguageCountry() local
252 String json = gson.toJson(target); in testLocaleSerializationWithLanguageCountryVariant() local
258 String json = "\"de_DE_EURO\""; in testLocaleDeserializationWithLanguageCountryVariant() local
268 String json = gson.toJson(target); in testBigDecimalFieldSerialization() local
276 String json = expected.getExpectedJson(); in testBigDecimalFieldDeserialization() local
[all …]
H A DMapTest.java73 String json = gson.toJson(map, typeOfMap); in testMapSerialization() local
80 String json = "{\"a\":1,\"b\":2}"; in testMapDeserialization() local
92 String json = gson.toJson(map); in testObjectMapSerialization() local
101 String json = gson.toJson(map, typeOfMap); in testMapSerializationEmpty() local
117 String json = gson.toJson(map, typeOfMap); in testMapSerializationWithNullValue() local
137 String json = gson.toJson(map, typeOfMap); in testMapSerializationWithNullValueButSerializeNulls() local
147 String json = gson.toJson(map, typeOfMap); in testMapSerializationWithNullKey() local
171 String json = gson.toJson(map, typeOfMap); in testMapSerializationWithIntegerKeys() local
197 String json = String.format("{\"%d\":\"456\"}", longValue); in testMapDeserializationWithLongKeys() local
208 String json = String.format("{%d:\"456\"}", longKey); in testMapDeserializationWithUnquotedLongKeys() local
[all …]
H A DParameterizedTypesTest.java62 String json = gson.toJson(src, typeOfSrc); in testParameterizedTypesSerialization() local
63 assertEquals(src.getExpectedJson(), json); in testParameterizedTypesSerialization() local
76 String json = expected.getExpectedJson(); in testParameterizedTypeDeserialization() local
87 String json = gson.toJson(src, typeOfSrc); in testTypesWithMultipleParametersSerialization() local
97 String json = "{\"a\":10,\"b\":1.0,\"c\":2.1,\"d\":\"abc\"," in testTypesWithMultipleParametersDeserialization() local
115 String json = gson.toJson(intTarget, ptIntegerType); in testParameterizedTypeWithCustomSerializer() local
116 assertEquals(MyParameterizedTypeAdapter.<Integer>getExpectedJson(intTarget), json); in testParameterizedTypeWithCustomSerializer() local
120 assertEquals(MyParameterizedTypeAdapter.<String>getExpectedJson(stringTarget), json); in testParameterizedTypeWithCustomSerializer() local
135 String json = MyParameterizedTypeAdapter.<Integer>getExpectedJson(src); in testParameterizedTypesWithCustomDeserializer() local
164 Reader json = new StringReader(expected.getExpectedJson()); in testParameterizedTypeWithReaderDeserialization() local
[all …]
H A DCollectionTest.java67 String json = gson.toJson(target, targetType); in testTopLevelCollectionOfIntegersSerialization() local
73 String json = "[0,1,2,3,4,5,6,7,8,9]"; in testTopLevelCollectionOfIntegersDeserialization() local
82 String json = "[[1,2,3],[4,5,6],[7,8,9]]"; in testTopLevelListOfIntegerCollectionsDeserialization() local
104 String json = gson.toJson(list, linkedListType); in testLinkedListSerialization() local
111 String json = "['a1','a2']"; in testLinkedListDeserialization() local
124 String json = gson.toJson(queue, queueType); in testQueueSerialization() local
131 String json = "['a1','a2']"; in testQueueDeserialization() local
144 String json = gson.toJson(queue); in testPriorityQueue() local
159 String json = gson.toJson(target); in testVector() local
168 String json = gson.toJson(target); in testStack() local
[all …]
H A DObjectTest.java89 String json = "{'stringValue':'no message','intValue':10,'longValue':20}"; in testJsonInSingleQuotesDeserialization() local
98 String json = "{\"stringValue\":'no message','intValue':10,'longValue':20}"; in testJsonInMixedQuotesDeserialization() local
114 String json = src.getExpectedJson(); in testBagOfPrimitivesDeserialization() local
141 String json = "{\"longValue\":[1]}"; in testClassWithTransientFieldsDeserialization() local
149 String json = "{\"transientLongValue\":1,\"longValue\":[1]}"; in testClassWithTransientFieldsDeserializationTransientFieldsPassedInJsonAreIgnored() local
161 String json = "{}"; in testClassWithNoFieldsDeserialization() local
202 String json = "{\"primitive1\":{\"longValue\":10,\"intValue\":20,\"booleanValue\":false," in testNestedDeserialization() local
243 String json = "{\"primitive1\":{\"longValue\":10,\"intValue\":20,\"booleanValue\":false" in testNullFieldsDeserialization() local
257 String json = new ArrayOfObjects().getExpectedJson(); in testArrayOfObjectsDeserialization() local
270 String json = new ArrayOfArrays().getExpectedJson(); in testArrayOfArraysDeserialization() local
[all …]
H A DArrayTest.java66 String json = "[1, 2 3, 4, 5]"; in testInvalidArrayDeserialization() local
96 String json = gson.toJson(array); in testNullsInArraySerialization() local
102 String json = "[\"foo\",null,\"bar\"]"; in testNullsInArrayDeserialization() local
114 String json = gson.toJson(array); in testSingleNullInArraySerialization() local
129 String json = gson.toJson(array); in testNullsInArrayWithSerializeNullPropertySetSerialization() local
141 String json = "[\"Hello\",\"World\"]"; in testArrayOfStringsDeserialization() local
156 String json = "[\"hello\"]"; in testSingleStringArrayDeserialization() local
184 String json = gson.toJson(arrayOfCollection, typeToSerialize); in testArrayOfCollectionSerialization() local
185 assertEquals(sb.toString(), json); in testArrayOfCollectionSerialization() local
190 String json = "[[1,2],[3,4]]"; in testArrayOfCollectionDeserialization() local
[all …]
H A DCustomTypeAdaptersTest.java89 String json = "{\"bag\":5,\"value\":25}"; in testCustomDeserializers() local
112 String json = basicGson.toJson(expectedFoo); in disable_testCustomDeserializersOfSelf() local
142 String json = "{\"bag\":7,\"value\":25}"; in testCustomNestedDeserializers() local
158 String json = gson.toJson(b); in testCustomTypeAdapterDoesNotAppliesToSubClasses() local
176 String json = gson.toJson(b); in testCustomTypeAdapterAppliesToSubClassesSerializedAsBaseClass() local
214 public Foo deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) in deserialize()
265 String json = gson.toJson(data); in testCustomByteArraySerializer() local
284 String json = "'0123456789'"; in testCustomByteArrayDeserializerAndInstanceCreator() local
337 String json = gson.toJson(setOfHolders, setType); in testCustomAdapterInvokedForCollectionElementSerializationWithType() local
350 String json = gson.toJson(setOfHolders); in testCustomAdapterInvokedForCollectionElementSerialization() local
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/registration/
DFetcherUtilTest.java583 String json = "[{" in testAreValidAttributionFilters_filterSet_valid() local
598 String json = in testAreValidAttributionFilters_removeSizeConstraints_valid() local
614 String json = "{" in testAreValidAttributionFilters_filterMap_valid() local
630 String json = in areValidAttributionFilters_lookbackWindowAllowedAndValid_returnsTrue() local
649 String json = in areValidAttributionFilters_validlLookbackWindowA_removeSizeConstraints_returnsTrue() local
668 String json = in areValidAttributionFilters_lookbackWindowZeroDecimal_returnsTrue() local
690 String json = in areValidAttributionFilters_lookbackWindowZeroDecimal_removeSizeConstraints_returnsTrue() local
711 String json = in areValidAttributionFilters_negativeLookbackWindowDecimal_returnsFalse() local
732 String json = in areValidAttributionFilters_lookbackWindowNonZeroDecimal_returnsFalse() local
753 String json = in areValidAttributionFilters_negativeLookbackWindowNonZeroDecimal_returnsFalse() local
[all …]
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/signedconfig/
H A 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 …]
/aosp_15_r20/external/grpc-grpc/include/grpc/support/
H A Djson.h55 Json json; in FromBool() local
62 Json json; in FromNumber() local
67 Json json; in FromNumber() local
72 Json json; in FromNumber() local
77 Json json; in FromNumber() local
82 Json json; in FromNumber() local
87 Json json; in FromNumber() local
92 Json json; in FromNumber() local
97 Json json; in FromNumber() local
104 Json json; in FromString() local
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/include/grpc/support/
Djson.h55 Json json; in FromBool() local
62 Json json; in FromNumber() local
67 Json json; in FromNumber() local
72 Json json; in FromNumber() local
77 Json json; in FromNumber() local
82 Json json; in FromNumber() local
87 Json json; in FromNumber() local
92 Json json; in FromNumber() local
97 Json json; in FromNumber() local
104 Json json; in FromString() local
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/spm-core-include/grpc/support/
Djson.h55 Json json; in FromBool() local
62 Json json; in FromNumber() local
67 Json json; in FromNumber() local
72 Json json; in FromNumber() local
77 Json json; in FromNumber() local
82 Json json; in FromNumber() local
87 Json json; in FromNumber() local
92 Json json; in FromNumber() local
97 Json json; in FromNumber() local
104 Json json; in FromString() local
[all …]
/aosp_15_r20/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DJsonFormat.java469 public void merge(String json, Message.Builder builder) throws InvalidProtocolBufferException { in merge()
483 public void merge(Reader json, Message.Builder builder) throws IOException { in merge()
1311 void merge(Reader json, Message.Builder builder) throws IOException { in merge()
1329 void merge(String json, Message.Builder builder) throws InvalidProtocolBufferException { in merge()
1343 void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in merge()
1357 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1385 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1395 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1405 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1415 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
[all …]
/aosp_15_r20/external/cronet/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DJsonFormat.java469 public void merge(String json, Message.Builder builder) throws InvalidProtocolBufferException { in merge()
483 public void merge(Reader json, Message.Builder builder) throws IOException { in merge()
1311 void merge(Reader json, Message.Builder builder) throws IOException { in merge()
1329 void merge(String json, Message.Builder builder) throws InvalidProtocolBufferException { in merge()
1343 void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in merge()
1357 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1385 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1395 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1405 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
1415 public void merge(ParserImpl parser, JsonElement json, Message.Builder builder) in buildWellKnownTypeParsers()
[all …]
/aosp_15_r20/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
H A DTrailingCommasTest.java50 String json = "[\"a\", \"b\"]"; in testArrayBasic() local
68 String json = "[\"a\",, \"b\"]"; in testArrayInnerComma() local
93 String json = "[,\"a\", \"b\"]"; in testArrayLeadingComma() local
119 String json = "[\"a\", \"b\",]"; in testArrayTrailingComma() local
147 String json = "[\"a\", \"b\",,]"; in testArrayTrailingCommas() local
178 String json = "[\"a\", \"b\",,,]"; in testArrayTrailingCommasTriple() local
211 String json = "{\"a\": true, \"b\": false}"; in testObjectBasic() local
232 String json = "{\"a\": true,, \"b\": false}"; in testObjectInnerComma() local
248 String json = "{,\"a\": true, \"b\": false}"; in testObjectLeadingComma() local
260 String json = "{\"a\": true, \"b\": false,}"; in testObjectTrailingComma() local
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/
DCustomAudienceBlobFixture.java103 JSONObject json = new JSONObject(); in asJSONObject() local
125 public static JSONObject addOwner(JSONObject json, String owner, boolean shouldAddHarmlessJunk) in addOwner()
140 JSONObject json, AdTechIdentifier adTechIdentifier, boolean shouldAddHarmlessJunk) in addBuyer()
155 public static JSONObject addName(JSONObject json, String name, boolean shouldAddHarmlessJunk) in addName()
170 JSONObject json, Instant activationTime, boolean shouldAddHarmlessJunk) in addActivationTime()
189 JSONObject json, Instant expirationTime, boolean shouldAddHarmlessJunk) in addExpirationTime()
208 JSONObject json, Uri dailyUpdateUri, boolean shouldAddHarmlessJunk) in addDailyUpdateUri()
224 JSONObject json, Uri biddingLogicUri, boolean shouldAddHarmlessJunk) in addBiddingLogicUri()
240 JSONObject json, String userBiddingSignals, boolean shouldAddHarmlessJunk) in addUserBiddingSignals()
257 JSONObject json, DBTrustedBiddingData trustedBiddingData, boolean shouldAddHarmlessJunk) in addTrustedBiddingData()
[all …]
/aosp_15_r20/tools/security/remote_provisioning/hwtrust/src/rkp/
H A Dfactory_csr.rs73 let json = fs::read_to_string("testdata/factory_csr/v2_ed25519_valid.json").unwrap(); in from_json_valid_v2_ed25519() localVariable
130 let json = fs::read_to_string("testdata/factory_csr/v3_ed25519_valid.json").unwrap(); in from_json_valid_v3_ed25519() localVariable
154 let json = fs::read_to_string("testdata/factory_csr/v2_p256_valid.json").unwrap(); in from_json_valid_v2_p256() localVariable
181 let json = fs::read_to_string("testdata/factory_csr/v3_p256_valid.json").unwrap(); in from_json_valid_v3_p256() localVariable
213 let json = in from_json_valid_v3_p256_with_uds_certs() localVariable
256 let json = in from_json_v3_p256_with_mismatch_uds_certs() localVariable
267 let json = fs::read_to_string("testdata/factory_csr/v3_p256_extra_uds_cert_in_chain.json") in from_json_v3_p256_with_extra_uds_cert_in_chain() localVariable
280 let json = serde_json::to_string(&value).unwrap(); in from_json_name_is_missing() localVariable
289 let json = serde_json::to_string(&value).unwrap(); in from_json_name_is_wrong_type() localVariable
296 let json = r#"{ "name": "default" }"#; in from_json_csr_is_missing() localVariable
[all …]
/aosp_15_r20/out/soong/.intermediates/external/kotlinx.serialization/kotlinx_serialization_json/linux_glibc_common/kotlin/
Dkotlinx_serialization_json.jar ... <clinit> () } kotlinx/serialization/json/Json$Default.class Json.kt package ...
/aosp_15_r20/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/json/
H A DLenientTest.kt25 val json = """{"i":"1", "l":2, "b":true, "s":"string"}""" in <lambda>() constant
32 val json = """{"i":1, "l":"2", "b":true, "s":"string"}""" in testQuotedLong() constant
39 val json = """{"i":1, "l":2, "b":"true", "s":"string"}""" in <lambda>() constant
46 val json = """{"i":1, "l":2, "b":true, "s":string}""" in <lambda>() constant
53 val json = """{"i":1, "l":2, b:true, "s":"string"}""" in <lambda>() constant
60 val json = """{"l":[1, 2, ss]}""" in testUnquotedStringInArray() constant

12345678910>>...75