/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | MediaTypeTest.java | 38 MediaType mediaType = MediaType.parse("text/plain;boundary=foo;charset=utf-8"); in testParse() local 39 assertEquals("text", mediaType.type()); in testParse() 40 assertEquals("plain", mediaType.subtype()); in testParse() 41 assertEquals("UTF-8", mediaType.charset().name()); in testParse() 42 assertEquals("text/plain;boundary=foo;charset=utf-8", mediaType.toString()); in testParse() 43 assertTrue(mediaType.equals(MediaType.parse("text/plain;boundary=foo;charset=utf-8"))); in testParse() 44 assertEquals(mediaType.hashCode(), in testParse() 91 MediaType mediaType = MediaType.parse( in testParseWithSpecialCharacters() local 93 assertEquals("!#$%&'*+-.{|}~", mediaType.type()); in testParseWithSpecialCharacters() 94 assertEquals("!#$%&'*+-.{|}~", mediaType.subtype()); in testParseWithSpecialCharacters() [all …]
|
D | InterceptorTest.java | 220 MediaType mediaType = MediaType.parse("text/plain"); in networkInterceptorsCanChangeRequestMethodFromGetToPost() 221 RequestBody body = RequestBody.create(mediaType, "abc"); in networkInterceptorsCanChangeRequestMethodFromGetToPost() 224 .header("Content-Type", mediaType.toString()) in networkInterceptorsCanChangeRequestMethodFromGetToPost()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | MediaType.java | 34 private final String mediaType; field in MediaType 39 private MediaType(String mediaType, String type, String subtype, String charset) { in MediaType() argument 40 this.mediaType = mediaType; in MediaType() 113 return mediaType; in toString() 117 return o instanceof MediaType && ((MediaType) o).mediaType.equals(mediaType); in equals() 121 return mediaType.hashCode(); in hashCode()
|
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
D | HttpEntityBody.java | 14 private final MediaType mediaType; field in HttpEntityBody 20 mediaType = MediaType.parse(contentTypeHeader); in HttpEntityBody() 22 mediaType = MediaType.parse(entity.getContentType().getValue()); in HttpEntityBody() 26 mediaType = DEFAULT_MEDIA_TYPE; in HttpEntityBody() 35 return mediaType; in contentType()
|
/external/guava/guava-gwt/test-super/com/google/common/net/super/com/google/common/net/ |
D | MediaTypeTest.java | 140 MediaType mediaType = MediaType.parse("text/plain"); in testWithParameters_invalidAttribute() local 144 mediaType.withParameters(parameters); in testWithParameters_invalidAttribute() 161 MediaType mediaType = MediaType.parse("text/plain"); in testWithParameter_invalidAttribute() local 163 mediaType.withParameter("@", "2"); in testWithParameter_invalidAttribute() 282 MediaType mediaType = MediaType.parse("text/plain; charset=utf-8; charset=utf-16"); in testGetCharset_tooMany() local 284 mediaType.charset(); in testGetCharset_tooMany() 290 MediaType mediaType = MediaType.parse( in testGetCharset_illegalCharset() local 293 mediaType.charset(); in testGetCharset_illegalCharset() 299 MediaType mediaType = MediaType.parse( in testGetCharset_unsupportedCharset() local 302 mediaType.charset(); in testGetCharset_unsupportedCharset()
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | WebSocketRecorder.java | 148 public final MediaType mediaType; field in WebSocketRecorder.Message 151 private Message(MediaType mediaType) { in Message() argument 152 this.mediaType = mediaType; in Message() 156 return "Message[" + mediaType + " " + buffer + "]"; in toString() 160 return mediaType.hashCode() * 37 + buffer.hashCode(); in hashCode() 166 return mediaType.equals(other.mediaType) && buffer.equals(other.buffer); in equals()
|
/external/guava/guava-tests/test/com/google/common/net/ |
D | MediaTypeTest.java | 200 MediaType mediaType = MediaType.parse("text/plain"); 204 mediaType.withParameters(parameters); 221 MediaType mediaType = MediaType.parse("text/plain"); 223 mediaType.withParameter("@", "2"); 347 MediaType mediaType = MediaType.parse("text/plain; charset=utf-8; charset=utf-16"); 349 mediaType.charset(); 355 MediaType mediaType = MediaType.parse( 358 mediaType.charset(); 364 MediaType mediaType = MediaType.parse( 367 mediaType.charset();
|
/external/guava/guava/src/com/google/common/net/ |
D | MediaType.java | 119 private static MediaType addKnownType(MediaType mediaType) { in addKnownType() argument 120 KNOWN_TYPES.put(mediaType, mediaType); in addKnownType() 121 return mediaType; in addKnownType() 451 MediaType mediaType = new MediaType(type, subtype, builder.build()); 453 return MoreObjects.firstNonNull(KNOWN_TYPES.get(mediaType), mediaType); 576 MediaType mediaType = new MediaType(normalizedType, normalizedSubtype, builder.build()); 578 return MoreObjects.firstNonNull(KNOWN_TYPES.get(mediaType), mediaType);
|
/external/caliper/lib/ |
D | jersey-core-1.11.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/jersey-module- ... |
D | jsr311-api-1.1.1.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/ws/
javax/ ... |
D | jersey-client-1.11.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/external/autotest/client/site_tests/video_YouTubeMseEme/files/ |
D | video_YouTubeMseEme.js | 414 function createWidevineTest(mediaType) { argument 418 var codecString = mediaType;
|
/external/libpcap/msdos/ |
D | ndis2.c | 79 static int mediaType = 0; variable 840 switch (mediaType) in NdisInit()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | ToUnknownStream.java | 686 public void setMediaType(String mediaType) in setMediaType() argument 688 m_handler.setMediaType(mediaType); in setMediaType()
|
D | SerializerBase.java | 730 public void setMediaType(String mediaType) in setMediaType() argument 732 setOutputProperty(OutputKeys.MEDIA_TYPE,mediaType); in setMediaType()
|
/external/wpa_supplicant_8/hs20/server/ca/ |
D | openssl.cnf | 145 mediaType=IA5STRING:image/png
|
/external/wpa_supplicant_8/src/utils/ |
D | http_curl.c | 290 ASN1_IA5STRING *mediaType; member 366 ASN1_SIMPLE(LogotypeDetails, mediaType, ASN1_IA5STRING), 611 if (details->mediaType) { in i2r_LogotypeDetails() 613 ASN1_STRING_print(out, details->mediaType); in i2r_LogotypeDetails()
|
/external/guice/lib/ |
D | guava-16.0.1.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/external/dagger2/lib/ |
D | google-java-format-0.1-20151017.042846-2.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/robolectric/v3/runtime/ |
D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-4.4_r1-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-4.3_r2-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |