• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2007 Esmertec AG.
3  * Copyright (C) 2007 The Android Open Source Project
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 package com.google.android.mms.pdu;
19 
20 import android.compat.annotation.UnsupportedAppUsage;
21 
22 public class PduContentTypes {
23     /**
24      * All content types. From:
25      * http://www.openmobilealliance.org/tech/omna/omna-wsp-content-type.htm
26      */
27     @UnsupportedAppUsage
28     static final String[] contentTypes = {
29         "*/*",                                        /* 0x00 */
30         "text/*",                                     /* 0x01 */
31         "text/html",                                  /* 0x02 */
32         "text/plain",                                 /* 0x03 */
33         "text/x-hdml",                                /* 0x04 */
34         "text/x-ttml",                                /* 0x05 */
35         "text/x-vCalendar",                           /* 0x06 */
36         "text/x-vCard",                               /* 0x07 */
37         "text/vnd.wap.wml",                           /* 0x08 */
38         "text/vnd.wap.wmlscript",                     /* 0x09 */
39         "text/vnd.wap.wta-event",                     /* 0x0A */
40         "multipart/*",                                /* 0x0B */
41         "multipart/mixed",                            /* 0x0C */
42         "multipart/form-data",                        /* 0x0D */
43         "multipart/byterantes",                       /* 0x0E */
44         "multipart/alternative",                      /* 0x0F */
45         "application/*",                              /* 0x10 */
46         "application/java-vm",                        /* 0x11 */
47         "application/x-www-form-urlencoded",          /* 0x12 */
48         "application/x-hdmlc",                        /* 0x13 */
49         "application/vnd.wap.wmlc",                   /* 0x14 */
50         "application/vnd.wap.wmlscriptc",             /* 0x15 */
51         "application/vnd.wap.wta-eventc",             /* 0x16 */
52         "application/vnd.wap.uaprof",                 /* 0x17 */
53         "application/vnd.wap.wtls-ca-certificate",    /* 0x18 */
54         "application/vnd.wap.wtls-user-certificate",  /* 0x19 */
55         "application/x-x509-ca-cert",                 /* 0x1A */
56         "application/x-x509-user-cert",               /* 0x1B */
57         "image/*",                                    /* 0x1C */
58         "image/gif",                                  /* 0x1D */
59         "image/jpeg",                                 /* 0x1E */
60         "image/tiff",                                 /* 0x1F */
61         "image/png",                                  /* 0x20 */
62         "image/vnd.wap.wbmp",                         /* 0x21 */
63         "application/vnd.wap.multipart.*",            /* 0x22 */
64         "application/vnd.wap.multipart.mixed",        /* 0x23 */
65         "application/vnd.wap.multipart.form-data",    /* 0x24 */
66         "application/vnd.wap.multipart.byteranges",   /* 0x25 */
67         "application/vnd.wap.multipart.alternative",  /* 0x26 */
68         "application/xml",                            /* 0x27 */
69         "text/xml",                                   /* 0x28 */
70         "application/vnd.wap.wbxml",                  /* 0x29 */
71         "application/x-x968-cross-cert",              /* 0x2A */
72         "application/x-x968-ca-cert",                 /* 0x2B */
73         "application/x-x968-user-cert",               /* 0x2C */
74         "text/vnd.wap.si",                            /* 0x2D */
75         "application/vnd.wap.sic",                    /* 0x2E */
76         "text/vnd.wap.sl",                            /* 0x2F */
77         "application/vnd.wap.slc",                    /* 0x30 */
78         "text/vnd.wap.co",                            /* 0x31 */
79         "application/vnd.wap.coc",                    /* 0x32 */
80         "application/vnd.wap.multipart.related",      /* 0x33 */
81         "application/vnd.wap.sia",                    /* 0x34 */
82         "text/vnd.wap.connectivity-xml",              /* 0x35 */
83         "application/vnd.wap.connectivity-wbxml",     /* 0x36 */
84         "application/pkcs7-mime",                     /* 0x37 */
85         "application/vnd.wap.hashed-certificate",     /* 0x38 */
86         "application/vnd.wap.signed-certificate",     /* 0x39 */
87         "application/vnd.wap.cert-response",          /* 0x3A */
88         "application/xhtml+xml",                      /* 0x3B */
89         "application/wml+xml",                        /* 0x3C */
90         "text/css",                                   /* 0x3D */
91         "application/vnd.wap.mms-message",            /* 0x3E */
92         "application/vnd.wap.rollover-certificate",   /* 0x3F */
93         "application/vnd.wap.locc+wbxml",             /* 0x40 */
94         "application/vnd.wap.loc+xml",                /* 0x41 */
95         "application/vnd.syncml.dm+wbxml",            /* 0x42 */
96         "application/vnd.syncml.dm+xml",              /* 0x43 */
97         "application/vnd.syncml.notification",        /* 0x44 */
98         "application/vnd.wap.xhtml+xml",              /* 0x45 */
99         "application/vnd.wv.csp.cir",                 /* 0x46 */
100         "application/vnd.oma.dd+xml",                 /* 0x47 */
101         "application/vnd.oma.drm.message",            /* 0x48 */
102         "application/vnd.oma.drm.content",            /* 0x49 */
103         "application/vnd.oma.drm.rights+xml",         /* 0x4A */
104         "application/vnd.oma.drm.rights+wbxml",       /* 0x4B */
105         "application/vnd.wv.csp+xml",                 /* 0x4C */
106         "application/vnd.wv.csp+wbxml",               /* 0x4D */
107         "application/vnd.syncml.ds.notification",     /* 0x4E */
108         "audio/*",                                    /* 0x4F */
109         "video/*",                                    /* 0x50 */
110         "application/vnd.oma.dd2+xml",                /* 0x51 */
111         "application/mikey"                           /* 0x52 */
112     };
113 }
114