/aosp_15_r20/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/phr/validations/ |
D | FhirPrimitiveTypeValidatorTest.java | 85 JSONObject jsonObject = in testValidate_r4BooleanValid_true_succeeds() local 95 JSONObject jsonObject = in testValidate_r4BooleanValid_false_succeeds() local 105 JSONObject jsonObject = in testValidate_r4BooleanInvalid_asString_throws() local 126 JSONObject jsonObject = in testValidate_r4BooleanInvalid_objectIsJsonNull_throws() local 148 JSONObject jsonObject = in testValidate_r4CanonicalValid_succeeds() local 161 JSONObject jsonObject = in testValidate_r4CanonicalInvalid_containWhiteSpace_throws() local 179 JSONObject jsonObject = in testValidate_r4CanonicalInvalid_objectIsJsonNull_throws() local 201 JSONObject jsonObject = in testValidate_r4CodeValid_singleWord_succeeds() local 211 JSONObject jsonObject = in testValidate_r4CodeValid_multiWords_succeeds() local 221 JSONObject jsonObject = in testValidate_r4CodeInvalid_emptyString_throws() local [all …]
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/ |
D | CustomAudienceHelperTest.java | 58 JSONObject jsonObject = in testCustomAudienceFromJson_happyPath() local 112 JSONObject jsonObject = in testCustomAudienceBackgroundFetchDataFromJson_happyPath() local 165 JSONObject jsonObject = in testGetBackgroundFetchDataFromJson_withoutDailyUpdate_throwsIllegalStateException() local 184 JSONObject jsonObject = in testToAndFromJson_happyPath_success() local 205 JSONObject jsonObject = in testToJson_withNullTrustedBiddingData_fieldNotPresent() local 221 JSONObject jsonObject = in testToJson_withNullUserBiddingSignals_fieldNotPresent() local 236 JSONObject jsonObject = in testToJson_withNullAds_arrayIsEmpty() local 271 JSONObject jsonObject = in testToJson_withEligibleForOnDeviceAuctions_correctOutput() local 287 JSONObject jsonObject = in testToJson_withEligibleForServerAuctions_correctOutput() local 302 JSONObject jsonObject = in testToJson_withEligibleForNoAuctions_correctOutput() local [all …]
|
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SubprocessEventHelper.java | 105 public TestRunStartedEventInfo(JSONObject jsonObject) throws JSONException { in TestRunStartedEventInfo() 150 public TestRunFailedEventInfo(JSONObject jsonObject) throws JSONException { in TestRunFailedEventInfo() 193 public TestRunEndedEventInfo(JSONObject jsonObject) throws JSONException { in TestRunEndedEventInfo() 243 public InvocationFailedEventInfo(JSONObject jsonObject) throws JSONException { in InvocationFailedEventInfo() 340 public BaseTestEventInfo(JSONObject jsonObject) throws JSONException { in BaseTestEventInfo() 378 public TestStartedEventInfo(JSONObject jsonObject) throws JSONException { in TestStartedEventInfo() 406 public SkippedTestEventInfo(JSONObject jsonObject) throws JSONException { in SkippedTestEventInfo() 443 public FailedTestEventInfo(JSONObject jsonObject) throws JSONException { in FailedTestEventInfo() 507 public TestEndedEventInfo(JSONObject jsonObject) throws JSONException { in TestEndedEventInfo() 550 public TestLogEventInfo(JSONObject jsonObject) throws JSONException { in TestLogEventInfo() [all …]
|
/aosp_15_r20/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | HalDeviceManagerUtil.java | 61 JSONObject jsonObject = new JSONObject(); in staticChipInfoToJson() local 71 static StaticChipInfo jsonToStaticChipInfo(JSONObject jsonObject) throws JSONException { in jsonToStaticChipInfo() 86 JSONObject jsonObject = new JSONObject(); in chipModeToJson() local 96 private static WifiChip.ChipMode jsonToChipMode(JSONObject jsonObject) throws JSONException { in jsonToChipMode() 111 JSONObject jsonObject = new JSONObject(); in chipConcurrencyCombinationToJson() local 121 JSONObject jsonObject) throws JSONException { in jsonToChipConcurrencyCombination() 136 JSONObject jsonObject = new JSONObject(); in chipConcurrencyCombinationLimitToJson() local 143 JSONObject jsonObject) throws JSONException { in jsonToChipConcurrencyCombinationLimit()
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/ |
D | EncryptionKeyConverterUtilTest.java | 83 JSONObject jsonObject = new JSONObject(SIGNING_V3_DEFAULT_VALUES); in createEncryptionKeyFromJson_encryption_successVersion3() local 109 JSONObject jsonObject = new JSONObject(SIGNING_V3_DEFAULT_VALUES); in createEncryptionKeyFromJson_incorrectVersion() local 121 JSONObject jsonObject = new JSONObject(SIGNING_V3_DEFAULT_VALUES); in createEncryptionKeyFromJson_incorrectKeyType() local 133 JSONObject jsonObject = new JSONObject(SIGNING_V3_DEFAULT_VALUES); in createEncryptionKeyFromJson_incorrectProtocolType() local 145 JSONObject jsonObject = new JSONObject(SIGNING_V3_DEFAULT_VALUES); in createEncryptionKeyFromJson_incorrectKeyIdFormat() local 157 JSONObject jsonObject = new JSONObject(SIGNING_V3_DEFAULT_VALUES); in createEncryptionKeyFromJson_incorrectExpirationFormat() local 169 JSONObject jsonObject = new JSONObject(SIGNING_V3_DEFAULT_VALUES); in createEncryptionKeyFromJson_missingFields() local
|
/aosp_15_r20/frameworks/base/packages/StatementService/src/com/android/statementservice/database/ |
H A D | Converters.kt | 62 val jsonObject = JSONObject() in <lambda>() constant 73 val jsonObject = JSONObject() in <lambda>() constant 81 val jsonObject = JSONObject() in <lambda>() constant 118 val jsonObject = JSONObject() in <lambda>() constant
|
/aosp_15_r20/external/mobly-bundled-snippets/src/main/java/com/google/android/mobly/snippet/bundled/utils/ |
H A D | JsonDeserializer.java | 43 public static WifiConfiguration jsonToWifiConfig(JSONObject jsonObject) throws JSONException { in jsonToWifiConfig() 57 public static AdvertiseSettings jsonToBleAdvertiseSettings(JSONObject jsonObject) in jsonToBleAdvertiseSettings() 80 public static AdvertiseData jsonToBleAdvertiseData(JSONObject jsonObject) throws JSONException { in jsonToBleAdvertiseData() 113 DataHolder dataHolder, JSONObject jsonObject) throws JSONException { in jsonToBluetoothGattService() 129 DataHolder dataHolder, JSONObject jsonObject) throws JSONException { in jsonToBluetoothGattCharacteristic() 142 public static ScanFilter jsonToScanFilter(JSONObject jsonObject) throws JSONException { in jsonToScanFilter() 151 public static ScanSettings jsonToScanSettings(JSONObject jsonObject) throws JSONException { in jsonToScanSettings()
|
/aosp_15_r20/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/validators/ |
H A D | ValidateUiElement.java | 76 JsonObject jsonObject = jsonElement.getAsJsonObject(); in deserialize() local 165 private String validateAndGetValue(String key, JsonObject jsonObject, boolean isOptional) { in validateAndGetValue() 183 private boolean validateAndGetBoolean(String key, JsonObject jsonObject, Boolean defaultValue) { in validateAndGetBoolean() 205 private int validateAndGetInteger(String key, JsonObject jsonObject, Integer defaultValue) { in validateAndGetInteger() 235 private JsonObject validateAndGetObject(String key, JsonObject jsonObject) { in validateAndGetObject() 247 private JsonArray validateAndGetArray(String key, JsonObject jsonObject) { in validateAndGetArray() 270 private void validateProperties(JsonObject jsonObject) { in validateProperties()
|
H A D | ValidateScrollConfig.java | 61 JsonObject jsonObject = jsonElement.getAsJsonObject(); in deserialize() local 147 private String validateAndGetValue(String key, JsonObject jsonObject, boolean isOptional) { in validateAndGetValue() 161 private void validateNotNull(String key, JsonObject jsonObject) { in validateNotNull() 168 private void validateIsNumeric(String str, JsonObject jsonObject) { in validateIsNumeric() 176 private void validateProperties(JsonObject jsonObject) { in validateProperties() 193 String property, String value, JsonObject jsonObject, String reason) { in throwRuntimeException()
|
H A D | ValidateWorkflowTask.java | 60 JsonObject jsonObject = jsonElement.getAsJsonObject(); in deserialize() local 155 private int validateAndGetIntValue(String key, JsonObject jsonObject) { in validateAndGetIntValue() 164 String key, JsonObject jsonObject, boolean isOptional) { in validateAndGetStringValue() 178 private void validateNotNull(String key, JsonObject jsonObject) { in validateNotNull() 185 private void validateProperties(JsonObject jsonObject) { in validateProperties() 201 String property, String value, JsonObject jsonObject, String reason) { in throwRuntimeException()
|
H A D | ValidateWorkflowTaskConfig.java | 49 JsonObject jsonObject = jsonElement.getAsJsonObject(); in deserialize() local 68 private String validateAndGetTextValue(String key, JsonObject jsonObject) { in validateAndGetTextValue() 80 String key, JsonObject jsonObject, JsonDeserializationContext context) { in validateAndGetUiElementValue() 88 private void validateProperties(JsonObject jsonObject) { in validateProperties()
|
/aosp_15_r20/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/ |
D | WifiAwareJsonDeserializer.java | 108 public static SubscribeConfig jsonToSubscribeConfig(JSONObject jsonObject) in jsonToSubscribeConfig() 176 private static AwarePairingConfig jsonToAwarePairingConfig(JSONObject jsonObject) in jsonToAwarePairingConfig() 208 public static PublishConfig jsonToPublishConfig(JSONObject jsonObject) throws JSONException { in jsonToPublishConfig() 272 public static NetworkRequest jsonToNetworkRequest(JSONObject jsonObject) throws JSONException { in jsonToNetworkRequest() 313 JSONObject jsonObject, WifiAwareNetworkSpecifier.Builder builder in jsonToNetworkSpecifier() 349 private static WifiAwareDataPathSecurityConfig jsonToDataPathSSecurityConfig( in jsonToDataPathSSecurityConfig() 378 public static RangingRequest jsonToRangingRequest( in jsonToRangingRequest()
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | JsonUtilsTest.java | 40 JSONObject jsonObject = new JSONObject().put(KEY, VALID_VALUE); in testGetStringFromJsonSuccess() local 55 JSONObject jsonObject = new JSONObject().put(KEY, VALID_VALUE); in testGetStringFromJsonThrowsJSONExceptionWhenKeyDoesNotExist() local 65 JSONObject jsonObject = new JSONObject().put(KEY, 1); in testGetStringFromJsonThrowsJSONExceptionWhenValueIsNotString() local 86 JSONObject jsonObject = new JSONObject().put(KEY, 1); in testGetStringFromJsonThrowsJSONExceptionWhenValueIsNotStringCustomError() local 99 JSONObject jsonObject = new JSONObject().put(KEY, innerObject); in testGetStringFromJsonThrowsJSONExceptionWhenValueIsJSONObject() local
|
/aosp_15_r20/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/customaudience/ |
D | CustomAudienceHelper.java | 138 JSONObject jsonObject = in getJsonFromTrustedBiddingData() local 159 JSONObject jsonObject = in getJsonFromAd() local 173 static DBCustomAudience getCustomAudienceFromJson(@NonNull JSONObject jsonObject) in getCustomAudienceFromJson() 195 static DBCustomAudienceBackgroundFetchData getCustomAudienceBackgroundFetchDataFromJson( in getCustomAudienceBackgroundFetchDataFromJson() 215 private static DBTrustedBiddingData getTrustedBiddingDataFromJson(JSONObject jsonObject) in getTrustedBiddingDataFromJson() 232 private static DBAdData getAdFromJson(JSONObject jsonObject) throws JSONException { in getAdFromJson()
|
/aosp_15_r20/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/ |
D | RequestFactoryTest.java | 89 JSONObject jsonObject = authRequest.getJSONObject(0); in createAuthRequestSuccess() local 108 JSONObject jsonObject = authRequest.getJSONObject(0); in createAuthRequestFailureWrongSimOperator() local 125 JSONObject jsonObject = authRequest.getJSONObject(0); in createAuthRequestFailureNullImsi() local 153 JSONObject jsonObject = getImsiPseudonymRequest.getJSONObject(0); in createGetImsiPseudonymRequestSuccess() local 176 JSONObject jsonObject = getImsiPseudonymRequest.getJSONObject(0); in createGetImsiPseudonymRequestWithEmptyData() local
|
/aosp_15_r20/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/rawfhir/ |
D | RawFhirFormatter.kt | 36 val jsonObject = JSONObject(fhirString) in <lambda>() constant 48 val jsonObject = JSONObject(fhirString) in <lambda>() constant
|
/aosp_15_r20/external/javaparser/javaparser-core-serialization/src/main/java/com/github/javaparser/serialization/ |
H A D | JavaParserJsonDeserializer.java | 51 JsonObject jsonObject = reader.readObject(); in deserializeObject() local 147 JsonObject jsonObject = (JsonObject)jsonValue; in readRange() local 164 JsonObject jsonObject = (JsonObject)jsonValue; in readTokenRange() local 177 protected JavaToken readToken(String name, JsonObject jsonObject) { in readToken()
|
/aosp_15_r20/platform_testing/libraries/motion/src/platform/test/motion/ |
H A D | MotionTestRule.kt | 114 val jsonObject = JSONObject(it.readText()) in <lambda>() constant 167 val jsonObject = JsonGoldenSerializer.toJson(recordedMotion.timeSeries) in <lambda>() constant
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | CustomAudienceShellCommandHelper.java | 61 static CustomAudience fromJson(@NonNull JSONObject jsonObject) throws JSONException { in fromJson() 84 private static TrustedBiddingData getTrustedBiddingDataFromJson(JSONObject jsonObject) in getTrustedBiddingDataFromJson() 110 private static AdData getAdFromJson(JSONObject jsonObject) throws JSONException { in getAdFromJson()
|
/aosp_15_r20/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/ |
D | CarStorageMonitoringTest.java | 234 JSONObject jsonObject = new JSONObject( in testWearEstimateRecordJson() local 273 JSONObject jsonObject = new JSONObject( in testWearHistoryJson() local 478 JSONObject jsonObject = new JSONObject( in testUidIoStatEntryJson() local 676 JSONObject jsonObject = new JSONObject( in testUidIoStatsDeltaJson() local 762 JSONObject jsonObject = new JSONObject( in testLifetimeWriteInfoJson() local
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceBlobTest.java | 201 JSONObject jsonObject = in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled() local 245 JSONObject jsonObject = in testOverrideFromJSONObject_invalidValuesWithAuctionServerRequestFlagsEnabled() local 291 JSONObject jsonObject = in testOverrideFromJSONObject_UnexpectedValuesWithAuctionServerRequestFlagsEnabled() local 491 JSONObject jsonObject = in testOverrideFromJSONObject_UnexpectedValuesWithSellerConfigurationFlagEnabled() local 543 JSONObject jsonObject = in testPriorityValue_overrideSuccess() local
|
D | ScheduleCustomAudienceUpdateTestUtils.java | 658 JSONObject jsonObject = new JSONObject(requestBodyString); in extractPartialCustomAudiencesFromRequest() local 681 JSONObject jsonObject = new JSONObject(requestBodyString); in extractCustomAudiencesToLeaveFromScheduleRequest() local 703 JSONObject jsonObject = new JSONObject(); in createRequestBody() local 716 JSONObject jsonObject = new JSONObject(); in createRequestBodyWithOnlyPartialCustomAudiences() local
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/ |
D | FilterMapTest.java | 99 JSONObject jsonObject = expected.serializeAsJson(mMockFlags); in serializeAsJson_success() local 113 JSONObject jsonObject = expected.serializeAsJson(mMockFlags); in serializeAsJson_lookbackWindowFilterEnabled_success() local 125 JSONObject jsonObject = new JSONObject(); in buildFilterDataV2_lookbackWindowExceedsMaxValue_success() local
|
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/biometrics/ |
H A D | AuthenticationStatsPersister.java | 192 private String getValue(JSONObject jsonObject, String key) throws JSONException { in getValue() 196 private int getIntValue(JSONObject jsonObject, String key) throws JSONException { in getIntValue() 200 private int getIntValue(JSONObject jsonObject, String key, int defaultValue) in getIntValue()
|
/aosp_15_r20/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | FilterMap.java | 202 public Builder buildFilterData(JSONObject jsonObject, Flags flags) throws JSONException { in buildFilterData() 214 public Builder buildFilterData(JSONObject jsonObject) throws JSONException { in buildFilterData() 231 public Builder buildFilterDataV2(JSONObject jsonObject) throws JSONException { in buildFilterDataV2()
|