Home
last modified time | relevance | path

Searched refs:mHttpClient (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java61 private HttpClient mHttpClient; field in HttpClientTest
74 mHttpClient = new HttpClient(true); in setUp()
95 HttpResponse httpResponse = mHttpClient.request(request); in request_contentTypeXml_returnsXmlBody()
124 expectThrows(ServiceEntitlementException.class, () -> mHttpClient.request(request)); in request_httpGetResponseBadRequest_throwsException()
160 HttpResponse httpResponse = mHttpClient.request(request); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
191 HttpResponse httpResponse = mHttpClient.request(request); in request_postJson_doNotEscapeForwardSlash()
214 ServiceEntitlementException.class, () -> mHttpClient.request(request)); in request_getResponseCodeFailed_expectThrowsException()
240 ServiceEntitlementException.class, () -> mHttpClient.request(request)); in request_getResponseBodyFailed_expectThrowsException()
267 HttpResponse httpResponse0 = mHttpClient.request(request); in history()
268 HttpResponse httpResponse1 = mHttpClient.request(request); in history()
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DLocalRenderer.java126 if (isCancelled() || mHttpClient == null) { in doInBackground()
136 HttpResponse response = mHttpClient.execute(params[0]); in doInBackground()
168 mHttpClient.close(); in doInBackground()
169 mHttpClient = null; in doInBackground()
202 private AndroidHttpClient mHttpClient = AndroidHttpClient.newInstance("TUQ"); field in LocalRenderer
245 + mSafeToCloseClient + " client? " + mHttpClient); in onDestroy()
255 mHttpClient.close(); in onDestroy()
256 mHttpClient = null; in onDestroy()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
DEapAkaApi.java121 private final HttpClient mHttpClient; field in EapAkaApi
142 this.mHttpClient = httpClient; in EapAkaApi()
838 return mHttpClient.request(builder.build()); in httpGet()
891 return mHttpClient.request(builder.build()); in httpPost()
976 return mHttpClient.getHistory(); in getHistory()
981 mHttpClient.clearHistory(); in clearHistory()