Home
last modified time | relevance | path

Searched refs:setRequestProperty (Results 1 – 25 of 42) sorted by relevance

12

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/
DDefaultHttpDataSourceTest.java80 defaultHttpDataSource.setRequestProperty("1", dataSourceInstanceParameter); in open_withSpecifiedRequestParameters_usesCorrectParameters()
81 defaultHttpDataSource.setRequestProperty("2", dataSourceInstanceParameter); in open_withSpecifiedRequestParameters_usesCorrectParameters()
82 defaultHttpDataSource.setRequestProperty("3", dataSourceInstanceParameter); in open_withSpecifiedRequestParameters_usesCorrectParameters()
83 defaultHttpDataSource.setRequestProperty("4", dataSourceInstanceParameter); in open_withSpecifiedRequestParameters_usesCorrectParameters()
134 .setRequestProperty(ArgumentMatchers.anyString(), ArgumentMatchers.anyString()); in makeMockHttpUrlConnection()
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DHttpTransportSE.java158 connection.setRequestProperty("User-Agent", USER_AGENT); in call()
163 connection.setRequestProperty("SOAPAction", soapAction); in call()
167 connection.setRequestProperty("Content-Type", CONTENT_TYPE_SOAP_XML_CHARSET_UTF_8); in call()
169 connection.setRequestProperty("Content-Type", CONTENT_TYPE_XML_CHARSET_UTF_8); in call()
174 connection.setRequestProperty("Accept-Encoding", "gzip"); in call()
181 connection.setRequestProperty(hp.getKey(), hp.getValue()); in call()
295 connection.setRequestProperty("Content-Length", "" + requestData.length); in sendData()
DHttpsServiceConnectionSEIgnoringConnectionClose.java15 public void setRequestProperty(String key, String value) { in setRequestProperty() method in HttpsServiceConnectionSEIgnoringConnectionClose
21 super.setRequestProperty(key, value); in setRequestProperty()
DServiceConnectionSE.java108 public void setRequestProperty(String string, String soapAction) { in setRequestProperty() method in ServiceConnectionSE
109 connection.setRequestProperty(string, soapAction); in setRequestProperty()
DHttpsServiceConnectionSE.java117 public void setRequestProperty(String key, String value) { in setRequestProperty() method in HttpsServiceConnectionSE
118 connection.setRequestProperty(key, value); in setRequestProperty()
DKeepAliveHttpsTransportSE.java46 serviceConnection.setRequestProperty("Connection", "keep-alive"); in getServiceConnection()
/external/exoplayer/tree/extensions/okhttp/src/test/java/com/google/android/exoplayer2/ext/okhttp/
DOkHttpDataSourceTest.java76 okHttpDataSource.setRequestProperty("1", okHttpDataSourceValue); in open_setsCorrectHeaders()
77 okHttpDataSource.setRequestProperty("2", okHttpDataSourceValue); in open_setsCorrectHeaders()
78 okHttpDataSource.setRequestProperty("3", okHttpDataSourceValue); in open_setsCorrectHeaders()
79 okHttpDataSource.setRequestProperty("4", okHttpDataSourceValue); in open_setsCorrectHeaders()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java903 connection1.setRequestProperty("Cache-Control", "no-store"); in clientSideNoStore()
1037 maxStaleConnection.setRequestProperty("Cache-Control", "max-stale"); in requestMaxStaleDirectiveWithNoValue()
1111 connection.setRequestProperty("Cache-Control", "no-cache"); in requestCacheControlNoCache()
1126 connection.setRequestProperty("Pragma", "no-cache"); in requestPragmaNoCache()
1269 frenchConnection.setRequestProperty("Accept-Language", "fr-CA"); in varyMatchesChangedRequestHeaderField()
1273 englishConnection.setRequestProperty("Accept-Language", "en-US"); in varyMatchesChangedRequestHeaderField()
1287 frenchConnection1.setRequestProperty("Accept-Language", "fr-CA"); in varyMatchesUnchangedRequestHeaderField()
1291 frenchConnection2.setRequestProperty("Accept-Language", "fr-CA"); in varyMatchesUnchangedRequestHeaderField()
1317 connection2.setRequestProperty("Foo", "bar"); in varyMatchesAddedRequestHeaderField()
1330 connection1.setRequestProperty("Foo", "bar"); in varyMatchesRemovedRequestHeaderField()
[all …]
DCacheAdapterTest.java96 connection.setRequestProperty("key1", "value1"); in get_httpGet()
121 connection.setRequestProperty("key1", "value1"); in get_httpsGet()
163 connection.setRequestProperty("key", "value"); in put_httpGet()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_URLConnector.java74 public void setRequestProperty(String key, String value) throws IOException { in setRequestProperty() method in Support_URLConnector
75 instance.setRequestProperty(key, value); in setRequestProperty()
DSupport_HttpConnector.java40 public void setRequestProperty(String key, String value) throws IOException; in setRequestProperty() method
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DGithubFeedbackTask.java99 httpURLConnection.setRequestProperty("User-Agent", userAgent); in sendFeedback()
100 httpURLConnection.setRequestProperty("Content-Type", "application/json"); in sendFeedback()
104 httpURLConnection.setRequestProperty("Authorization", "token " + token); in sendFeedback()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
DAsyncHttpURLConnection.java77 connection.setRequestProperty("Content-Type", "text/plain; charset=utf-8"); in sendHttpMessage()
79 connection.setRequestProperty("Content-Type", contentType); in sendHttpMessage()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DDefaultHttpDataSource.java253 public void setRequestProperty(String name, String value) { in setRequestProperty() method in DefaultHttpDataSource
528 connection.setRequestProperty(property.getKey(), property.getValue()); in makeConnection()
536 connection.setRequestProperty("Range", rangeRequest); in makeConnection()
538 connection.setRequestProperty("User-Agent", userAgent); in makeConnection()
539 connection.setRequestProperty("Accept-Encoding", allowGzip ? "gzip" : "identity"); in makeConnection()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
DServiceConnection.java72 public void setRequestProperty(String propertyName, String value) throws IOException; in setRequestProperty() method
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DExcludedProxyTest.java96 conn4.setRequestProperty("Content-length", String.valueOf(posted4 in test_usingProxy()
175 conn.setRequestProperty("Content-length", String.valueOf(posted in test_openConnectionLjava_net_Proxy()
/external/opencensus-java/contrib/monitored_resource_util/src/main/java/io/opencensus/contrib/monitoredresource/util/
DGcpMetadataConfig.java72 connection.setRequestProperty("Metadata-Flavor", "Google"); in getAttribute()
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java258 @Override public void setRequestProperty(String field, String newValue) { in setRequestProperty() method in DelegatingHttpsURLConnection
259 delegate.setRequestProperty(field, newValue); in setRequestProperty()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java257 @Override public void setRequestProperty(String field, String newValue) { in setRequestProperty() method in DelegatingHttpsURLConnection
258 delegate.setRequestProperty(field, newValue); in setRequestProperty()
/external/volley/src/main/java/com/android/volley/toolbox/
DHurlStack.java87 connection.setRequestProperty(headerName, map.get(headerName)); in executeRequest()
297 connection.setRequestProperty( in addBody()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DLogUploader.java56 urlConnection.setRequestProperty("Content-Type", "text/plain"); in loadInBackground()
/external/exoplayer/tree/extensions/cronet/src/test/java/com/google/android/exoplayer2/ext/cronet/
DCronetDataSourceTest.java228 dataSourceUnderTest.setRequestProperty("defaultHeader2", "dataSourceOverridesDefault"); in requestHeadersSet()
229 dataSourceUnderTest.setRequestProperty("dataSourceHeader1", "dataSourceValue1"); in requestHeadersSet()
230 dataSourceUnderTest.setRequestProperty("dataSourceHeader2", "dataSourceValue2"); in requestHeadersSet()
376 dataSourceUnderTest.setRequestProperty("Content-Type", TEST_CONTENT_TYPE); in postRequestOpen()
400 dataSourceUnderTest.setRequestProperty("Content-Type", TEST_CONTENT_TYPE); in postRequestOpenRejects307Redirects()
1076 dataSourceUnderTest.setRequestProperty("Content-Type", TEST_CONTENT_TYPE); in testRedirectParseAndAttachCookie_dataSourceHandlesSetCookie_andPreservesOriginalRequestHeaders()
1106 dataSourceUnderTest.setRequestProperty("Content-Type", TEST_CONTENT_TYPE); in testRedirectParseAndAttachCookie_dataSourceHandlesSetCookie_andPreservesOriginalRequestHeadersIncludingByteRangeHeader()
/external/oauth/core/src/main/java/net/oauth/client/
DURLConnectionClient.java80 connection.setRequestProperty(key, header.getValue()); in execute()
/external/ksoap2/
D0001-ksoap2-update.patch2301 connection.setRequestProperty("User-Agent", USER_AGENT);
2308 - connection.setRequestProperty("SOAPAction", soapAction);
2311 + connection.setRequestProperty("SOAPAction", soapAction);
2315 - connection.setRequestProperty("Content-Type", CONTENT_TYPE_SOAP_XML_CHARSET_UTF_8);
2317 - connection.setRequestProperty("Content-Type", CONTENT_TYPE_XML_CHARSET_UTF_8);
2320 + connection.setRequestProperty("Content-Type", CONTENT_TYPE_SOAP_XML_CHARSET_UTF_8);
2322 + connection.setRequestProperty("Content-Type", CONTENT_TYPE_XML_CHARSET_UTF_8);
2325 - connection.setRequestProperty("Connection", "close");
2326 - connection.setRequestProperty("Accept-Encoding", "gzip");
2327 - connection.setRequestProperty("Content-Length", "" + requestData.length);
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DHttpMediaDrmCallback.java143 dataSource.setRequestProperty(requestProperty.getKey(), requestProperty.getValue()); in executePost()

12