Home
last modified time | relevance | path

Searched refs:CONTENT_TYPE (Results 1 – 25 of 65) sorted by relevance

123

/packages/apps/Contacts/src/com/android/contacts/list/
DContactsIntentResolver.java79 if (Phone.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent()
81 } else if (Email.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent()
86 if (Contacts.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent()
88 } else if (People.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent()
91 } else if (Phone.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent()
93 } else if (Phones.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent()
96 } else if (StructuredPostal.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent()
101 } else if (Email.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent()
103 } else if (Groups.CONTENT_TYPE.equals(resolvedType)) { in resolveIntent()
142 Groups.CONTENT_TYPE.equals(intent.getType())) { in resolveIntent()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DConversationImagePartsView.java49 + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.CONTENT_TYPE
50 + " as " + Columns.CONTENT_TYPE + ", "
69 + " WHERE " + DatabaseHelper.PARTS_TABLE + "." + PartColumns.CONTENT_TYPE
82 static final String CONTENT_TYPE = PhotoViewColumns.CONTENT_TYPE; field in ConversationImagePartsView.Columns
95 PhotoViewColumns.CONTENT_TYPE,
DDatabaseHelper.java327 public static final String CONTENT_TYPE = "content_type"; field in DatabaseHelper.PartColumns
348 + PartColumns.CONTENT_TYPE + " TEXT,"
516 + PARTS_TABLE + '.' + PartColumns.CONTENT_TYPE
517 + " as " + PartColumns.CONTENT_TYPE + ", "
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DEntity.java106 (ContentTypeField) getHeader().getField(Field.CONTENT_TYPE); in getMimeType()
109 getField(Field.CONTENT_TYPE) in getMimeType()
122 (ContentTypeField) getHeader().getField(Field.CONTENT_TYPE)); in getCharset()
158 (ContentTypeField) getHeader().getField(Field.CONTENT_TYPE); in isMultipart()
DMultipart.java194 Field.CONTENT_TYPE); in getBoundary()
200 … String charString = ((ContentTypeField) e.getHeader().getField(Field.CONTENT_TYPE)).getCharset(); in getCharset()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DAudioPlayerActivity.java64 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Albums.CONTENT_TYPE); in start()
75 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Artists.CONTENT_TYPE); in start()
86 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Genres.CONTENT_TYPE); in start()
97 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Playlists.CONTENT_TYPE); in start()
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DEpgContract.java92 public static final String CONTENT_TYPE = "vnd.android.cursor.dir/lineup"; field in EpgContract.Lineups
144 public static final String CONTENT_TYPE = "vnd.android.cursor.dir/epg_input"; field in EpgContract.EpgInputs
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAttachment.java208 contentType = cursor.getString(cursor.getColumnIndex(AttachmentColumns.CONTENT_TYPE)); in Attachment()
230 contentType = srcJson.optString(AttachmentColumns.CONTENT_TYPE, null); in Attachment()
310 contentType = values.getAsString(AttachmentColumns.CONTENT_TYPE); in Attachment()
336 values.put(AttachmentColumns.CONTENT_TYPE, contentType); in toContentValues()
379 result.put(AttachmentColumns.CONTENT_TYPE, contentType); in toJSON()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
DField.java48 public static final String CONTENT_TYPE = "Content-Type"; field in Field
153 return CONTENT_TYPE.equalsIgnoreCase(name); in isContentType()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DRetrieveConf.java81 return mPduHeaders.getTextString(PduHeaders.CONTENT_TYPE); in getContentType()
91 mPduHeaders.setTextString(value, PduHeaders.CONTENT_TYPE); in setContentType()
DSendReq.java153 return mPduHeaders.getTextString(PduHeaders.CONTENT_TYPE); in getContentType()
163 mPduHeaders.setTextString(value, PduHeaders.CONTENT_TYPE); in setContentType()
DPduHeaders.java30 public static final int CONTENT_TYPE = 0x84; field in PduHeaders
533 case CONTENT_TYPE: in setTextString()
DPduParser.java780 case PduHeaders.CONTENT_TYPE: { in parseHeaders()
792 headers.setTextString(contentType, PduHeaders.CONTENT_TYPE); in parseHeaders()
1817 byte[] srContentType = headers.getTextString(PduHeaders.CONTENT_TYPE); in checkMandatoryHeader()
1897 byte[] rcContentType = headers.getTextString(PduHeaders.CONTENT_TYPE); in checkMandatoryHeader()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DRetrieveConf.java83 return mPduHeaders.getTextString(PduHeaders.CONTENT_TYPE); in getContentType()
93 mPduHeaders.setTextString(value, PduHeaders.CONTENT_TYPE); in setContentType()
DPduPersister.java115 Mms.CONTENT_TYPE,
176 Part.CONTENT_TYPE,
242 TEXT_STRING_COLUMN_INDEX_MAP.put(PduHeaders.CONTENT_TYPE, PDU_COLUMN_CONTENT_TYPE); in TEXT_STRING_COLUMN_INDEX_MAP.put() argument
250 TEXT_STRING_COLUMN_NAME_MAP.put(PduHeaders.CONTENT_TYPE, Mms.CONTENT_TYPE); in TEXT_STRING_COLUMN_NAME_MAP.put() argument
812 values.put(Part.CONTENT_TYPE, contentType); in persistPart()
1093 values.put(Mms.CONTENT_TYPE, toIsoString(contentType)); in updateHeaders()
1192 values.put(Part.CONTENT_TYPE, contentType); in updatePart()
DSendReq.java156 return mPduHeaders.getTextString(PduHeaders.CONTENT_TYPE); in getContentType()
166 mPduHeaders.setTextString(value, PduHeaders.CONTENT_TYPE); in setContentType()
DPduHeaders.java33 public static final int CONTENT_TYPE = 0x84; field in PduHeaders
553 case CONTENT_TYPE: in setTextString()
DPduParser.java813 case PduHeaders.CONTENT_TYPE: { in parseHeaders()
825 headers.setTextString(contentType, PduHeaders.CONTENT_TYPE); in parseHeaders()
1853 byte[] srContentType = headers.getTextString(PduHeaders.CONTENT_TYPE); in checkMandatoryHeader()
1933 byte[] rcContentType = headers.getTextString(PduHeaders.CONTENT_TYPE); in checkMandatoryHeader()
/packages/apps/TV/common/src/com/android/tv/common/
DCommonPreferenceProvider.java71 String CONTENT_TYPE = "vnd.android.cursor.dir/preferences"; field
162 return Preferences.CONTENT_TYPE; in getType()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupUtil.java157 ? ContactsContract.CommonDataKinds.Email.CONTENT_TYPE in createSendToSelectionPickerIntent()
158 : ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE); in createSendToSelectionPickerIntent()
172 intent.setType(Groups.CONTENT_TYPE); in createPickMemberIntent()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java413 smilPart.put(Telephony.Mms.Part.CONTENT_TYPE, APP_SMIL); in createBodyCursor()
423 bodyPart.put(Telephony.Mms.Part.CONTENT_TYPE, TEXT_PLAIN); in createBodyCursor()
439 attachmentPart.put(Telephony.Mms.Part.CONTENT_TYPE, attachmentType); in createBodyCursor()
772 if (APP_SMIL.equals(values.get(Telephony.Mms.Part.CONTENT_TYPE))) { in insert()
777 if (IMAGE_JPG.equals(values.get(Telephony.Mms.Part.CONTENT_TYPE))) { in insert()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeTvProvider.java1480 return Channels.CONTENT_TYPE; in getType()
1488 return Programs.CONTENT_TYPE; in getType()
1492 return WatchedPrograms.CONTENT_TYPE; in getType()
1496 return RecordedPrograms.CONTENT_TYPE; in getType()
1500 return PreviewPrograms.CONTENT_TYPE; in getType()
1504 return WatchNextPrograms.CONTENT_TYPE; in getType()
2496 public static final String CONTENT_TYPE = "vnd.android.cursor.dir/watched_program"; field in FakeTvProvider.WatchedPrograms
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksContract.java90 public static final String CONTENT_TYPE = "vnd.android.cursor.dir/partnerbookmark"; field in PartnerBookmarksContract.Bookmarks
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactMetadataProvider.java165 return MetadataSync.CONTENT_TYPE; in getType()
169 return MetadataSyncState.CONTENT_TYPE; in getType()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java64 PartColumns.CONTENT_TYPE,
241 values.put(PartColumns.CONTENT_TYPE, mContentType); in populate()

123