Home
last modified time | relevance | path

Searched defs:urlConnection (Results 1 – 18 of 18) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementHttpClientTest.java103 final URLConnection urlConnection = mNetworkConnection.setup(url); in testOpenAndSetupConnectionDefaultTimeoutValues_success() local
126 final URLConnection urlConnection = mNetworkConnection.setup(url); in testSetup_ForComputeFromMappingsFlagTrue_SetsCorrectHeader() local
174 final URLConnection urlConnection = mNetworkConnection.setup(url); local
223 final URLConnection urlConnection = mNetworkConnection.setup(url); local
271 final URLConnection urlConnection = mNetworkConnection.setup(url); local
319 final URLConnection urlConnection = mNetworkConnection.setup(url); local
344 final HttpURLConnection urlConnection = in testSetup_headersLeakingInfoAreOverridden() local
374 final HttpURLConnection urlConnection = in testSetup_connectLocalhostToUntrustedServer_success() local
410 final HttpURLConnection urlConnection = in testSetup_connectNonLocalhostToUntrustedServer_throws() local
438 final URLConnection urlConnection = mNetworkConnection.setup(url); in testOpenAndSetupConnectionOverrideTimeoutValues_success() local
DE2EMockTest.java241 HttpsURLConnection urlConnection = mock(HttpsURLConnection.class); in prepareRegistrationServer() local
256 HttpsURLConnection urlConnection = mock(HttpsURLConnection.class); in prepareRegistrationServer() local
271 HttpsURLConnection urlConnection = mock(HttpsURLConnection.class); in prepareRegistrationServer() local
287 HttpsURLConnection urlConnection = mock(HttpsURLConnection.class); in prepareRegistrationServer() local
302 HttpsURLConnection urlConnection = mock(HttpsURLConnection.class); in prepareRegistrationServer() local
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DMeasurementReportSender.java54 HttpURLConnection urlConnection = createHttpUrlConnection(reportingFullUrl); in sendReport() local
63 HttpURLConnection urlConnection = createHttpUrlConnection(reportingFullUrl); in sendReport() local
82 private int sendReportPostRequest(HttpURLConnection urlConnection, JSONObject reportJson) in sendReportPostRequest()
88 private int sendReportPostRequest(HttpURLConnection urlConnection, JSONArray reportJsonArray) in sendReportPostRequest()
94 private int sendReportPostRequest(HttpURLConnection urlConnection, byte[] bytes) in sendReportPostRequest()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClient.java181 HttpsURLConnection urlConnection = (HttpsURLConnection) openUrl(url); in setupConnection() local
206 HttpsURLConnection urlConnection = setupConnection(url, devContext); in setupPostConnectionWithPlainText() local
375 HttpsURLConnection urlConnection; in doFetchPayload() local
499 HttpsURLConnection urlConnection; in doGetAndReadNothing() local
557 HttpsURLConnection urlConnection; in doPostPlainText() local
663 HttpsURLConnection urlConnection; in doPerformRequestAndGetResponse() local
751 private void throwError(final HttpsURLConnection urlConnection, int responseCode) in throwError()
798 private static void maybeDisconnect(@Nullable URLConnection urlConnection) { in maybeDisconnect()
893 private CloseableConnectionWrapper(HttpsURLConnection urlConnection) { in CloseableConnectionWrapper()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/
DHttpClient.java62 URLConnection urlConnection = url.openConnection(); in setup() local
125 HttpURLConnection urlConnection; in performRequest() local
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/
DEncryptionKeyFetcher.java132 HttpURLConnection urlConnection; in fetchEncryptionKeys() local
209 HttpURLConnection urlConnection, in getJsonResponse()
330 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); in setUpURLConnection() local
/packages/apps/TV/src/com/android/tv/util/images/
DBitmapUtils.java116 URLConnection urlConnection = null; in decodeSampledBitmapFromUriString() local
178 URLConnection urlConnection = new URL(uriString).openConnection(); in getUrlConnection() local
203 private static void close(Closeable closeable, URLConnection urlConnection) { in close()
/packages/apps/Test/connectivity/UID/src/com/android/tests/connectivity/uid/
DConnectivityTestActivity.java84 HttpURLConnection urlConnection = null; in httpRequest() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/
DEncryptionKeyFetcherTest.java181 EncryptionKeyFetcher fetcher, HttpsURLConnection urlConnection, String response) in prepareMockFetchEncryptionKeyResult()
190 EncryptionKeyFetcher fetcher, HttpsURLConnection urlConnection) throws IOException { in prepareMockRefetchEncryptionKeyNoChange()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateEncryptionKeyTestUtil.java63 HttpsURLConnection urlConnection, String response) throws IOException { in prepareMockAggregateEncryptionKeyFetcher()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementHttpClient.java81 final HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection(); in setup() local
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateEncryptionKeyFetcher.java172 HttpURLConnection urlConnection; in fetch() local
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java364 HttpURLConnection urlConnection = null; in httpClientTest() local
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java293 URLConnection urlConnection; in performTlsConnection() local
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncTriggerFetcher.java464 HttpURLConnection urlConnection = null; in fetchTrigger() local
DAsyncSourceFetcher.java894 HttpURLConnection urlConnection = null; in fetchSource() local
/packages/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java1534 HttpURLConnection urlConnection = null; in httpClientTest() local
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2208 HttpURLConnection urlConnection = null; in run() local
3005 HttpURLConnection urlConnection = null; in sendHttpProbe() local