Searched defs:contentType (Results 1 - 19 of 19) sorted by relevance

/frameworks/av/media/libstagefright/
H A DDataSource.cpp112 String8 *contentType,
114 if (contentType != NULL) {
115 *contentType = "";
152 if (contentType != NULL) {
153 *contentType = httpSource->getMIMEType();
108 CreateFromURI( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers, String8 *contentType, HTTPBase *httpSource) argument
/frameworks/base/core/java/android/app/usage/
H A DUsageStatsManager.java290 * @param contentType The type of the content, e.g., Image, Video, App.
296 public void reportChooserSelection(String packageName, int userId, String contentType, argument
299 mService.reportChooserSelection(packageName, userId, contentType, annotations, action);
/frameworks/base/core/java/android/print/
H A DPrintDocumentInfo.java267 builder.append(", contentType=").append(contentTypeToString(mContentType));
273 private String contentTypeToString(int contentType) { argument
274 switch (contentType) {
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DHTTPHandler.java103 public ByteBuffer exchangeBinary(URL url, String message, String contentType) argument
106 exchangeWithRetry(url, message, HTTPMessage.Method.POST, contentType);
120 String contentType) throws IOException {
125 response = httpExchange(url, message, method, contentType);
146 String contentType)
148 HTTPRequest request = new HTTPRequest(message, mCharset, method, url, contentType, false);
159 contentType, true);
119 exchangeWithRetry(URL url, String message, HTTPMessage.Method method, String contentType) argument
145 httpExchange(URL url, String message, HTTPMessage.Method method, String contentType) argument
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
H A DConfigParser.java89 public String contentType = null; field in class:ConfigParser.MimeHeader
222 if (!TextUtils.equals(header.contentType, TYPE_MULTIPART_MIXED)) {
223 throw new IOException("Invalid content type: " + header.contentType);
273 if (!TextUtils.equals(header.contentType, TYPE_PASSPOINT_PROFILE) &&
274 !TextUtils.equals(header.contentType, TYPE_CA_CERT) &&
275 !TextUtils.equals(header.contentType, TYPE_PKCS12)) {
276 throw new IOException("Unexpected content type: " + header.contentType);
299 part.type = header.contentType;
323 header.contentType = value.first;
344 * @param contentType Th
348 parseContentType(String contentType) argument
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DSendReq.java53 * @param contentType the content type value
58 * NullPointerException if contentType, form or transactionId is null.
60 public SendReq(byte[] contentType, argument
66 setContentType(contentType);
H A DPduPart.java307 public void setContentType(byte[] contentType) { argument
308 if(contentType == null) {
312 mPartHeader.put(P_CONTENT_TYPE, contentType);
H A DPduPersister.java402 byte[] contentType = getByteArrayFromPartColumn(
404 if (contentType != null) {
405 part.setContentType(contentType);
429 String type = toIsoString(contentType);
712 String contentType = getPartContentType(part);
713 if (contentType != null) {
716 if (ContentType.IMAGE_JPG.equals(contentType)) {
717 contentType = ContentType.IMAGE_JPEG;
720 values.put(Part.CONTENT_TYPE, contentType);
722 if (ContentType.APP_SMIL.equals(contentType)) {
782 persistData(PduPart part, Uri uri, String contentType, HashMap<Uri, InputStream> preOpenedFiles) argument
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPRequest.java35 public HTTPRequest(String payload, Charset charset, Method method, URL url, String contentType, argument
49 mHeaderFields.put(ContentTypeHeader, contentType);
52 mHeaderFields.put(ContentTypeHeader, contentType + "; charset=" +
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWapPushOverSms.java293 String contentType = ((mimeType == null) ?
295 result.contentType = contentType;
296 if (DBG) Rlog.v(TAG, "appid found: " + wapAppId + ":" + contentType);
365 result.wapAppId, result.contentType, intent);
624 String contentType; field in class:WapPushOverSms.DecodedResult
/frameworks/opt/telephony/src/java/com/google/android/mms/
H A DContentType.java169 public static boolean isSupportedType(String contentType) { argument
170 return (null != contentType) && sSupportedContentTypes.contains(contentType);
173 public static boolean isSupportedImageType(String contentType) { argument
174 return isImageType(contentType) && isSupportedType(contentType);
177 public static boolean isSupportedAudioType(String contentType) { argument
178 return isAudioType(contentType) && isSupportedType(contentType);
181 public static boolean isSupportedVideoType(String contentType) { argument
185 isTextType(String contentType) argument
189 isImageType(String contentType) argument
193 isAudioType(String contentType) argument
197 isVideoType(String contentType) argument
201 isDrmType(String contentType) argument
207 isUnspecified(String contentType) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp330 String8 contentType = String8(pMimeType); local
331 contentType.toLower();
332 mimeString = MimeTypeUtil::convertMimeType(contentType);
508 String8 contentType = String8(pmime == NULL ? "" : pmime); local
509 contentType.toLower();
510 decryptHandle->mimeType = MimeTypeUtil::convertMimeType(contentType);
/frameworks/base/media/java/android/media/
H A DAudioAttributes.java540 * @param contentType the content type values, one of
548 public Builder setContentType(@AttributeContentType int contentType) { argument
549 switch (contentType) {
555 mContentType = contentType;
/frameworks/support/media-compat/java/android/support/v4/media/
H A DAudioAttributesCompat.java523 * @param contentType the content type values, one of {@link
531 public Builder setContentType(@AttributeContentType int contentType) { argument
532 switch (contentType) {
538 mContentType = contentType;
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c142 FwdLockConv_String_t contentType; member in struct:FwdLockConv_Session
475 if (pSession->contentType.ptr == NULL) {
504 if (pSession->contentType.ptr == NULL) {
506 pSession->contentType.ptr = malloc(sizeof strTextPlain);
507 if (pSession->contentType.ptr == NULL) {
510 memcpy(pSession->contentType.ptr, strTextPlain, sizeof strTextPlain);
511 pSession->contentType.length = strlenTextPlain;
512 pSession->contentType.maxLength = strlenTextPlain;
530 if (pSession->contentType.ptr == NULL) {
532 } else if (strcmp(pSession->contentType
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp354 String8 contentType; local
366 mHTTPService, uri, &mUriHeaders, &contentType,
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsService.java1519 public void reportChooserSelection(String packageName, int userId, String contentType, argument
1536 event.mContentType = contentType;
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 398 milliseconds