/libcore/ojluni/src/main/java/java/net/ |
ContentHandlerFactory.java | 46 * @param mimetype the MIME type for which a content handler is desired. 53 ContentHandler createContentHandler(String mimetype);
|
/frameworks/base/core/java/android/webkit/ |
DownloadListener.java | 27 * @param mimetype The mimetype of the content reported by the server 31 String contentDisposition, String mimetype, long contentLength);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForCustomMimetype.java | 24 AbstractContactAggregator aggregator, String mimetype) { 25 super(context, dbHelper, aggregator, mimetype);
|
DataRowHandlerForCommonDataKind.java | 36 AbstractContactAggregator aggregator, String mimetype, String typeColumn, 38 super(context, dbHelper, aggregator, mimetype);
|
/packages/apps/Contacts/src/com/android/contacts/ |
TypePrecedence.java | 79 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype. 81 * @param mimetype The mimetype of the data with which the type is associated. 86 public static int getTypePrecedence(String mimetype, int type) { 87 int[] typePrecedence = getTypePrecedenceList(mimetype); 101 private static int[] getTypePrecedenceList(String mimetype) { 102 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { 104 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { 106 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) { 108 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE)) [all...] |
SplitAggregateView.java | 57 Data.MIMETYPE, RawContacts.ACCOUNT_TYPE, RawContacts.DATA_SET, Data.RAW_CONTACT_ID, 62 int MIMETYPE = 0; 174 String mimetype = cursor.getString(SplitQuery.MIMETYPE); local 175 if (StructuredName.CONTENT_ITEM_TYPE.equals(mimetype)) { 177 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { 179 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) { 181 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimetype)) {
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
TypePrecedence.java | 71 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype. 73 * @param mimetype The mimetype of the data with which the type is associated. 78 public static int getTypePrecedence(String mimetype, int type) { 79 int[] typePrecedence = getTypePrecedenceList(mimetype); 93 private static int[] getTypePrecedenceList(String mimetype) { 94 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { 96 } else if (mimetype.equals(Constants.MIME_SMS_ADDRESS)) { 98 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { 100 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
DownloadDrmHelper.java | 39 * @param mimetype Media Type to check 42 public static boolean isDrmMimeType(Context context, String mimetype) { 47 if (drmClient != null && mimetype != null && mimetype.length() > 0) { 48 result = drmClient.canHandle("", mimetype); 63 * @param mimetype Media type of the content 66 public static boolean isDrmConvertNeeded(String mimetype) { 67 return MIMETYPE_DRM_MESSAGE.equals(mimetype);
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
DownloadDrmHelper.java | 39 * @param mimetype Media Type to check 42 public static boolean isDrmMimeType(Context context, String mimetype) { 47 if (drmClient != null && mimetype != null && mimetype.length() > 0) { 48 result = drmClient.canHandle("", mimetype); 63 * @param mimetype Media type of the content 66 public static boolean isDrmConvertNeeded(String mimetype) { 67 return MIMETYPE_DRM_MESSAGE.equals(mimetype);
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ffmpeg/ |
IFfmpegDecoder.aidl | 23 void resetDecoderState(String mimetype);
|
FfmpegDecoderService.java | 149 public void resetDecoderState(String mimetype) { 150 mDecoder.resetDecoderState(mimetype);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadDrmHelper.java | 38 * @param mimetype Media type of the content 41 public static boolean isDrmConvertNeeded(String mimetype) { 42 return MIMETYPE_DRM_MESSAGE.equals(mimetype);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppShareInfo.java | 71 public BluetoothOppShareInfo(int id, Uri uri, String hint, String filename, String mimetype, 78 mMimetype = mimetype;
|
BluetoothOppUtility.java | 124 .getColumnIndexOrThrow(BluetoothShare.MIMETYPE)); 176 public static void openReceivedFile(Context context, String fileName, String mimetype, 178 if (fileName == null || mimetype == null) { 179 Log.e(TAG, "ERROR: Para fileName ==null, or mimetype == null"); 214 if (isRecognizedFileType(context, path, mimetype)) { 216 activityIntent.setDataAndTypeAndNormalize(path, mimetype); 226 if (V) Log.d(TAG, "ACTION_VIEW intent sent out: " + path + " / " + mimetype); 229 if (V) Log.d(TAG, "no activity for handling ACTION_VIEW intent: " + mimetype, ex); 244 public static boolean isRecognizedFileType(Context context, Uri fileUri, String mimetype) { 247 if (D) Log.d(TAG, "RecognizedFileType() fileUri: " + fileUri + " mimetype: " + mimetype) [all...] |
/packages/providers/MediaProvider/tools/genfiles/ |
genfiles.sh | 54 while read format mediatype mimetype data; 121 echo ignored: $format '|' $mediatype '|' $mimetype '|' $data
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaFrameworkTest.java | 86 String mimetype = MediaFormat.MIMETYPE_AUDIO_MPEG; local 89 intent.setDataAndType(path, mimetype);
|
/packages/providers/ContactsProvider/tests/assets/upgradeTest/ |
contacts2_1108.sql | 22 CREATE TABLE mimetypes (_id INTEGER PRIMARY KEY AUTOINCREMENT,mimetype TEXT NOT NULL); 34 CREATE TABLE data (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_id INTEGER REFERENCES package(_id),mimetype_id INTEGER REFERENCES mimetype(_id) NOT NULL,raw_contact_id INTEGER REFERENCES raw_contacts(_id) NOT NULL,hash_id TEXT,is_read_only INTEGER NOT NULL DEFAULT 0,is_primary INTEGER NOT NULL DEFAULT 0,is_super_primary INTEGER NOT NULL DEFAULT 0,data_version INTEGER NOT NULL DEFAULT 0,data1 TEXT,data2 TEXT,data3 TEXT,data4 TEXT,data5 TEXT,data6 TEXT,data7 TEXT,data8 TEXT,data9 TEXT,data10 TEXT,data11 TEXT,data12 TEXT,data13 TEXT,data14 TEXT,data15 TEXT,data_sync1 TEXT, data_sync2 TEXT, data_sync3 TEXT, data_sync4 TEXT, carrier_presence INTEGER NOT NULL DEFAULT 0 ); 124 CREATE UNIQUE INDEX mime_type ON mimetypes (mimetype); 139 CREATE VIEW view_data AS SELECT data._id AS _id,hash_id, raw_contact_id, raw_contacts.contact_id AS contact_id, raw_contacts.account_id,accounts.account_name AS account_name,accounts.account_type AS account_type,accounts.data_set AS data_set,(CASE WHEN accounts.data_set IS NULL THEN accounts.account_type ELSE accounts.account_type||'/'||accounts.data_set END) AS account_type_and_data_set,raw_contacts.sourceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4, is_primary, is_super_primary, data_version, data.package_id,package AS res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, carrier_presence, data_sync1, data_sync2, data_sync3, data_sync4, contacts.custom_ringtone AS custom_ringtone,contacts.send_to_voicemail AS send_to_voicemail,contacts.last_time_contacted AS last_time_contacted,contacts.times_contacted AS times_contacted,contacts.starred AS starred,contacts.pinned AS pinned, name_raw_contact.display_name_source AS display_name_source, name_raw_contact.display_name AS display_name, name_raw_contact.display_name_alt AS display_name_alt, name_raw_contact.phonetic_name AS phonetic_name, name_raw_contact.phonetic_name_style AS phonetic_name_style, name_raw_contact.sort_key AS sort_key, name_raw_contact.phonebook_label AS phonebook_label, name_raw_contact.phonebook_bucket AS phonebook_bucket, name_raw_contact.sort_key_alt AS sort_key_alt, name_raw_contact.phonebook_label_alt AS phonebook_label_alt, name_raw_contact.phonebook_bucket_alt AS phonebook_bucket_alt, has_phone_number, name_raw_contact_id, lookup, photo_id, photo_file_id, CAST(EXISTS (SELECT _id FROM visible_contacts WHERE contacts._id=visible_contacts._id) AS INTEGER) AS in_visible_group, CAST(EXISTS (SELECT _id FROM default_directory WHERE contacts._id=default_directory._id) AS INTEGER) AS in_default_directory, status_update_id, contacts.contact_last_updated_timestamp, (CASE WHEN photo_file_id IS NULL THEN (CASE WHEN photo_id IS NULL OR photo_id=0 THEN NULL ELSE 'content://com.android.contacts/contacts/'||raw_contacts.contact_id|| '/photo' END) ELSE 'content://com.android.contacts/display_photo/'||photo_file_id END) AS photo_uri, (CASE WHEN photo_id IS NULL OR photo_id=0 THEN NULL ELSE 'content://com.android.contacts/contacts/'||raw_contacts.contact_id|| '/photo' END) AS photo_thumb_uri, 0 AS raw_contact_is_user_profile, groups.sourceid AS group_sourceid FROM data JOIN mimetypes ON (data.mimetype_id=mimetypes._id) JOIN raw_contacts ON (data.raw_contact_id=raw_contacts._id) JOIN accounts ON (raw_contacts.account_id=accounts._id) JOIN contacts ON (raw_contacts.contact_id=contacts._id) JOIN raw_contacts AS name_raw_contact ON(name_raw_contact_id=name_raw_contact._id) LEFT OUTER JOIN packages ON (data.package_id=packages._id) LEFT OUTER JOIN groups ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership' AND groups._id=data.data1); 142 CREATE VIEW view_raw_entities AS SELECT contact_id, raw_contacts.deleted AS deleted,raw_contacts.metadata_dirty, is_primary, is_super_primary, data_version, data.package_id,package AS res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, carrier_presence, data_sync1, data_sync2, data_sync3, data_sync4, raw_contacts.account_id,accounts.account_name AS account_name,accounts.account_type AS account_type,accounts.data_set AS data_set,(CASE WHEN accounts.data_set IS NULL THEN accounts.account_type ELSE accounts.account_type||'/'||accounts.data_set END) AS account_type_and_data_set,raw_contacts.sourceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4, data_sync1, data_sync2, data_sync3, data_sync4, raw_contacts._id AS _id, data._id AS data_id,raw_contacts.starred AS starred,0 AS raw_contact_is_user_profile,groups.sourceid AS group_sourceid FROM raw_contacts JOIN accounts ON (raw_contacts.account_id=accounts._id) LEFT OUTER JOIN data ON (data.raw_contact_id=raw_contacts._id) LEFT OUTER JOIN packages ON (data.package_id=packages._id) LEFT OUTER JOIN mimetypes ON (data.mimetype_id=mimetypes._id) LEFT OUTER JOIN groups ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership' AND groups._id=data.data1); 143 CREATE VIEW view_entities AS SELECT raw_contacts.contact_id AS _id, raw_contacts.contact_id AS contact_id, raw_contacts.deleted AS deleted,raw_contacts.metadata_dirty, is_primary, is_super_primary, data_version, data.package_id,package AS res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, (…) [all...] |
/external/curl/docs/examples/ |
curlx.c | 110 " -mimetype arg - MIME type for data in ex : application/timestamp-query" 122 -mimetype application/dvcs -acceptmime application/dvcs -out response 278 char *mimetype; local 342 else if(strcmp(*args, "-mimetype") == 0) { 344 mimetype = *(++args); 372 if(mimetype==NULL || mimetypeaccept == NULL) 484 contenttype = malloc(15+strlen(mimetype)); 485 snprintf(contenttype, 15+strlen(mimetype), "Content-type: %s", mimetype); 531 BIO_printf(p.errorbio, "the response has a correct mimetype : %s\n" [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
AggregationSuggestionEngine.java | 269 Data.MIMETYPE + " IN ('" 281 Data.MIMETYPE, 293 public static final int MIMETYPE = 3; 403 final String mimetype = mDataCursor.getString(DataQuery.MIMETYPE); local 404 if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { 411 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) { 418 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimetype)) { 423 } else if (StructuredName.CONTENT_ITEM_TYPE.equals(mimetype)) { 429 } else if (Photo.CONTENT_ITEM_TYPE.equals(mimetype)) { [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaFrameworkTest.java | 122 String mimetype = "audio/mpeg"; local 125 intent.setDataAndType(path, mimetype);
|
/packages/apps/Music/src/com/android/music/ |
QueryBrowserActivity.java | 310 MediaStore.Audio.Media.MIME_TYPE, // mimetype of audio file, or "artist" or "album" 371 String mimetype = cursor.getString( local 374 if (mimetype == null) { 375 mimetype = "audio/"; 377 if (mimetype.equals("artist")) { 397 } else if (mimetype.equals("album")) { 415 } else if (mimetype.startsWith("audio/") || mimetype.equals("application/ogg") 416 || mimetype.equals("application/x-ogg")) {
|
/prebuilts/go/darwin-x86/src/mime/ |
type_plan9.go | 24 "/sys/lib/mimetype",
|
/prebuilts/go/linux-x86/src/mime/ |
type_plan9.go | 24 "/sys/lib/mimetype",
|
/external/autotest/frontend/afe/feeds/ |
feed.py | 34 response = HttpResponse(mimetype=feedgen.mime_type)
|
/external/python/cpython2/Lib/ |
mimetypes.py | 262 mimetype, datatype = _winreg.QueryValueEx( 267 mimetype = mimetype.encode(default_encoding) 270 self.add_type(mimetype, subkeyname, strict)
|