Searched refs:jsonResponse (Results 1 – 7 of 7) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceUpdatableDataFixture.java | 89 JSONObject jsonResponse = new JSONObject(); in getMalformedJsonObject() local 91 jsonResponse.put( in getMalformedJsonObject() 94 jsonResponse.put(TRUSTED_BIDDING_DATA_KEY, 0); in getMalformedJsonObject() 95 jsonResponse.put(ADS_KEY, "mismatched schema"); in getMalformedJsonObject() 97 return jsonResponse; in getMalformedJsonObject() 105 JSONObject jsonResponse = new JSONObject(); in getDeeperMalformedJsonObject() local 107 jsonResponse.put(USER_BIDDING_SIGNALS_KEY, 0); in getDeeperMalformedJsonObject() 112 jsonResponse.put(TRUSTED_BIDDING_DATA_KEY, trustedBiddingDataObject); in getDeeperMalformedJsonObject() 123 jsonResponse.put(ADS_KEY, adsArray); in getDeeperMalformedJsonObject() 125 return jsonResponse; in getDeeperMalformedJsonObject() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceUpdatableDataTest.java | 112 final String jsonResponse = in testBuildUpdatableDataSuccess() local 122 jsonResponse, in testBuildUpdatableDataSuccess() 127 + jsonResponse in testBuildUpdatableDataSuccess() 169 final String jsonResponse = in testBuildUpdatableDataSuccessWithAuctionServerFlagsEnabled() local 180 jsonResponse, in testBuildUpdatableDataSuccessWithAuctionServerFlagsEnabled() 185 + jsonResponse in testBuildUpdatableDataSuccessWithAuctionServerFlagsEnabled() 228 final String jsonResponse = in testBuildUpdatableDataSuccessWithJunkWithAuctionServerFlagsEnabled() local 240 jsonResponse, in testBuildUpdatableDataSuccessWithJunkWithAuctionServerFlagsEnabled() 245 + jsonResponse in testBuildUpdatableDataSuccessWithJunkWithAuctionServerFlagsEnabled() 286 final String jsonResponse = in testBuildUpdatableDataSuccessWithAuctionServerFlagsDisabled() local [all …]
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | ReverseGeocodeTask.java | 64 String jsonResponse = HttpFetcher.getRequestAsString(ui.getContext(), url); in doInBackground() local 67 JSONObject responseObject = new JSONObject(jsonResponse); in doInBackground()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/errors/ |
D | AggregatedErrorReportingProtocolTest.java | 289 JSONObject jsonResponse = in createEncryptedRequestBody() local 298 jsonResponse.get( in createEncryptedRequestBody() 310 JSONObject jsonResponse = in createUnEncryptedRequestBody() local 319 jsonResponse.get( in createUnEncryptedRequestBody()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyFetcher.java | 169 JSONObject jsonResponse = in fetchEncryptionKeys() local 171 if (jsonResponse == null) { in fetchEncryptionKeys() 174 return parseEncryptionKeyJSONResponse(enrollmentData, encryptionKeyUrl, jsonResponse); in fetchEncryptionKeys()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyFetcherTest.java | 152 JSONObject jsonResponse = new JSONObject(); in buildEncryptionKeyJSONResponse() local 153 jsonResponse.put(JSONResponseContract.ENCRYPTION_KEY, constructEncryptionKeyJSON()); in buildEncryptionKeyJSONResponse() 154 jsonResponse.put(JSONResponseContract.SIGNING_KEY, constructSigningKeyJSON()); in buildEncryptionKeyJSONResponse() 155 return jsonResponse; in buildEncryptionKeyJSONResponse()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | ScheduledUpdatesHandler.java | 474 JSONObject jsonResponse = new JSONObject(responseBody); 483 extractLeaveCustomAudiencesFromResponse(jsonResponse), 490 extractJoinCustomAudiencesFromResponse(jsonResponse), 499 jsonResponse,
|