Home
last modified time | relevance | path

Searched refs:responseBody (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/response/
DChallengeResponse.java32 public ChallengeResponse(String responseBody) { in ChallengeResponse() argument
33 if (TextUtils.isEmpty(responseBody)) { in ChallengeResponse()
38 JSONArray array = new JSONArray(responseBody); in ChallengeResponse()
52 Log.e(TAG, "ERROR! not a valid JSONArray String![" + responseBody + "]", e); in ChallengeResponse()
DGetImsiPseudonymResponse.java49 public GetImsiPseudonymResponse(String responseBody) { in GetImsiPseudonymResponse() argument
50 if (TextUtils.isEmpty(responseBody)) { in GetImsiPseudonymResponse()
55 JSONArray array = new JSONArray(responseBody); in GetImsiPseudonymResponse()
74 Log.e(TAG, "ERROR! not a valid JSONArray String![" + responseBody + "]", e); in GetImsiPseudonymResponse()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/
DXmlDoc.java67 public XmlDoc(String responseBody) { in XmlDoc() argument
68 parseXmlResponse(responseBody); in XmlDoc()
114 private void parseXmlResponse(String responseBody) { in parseXmlResponse() argument
115 if (responseBody == null) { in parseXmlResponse()
120 Log.d(TAG, "Raw Response Body: " + responseBody); in parseXmlResponse()
125 responseBody = responseBody.replace("&", "&").replace("&", "&"); in parseXmlResponse()
128 InputSource inputSource = new InputSource(new StringReader(responseBody)); in parseXmlResponse()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DScenarioLoader.java238 String responseBody; in loadTextResourceWithSubstitutions() local
240 responseBody = ScenarioLoader.loadTextResource(fileName); in loadTextResourceWithSubstitutions()
246 if (Strings.isNullOrEmpty(responseBody)) { in loadTextResourceWithSubstitutions()
247 return responseBody; in loadTextResourceWithSubstitutions()
250 responseBody = responseBody.replace(keyValuePair.getKey(), keyValuePair.getValue()); in loadTextResourceWithSubstitutions()
253 return responseBody; in loadTextResourceWithSubstitutions()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/httpclient/
DAdServicesHttpClientResponse.java49 String responseBody, ImmutableMap<String, List<String>> responseHeaders) { in create() argument
50 return builder().setResponseBody(responseBody).setResponseHeaders(responseHeaders).build(); in create()
64 public abstract AdServicesHttpClientResponse.Builder setResponseBody(String responseBody); in setResponseBody() argument
DAdServicesHttpsClient.java402 String responseBody = in doFetchPayload() local
409 mCache.put(url, responseBody, requestPropertiesMap, responseHeadersMap); in doFetchPayload()
413 .setResponseBody(responseBody) in doFetchPayload()
702 String responseBody; in doPerformRequestAndGetResponse() local
704 responseBody = in doPerformRequestAndGetResponse()
711 responseBody = in doPerformRequestAndGetResponse()
715 .setResponseBody(responseBody) in doPerformRequestAndGetResponse()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateEncryptionKeyFetcher.java121 @NonNull String responseBody, in parseResponse()
130 JSONObject responseObj = new JSONObject(responseBody); in parseResponse()
197 StringBuilder responseBody = new StringBuilder(); in fetch() local
199 responseBody.append(line); in fetch()
203 return parseResponse(responseBody.toString(), headers, eventTime, coordinatorOrigin); in fetch()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/cache/
DDBCacheEntry.java87 String responseBody, in create() argument
93 .setResponseBody(responseBody) in create()
113 public abstract DBCacheEntry.Builder setResponseBody(String responseBody); in setResponseBody() argument
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DFakeURLStreamHandler.java96 if (mResponse.hasException() && mResponse.responseBody().length == 0) { in getInputStream()
99 return new ByteArrayInputStream(mResponse.responseBody()); in getInputStream()
184 public abstract byte[] responseBody(); in responseBody() method in FakeURLStreamHandler.FakeResponse
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpClient.java202 final byte[] responseBody = byteOut.toByteArray(); in execute()
204 + (responseBody != null ? responseBody.length : 0)); in execute()
205 return responseBody; in execute()
/packages/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java227 final byte[] responseBody = byteOut.toByteArray(); in execute()
229 + (responseBody != null ? responseBody.length : 0)); in execute()
230 return responseBody; in execute()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DAuctionEncryptionKeyParser.java86 String responseBody = response.getResponseBody(); in getDbEncryptionKeys() local
93 JSONObject responseObj = new JSONObject(responseBody); in getDbEncryptionKeys()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java160 byte[] responseBody = IoUtils.readFromStream(errorStream); in checkResponseCode()
161 throw new HttpError(responseCode, responseMessage, responseHeaders, responseBody); in checkResponseCode()
/packages/services/Telephony/src/com/android/phone/callcomposer/
DCallComposerPictureTransfer.java458 String responseBody = readResponseBody(connection);
459 String parsedUrl = parseImageUploadResponseXmlForUrl(responseBody);
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DScheduledUpdatesHandler.java323 String responseBody = response.getResponseBody(); in parseFetchUpdateResponse() local
325 JSONObject jsonResponse = new JSONObject(responseBody); in parseFetchUpdateResponse()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...