/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
MultipartTest.java | 55 StringBuffer contentType = new StringBuffer("multipart/form-data"); 56 contentType.append("; boundary="); 57 contentType.append(boundry); 58 assertEquals("Multipart content type error", contentType.toString(), h.getValue());
|
/packages/apps/Mms/src/com/android/mms/model/ |
TextModel.java | 38 public TextModel(Context context, String contentType, String src, RegionModel region) { 39 this(context, contentType, src, CharacterSets.UTF_8, new byte[0], region); 42 public TextModel(Context context, String contentType, String src, 44 super(context, SmilHelper.ELEMENT_TAG_TEXT, contentType, src,
|
/external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/ |
MediaKeyNeededEvent.h | 37 String contentType; 57 String contentType() const { return m_contentType; }
|
HTMLMediaElementEncryptedMedia.cpp | 108 static PassRefPtrWillBeRawPtr<Event> createNeedKeyEvent(const String& contentType, const unsigned char* initData, unsigned initDataLength) 111 initializer.contentType = contentType; 120 static PassRefPtrWillBeRawPtr<Event> createWebkitNeedKeyEvent(const String& contentType, const unsigned char* initData, unsigned initDataLength) 315 void HTMLMediaElementEncryptedMedia::keyNeeded(HTMLMediaElement& element, const String& contentType, const unsigned char* initData, unsigned initDataLength) 317 WTF_LOG(Media, "HTMLMediaElementEncryptedMedia::mediaPlayerKeyNeeded: contentType=%s", contentType.utf8().data()); 321 RefPtrWillBeRawPtr<Event> event = createNeedKeyEvent(contentType, initData, initDataLength); 328 RefPtrWillBeRawPtr<Event> event = createWebkitNeedKeyEvent(contentType, initData, initDataLength);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
ContentType.h | 35 class PLATFORM_EXPORT ContentType { 37 explicit ContentType(const String& type);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTestIncompatibleException.java | 62 String contentType) { 67 buf.append(contentType);
|
DOMTest.java | 132 public String getResourceURI(String href, String scheme, String contentType) throws 145 if ("application/pdf".equals(contentType)) { 214 public void preload(String contentType, String docURI, boolean willBeModified) throws 216 if ("text/html".equals(contentType) || 217 "application/xhtml+xml".equals(contentType)) { 219 throw DOMTestIncompatibleException.incompatibleLoad(docURI, contentType);
|
DOMTestDocumentBuilderFactory.java | 128 String contentType = getContentType(); 129 if ("text/html".equals(contentType)) { 132 if ("image/svg+xml".equals(contentType)) { 135 if ("application/xhtml+xml".equals(contentType)) { 152 return System.getProperty("org.w3c.domts.contentType", "text/xml");
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
SignerInfoGenerator.java | 170 public SignerInfo generate(ASN1ObjectIdentifier contentType) 192 Map parameters = getBaseParameters(contentType, digester.getAlgorithmIdentifier(), calculatedDigest); 223 Map parameters = getBaseParameters(contentType, digestAlg, calculatedDigest); 258 private Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash) 262 if (contentType != null) 264 param.put(CMSAttributeTableGenerator.CONTENT_TYPE, contentType);
|
/frameworks/base/core/java/android/text/method/ |
BaseKeyListener.java | 132 int contentType = InputType.TYPE_CLASS_TEXT; 135 contentType |= InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS; 138 contentType |= InputType.TYPE_TEXT_FLAG_CAP_WORDS; 141 contentType |= InputType.TYPE_TEXT_FLAG_CAP_SENTENCES; 145 contentType |= InputType.TYPE_TEXT_FLAG_AUTO_CORRECT; 147 return contentType;
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeBodyPart.java | 98 String contentType = String.format("%s;\n charset=utf-8", getMimeType()); 101 contentType += String.format(";\n name=\"%s\"", name); 103 setHeader(MimeHeader.HEADER_CONTENT_TYPE, contentType); 110 String contentType = getFirstHeader(MimeHeader.HEADER_CONTENT_TYPE); 111 if (contentType == null) { 114 return contentType;
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
FilePart.java | 86 * @param contentType the content type for this part, if <code>null</code> the 91 public FilePart(String name, PartSource partSource, String contentType, String charset) { 95 contentType == null ? DEFAULT_CONTENT_TYPE : contentType, 135 * @param contentType the content type for this part, if <code>null</code> the 143 public FilePart(String name, File file, String contentType, String charset) 145 this(name, new FilePartSource(file), contentType, charset); 169 * @param contentType the content type for this part, if <code>null</code> the 177 public FilePart(String name, String fileName, File file, String contentType, String charset) 179 this(name, new FilePartSource(fileName, file), contentType, charset) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Attachment.java | 96 private String contentType; 178 contentType = in.readString(); 199 contentType = cursor.getString(cursor.getColumnIndex(AttachmentColumns.CONTENT_TYPE)); 220 contentType = srcJson.optString(AttachmentColumns.CONTENT_TYPE, null); 248 contentType = MimeType.inferMimeType(name, part.getMimeType()); 293 contentType = values.getAsString(AttachmentColumns.CONTENT_TYPE); 318 values.put(AttachmentColumns.CONTENT_TYPE, contentType); 340 dest.writeString(contentType); 359 result.put(AttachmentColumns.CONTENT_TYPE, contentType); 473 inferredContentType = MimeType.inferMimeType(name, contentType); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppsCustomizeTabHost.java | 76 void setContentTypeImmediate(AppsCustomizePagedView.ContentType type) { 84 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Applications); 87 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Widgets); 197 private void onTabChangedEnd(AppsCustomizePagedView.ContentType type) { 203 final AppsCustomizePagedView.ContentType type = getContentTypeForTabTag(tabId); 298 public void setCurrentTabFromContent(AppsCustomizePagedView.ContentType type) { 307 public AppsCustomizePagedView.ContentType getContentTypeForTabTag(String tag) { 309 return AppsCustomizePagedView.ContentType.Applications; 311 return AppsCustomizePagedView.ContentType.Widgets; 313 return AppsCustomizePagedView.ContentType.Applications [all...] |
/frameworks/av/media/libstagefright/ |
DataSource.cpp | 189 String8 *contentType, 191 if (contentType != NULL) { 192 *contentType = ""; 242 if (contentType != NULL) { 243 *contentType = httpSource->getMIMEType();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar | |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/ |
org.eclipse.core.contenttype_3.4.200.v20130326-1255.jar | |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.eclipse.core.contenttype_3.4.200.v20130326-1255.jar | |
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
Crawler.java | 86 String contentType = connection.getHeaderField("Content-Type"); 97 if (responseCode != 200 || contentType == null) { 102 MediaType mediaType = MediaType.parse(contentType);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
HttpHeaderParser.java | 122 String contentType = headers.get(HTTP.CONTENT_TYPE); 123 if (contentType != null) { 124 String[] params = contentType.split(";");
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_attrappendchild5.java | 50 String contentType = getContentType(); 51 preload(contentType, "hc_staff", true); 52 preload(contentType, "hc_staff", true);
|
hc_attrinsertbefore6.java | 50 String contentType = getContentType(); 51 preload(contentType, "hc_staff", true); 52 preload(contentType, "hc_staff", true);
|
hc_documentgetimplementation.java | 32 * "getImplementation()" method. If contentType="text/html", 53 String contentType = getContentType(); 54 preload(contentType, "hc_staff", false);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
attrgetownerelement04.java | 60 String contentType = getContentType(); 61 preload(contentType, "staffNS", false); 62 preload(contentType, "staff", false);
|
createDocument04.java | 61 String contentType = getContentType(); 62 preload(contentType, "staffNS", false); 63 preload(contentType, "staffNS", false);
|