Home
last modified time | relevance | path

Searched refs:addRequestProperty (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/http/
DHttpRequest.java97 public Builder addRequestProperty(@NonNull String key, @NonNull String value) { in addRequestProperty() method in HttpRequest.Builder
107 public Builder addRequestProperty(@NonNull String key, @NonNull List<String> value) { in addRequestProperty() method in HttpRequest.Builder
DHttpClient.java125 connection.addRequestProperty(entry.getKey(), entry.getValue()); in createConnection()
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/
DCarrierSpecificServiceEntitlement.java108 .addRequestProperty(HttpHeaders.CONTENT_TYPE, MIME_TYPE_JSON) in CarrierSpecificServiceEntitlement()
109 .addRequestProperty(HttpHeaders.CONTENT_ENCODING, ENCODING_GZIP) in CarrierSpecificServiceEntitlement()
110 .addRequestProperty(HttpHeaders.ACCEPT, MIME_TYPE_JSON) in CarrierSpecificServiceEntitlement()
/packages/services/Telephony/src/com/android/phone/callcomposer/
DCallComposerPictureTransfer.java303 connection.addRequestProperty("Authorization", authorization); in downloadImageWithAuth()
428 connection.addRequestProperty("Authorization", authHeader);
429 connection.addRequestProperty("Content-Length",
431 connection.addRequestProperty("Content-Type", multipartEntity.getContentType().getValue());
432 connection.addRequestProperty("Accept-Encoding", "*");
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.kt118 c.addRequestProperty(name, value) in createConnection()
121 c.addRequestProperty(USER_AGENT_HEADER, mUserAgent) in createConnection()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java822 conn.addRequestProperty(header.first, header.second); in addRequestHeaders()
827 conn.addRequestProperty("User-Agent", mInfo.getUserAgent()); in addRequestHeaders()
840 conn.addRequestProperty("If-Match", mInfoDelta.mETag); in addRequestHeaders()
842 conn.addRequestProperty("Range", "bytes=" + mInfoDelta.mCurrentBytes + "-"); in addRequestHeaders()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DHttpUrlConnectionBuilder.java222 connection.addRequestProperty(entry.getKey(), entry.getValue()); in build()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DHttpClientTest.java234 .addRequestProperty(CONTENT_ENCODING, HttpClient.GZIP) in request_postGzipJsonArray()
285 .addRequestProperty(CONTENT_ENCODING, HttpClient.GZIP) in request_postGzipJsonArray_response_gunzipJsonArray()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DAfcClient.java151 httpRequestBuilder.addRequestProperty(requestProperty.getKey(), in getAfcHttpRequestObject()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java200 connection.addRequestProperty(key, value); in apply()