Home
last modified time | relevance | path

Searched refs:setContentType (Results 1 – 25 of 44) sorted by relevance

12

/external/apache-http/src/org/apache/http/entity/
DAbstractHttpEntity.java134 public void setContentType(final Header contentType) { in setContentType() method in AbstractHttpEntity
146 public void setContentType(final String ctString) { in setContentType() method in AbstractHttpEntity
151 setContentType(h); in setContentType()
DFileEntity.java64 setContentType(contentType); in FileEntity()
DStringEntity.java70 setContentType(HTTP.PLAIN_TEXT_TYPE + HTTP.CHARSET_PARAM + charset); in StringEntity()
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentType.java88 this.setContentType(contentType, contentSubtype); in ContentType()
173 public void setContentType(String contentType, String contentSubType) { in setContentType() method in ContentType
185 public void setContentType(String contentType) throws ParseException { in setContentType() method in ContentType
DAccept.java168 public void setContentType(String type) { in setContentType() method in Accept
/external/apache-http/src/org/apache/http/client/entity/
DUrlEncodedFormEntity.java64 setContentType(URLEncodedUtils.CONTENT_TYPE); in UrlEncodedFormEntity()
78 setContentType(URLEncodedUtils.CONTENT_TYPE); in UrlEncodedFormEntity()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DAcceptParser.java80 accept.setContentType(token.getTokenValue()); in parse()
98 accept.setContentType(token.getTokenValue()); in parse()
DContentTypeParser.java69 contentType.setContentType(type.getTokenValue()); in parse()
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
DParamsParserTest.java18 entity.setContentType("application/x-www-form-urlencoded"); in parseParams_shouldParsePostEntitiesIntoParams()
28 entity.setContentType("application/x-www-form-urlencoded"); in parseParams_shouldParsePutEntitiesIntoParams()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DAudioAttributes.java64 public Builder setContentType(@C.AudioContentType int contentType) { in setContentType() method in AudioAttributes.Builder
126 .setContentType(contentType) in getAudioAttributesV21()
/external/nist-sip/java/javax/sip/header/
DMediaType.java10 void setContentType(String contentType) throws ParseException; in setContentType() method
DContentTypeHeader.java9 void setContentType(String contentType, String contentSubType) in setContentType() method
/external/apache-http/android/src/com/android/internal/http/multipart/
DPartBase.java124 public void setContentType(String contentType) { in setContentType() method in PartBase
DMultipartEntity.java143 setContentType(MULTIPART_FORM_CONTENT_TYPE); in MultipartEntity()
/external/grpc-grpc-java/gae-interop-testing/gae-jdk8/src/main/java/io/grpc/testing/integration/
DLongLivedChannel.java67 resp.setContentType("text/plain"); in doGet()
DNettyClientInteropServlet.java93 resp.setContentType("text/plain"); in doGetHelper()
/external/apache-http/src/org/apache/http/impl/entity/
DEntityDeserializer.java99 entity.setContentType(contentTypeHeader); in doDeserialize()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
DAsyncHttpURLConnection.java48 public void setContentType(String contentType) { in setContentType() method in AsyncHttpURLConnection
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAudioManagerTest.java270 new AudioAttributes.Builder().setContentType(AudioAttributes.CONTENT_TYPE_MOVIE).build(); in getActivePlaybackConfigurations()
272 new AudioAttributes.Builder().setContentType(AudioAttributes.CONTENT_TYPE_MUSIC).build(); in getActivePlaybackConfigurations()
/external/oboe/include/oboe/
DAudioStreamBuilder.h238 AudioStreamBuilder *setContentType(ContentType contentType) { in setContentType() function
/external/exoplayer/tree/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/
DCastTimelineTrackerTest.java126 .setContentType(MimeTypes.APPLICATION_MP4) in getMediaInfo()
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/
DSimpleAudioOutput.java138 .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC); in createAudioTrack()
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java104 resp.setContentType("text/html"); in doPost()
135 resp.setContentType("text/html"); in doGet()
/external/grpc-grpc-java/gae-interop-testing/gae-jdk7/src/main/java/io/grpc/testing/integration/
DOkHttpClientInteropServlet.java98 resp.setContentType("text/plain"); in doGetHelper()
/external/apache-http/src/org/apache/http/protocol/
DHttpService.java234 entity.setContentType("text/plain; charset=US-ASCII"); in handleException()

12