Home
last modified time | relevance | path

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

/aosp12/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
H A DHttpClientTest.java60 private HttpClient mHttpClient; field in HttpClientTest
73 mHttpClient = new HttpClient(); in setUp()
94 HttpResponse httpResponse = mHttpClient.request(request); in request_contentTypeXml_returnsXmlBody()
123 expectThrows(ServiceEntitlementException.class, () -> mHttpClient.request(request)); in request_httpGetResponseBadRequest_throwsException()
159 HttpResponse httpResponse = mHttpClient.request(request); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
190 HttpResponse httpResponse = mHttpClient.request(request); in request_postJson_doNotEscapeForwardSlash()
/aosp12/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A 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()
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
H A DGoogleSuggestClient.java63 private final HttpClient mHttpClient; field in GoogleSuggestClient
68 mHttpClient = AndroidHttpClient.newInstance(USER_AGENT, context); in GoogleSuggestClient()
69 HttpParams params = mHttpClient.getParams(); in GoogleSuggestClient()
116 HttpResponse response = mHttpClient.execute(method); in query()
/aosp12/packages/apps/Messaging/src/android/support/v7/mms/
H A DMmsNetworkManager.java85 private final MmsHttpClient mHttpClient; field in MmsNetworkManager
106 mHttpClient = new MmsHttpClient(mContext); in MmsNetworkManager()
118 return mHttpClient; in getHttpClient()
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
H A DEapAkaApi.java90 private final HttpClient mHttpClient; field in EapAkaApi
100 this.mHttpClient = httpClient; in EapAkaApi()
228 return mHttpClient.request(request); in challengeResponse()
360 return mHttpClient.request(httpRequest); in httpGet()