Home
last modified time | relevance | path

Searched refs:MIME_TYPE (Results 1 – 25 of 62) sorted by relevance

123

/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java926 fileSizeOver, ImageColumns.DISPLAY_NAME, ImageColumns.MIME_TYPE, in querySearchDocuments()
948 fileSizeOver, VideoColumns.DISPLAY_NAME, VideoColumns.MIME_TYPE, in querySearchDocuments()
967 fileSizeOver, AudioColumns.DISPLAY_NAME, AudioColumns.MIME_TYPE, in querySearchDocuments()
981 FileColumns.DISPLAY_NAME, FileColumns.MIME_TYPE, FileColumns.DATE_MODIFIED, in querySearchDocuments()
1251 ImageColumns.MIME_TYPE,
1257 final int MIME_TYPE = 2; field
1270 row.add(Document.COLUMN_MIME_TYPE, cursor.getString(ImageQuery.MIME_TYPE)); in includeImage()
1314 VideoColumns.MIME_TYPE,
1320 final int MIME_TYPE = 2; field
1333 row.add(Document.COLUMN_MIME_TYPE, cursor.getString(VideoQuery.MIME_TYPE)); in includeVideo()
[all …]
DMediaProvider.java2140 values.put(MediaColumns.MIME_TYPE, newMimeType); in getContentValuesForFuseRename()
2255 final String[] projection = {MediaColumns.DATA, MediaColumns.MIME_TYPE}; in getWritableFilesForRenameDirectory()
2979 new String[] { MediaColumns.MIME_TYPE }, null, null, null)) { in getType() argument
3175 if (TextUtils.isEmpty(values.getAsString(MediaColumns.MIME_TYPE))) { in ensureFileColumns()
3180 values.put(MediaColumns.MIME_TYPE, mimeTypeFromExt); in ensureFileColumns()
3184 values.put(MediaColumns.MIME_TYPE, defaultMimeType); in ensureFileColumns()
3187 values.put(MediaColumns.MIME_TYPE, mimeTypeFromExt); in ensureFileColumns()
3190 values.put(MediaColumns.MIME_TYPE, defaultMimeType); in ensureFileColumns()
3194 String mimeType = values.getAsString(MediaColumns.MIME_TYPE); in ensureFileColumns()
3209 values.put(MediaColumns.MIME_TYPE, mimeTypeFromExt); in ensureFileColumns()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/
DSharedImageProvider.java37 public static final String MIME_TYPE = "image/jpeg"; field in SharedImageProvider
43 MIME_TYPE
55 return MIME_TYPE; in getType()
/packages/apps/Traceur/src/com/android/traceur/
DFileSender.java42 private static final String MIME_TYPE = "application/vnd.android.systrace"; field in FileSender
105 intent.setType(MIME_TYPE); in buildSendIntent()
112 intent.setClipData(new ClipData(null, new String[] { MIME_TYPE }, in buildSendIntent()
DStorageProvider.java49 private static final String MIME_TYPE = "application/vnd.android.systrace"; field in StorageProvider
91 row.add(Root.COLUMN_MIME_TYPES, MIME_TYPE); in queryRoots()
112 mimeType = MIME_TYPE; in queryDocument()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java315 values.put(MediaColumns.MIME_TYPE, "audio/mpeg"); in testCheckUriPermission()
386 values1.put(MediaColumns.MIME_TYPE, "audio/mpeg"); in testBulkInsert()
390 values2.put(MediaColumns.MIME_TYPE, "audio/mpeg"); in testBulkInsert()
523 values.put(MediaColumns.MIME_TYPE, "image/png"); in testBuildData_withUserId()
641 values.put(MediaColumns.MIME_TYPE, ""); in testEnsureFileColumns_InvalidMimeType_targetSdkQ()
647 values.put(MediaColumns.MIME_TYPE, ""); in testEnsureFileColumns_InvalidMimeType_targetSdkQ()
697 forward.put(MediaColumns.MIME_TYPE, "image/jpeg"); in testBuildData_Pending_FromValues()
733 assertEquals("image/jpeg", reverse.getAsString(MediaColumns.MIME_TYPE)); in testBuildData_Pending_FromData()
745 forward.put(MediaColumns.MIME_TYPE, "image/jpeg"); in testBuildData_Trashed_FromValues()
781 assertEquals("image/jpeg", reverse.getAsString(MediaColumns.MIME_TYPE)); in testBuildData_Trashed_FromData()
[all …]
DDatabaseHelperTest.java327 values.put(FileColumns.MIME_TYPE, "image/jpeg"); in assertRecompute()
338 values.put(FileColumns.MIME_TYPE, "image/jpeg"); in assertRecompute()
349 values.put(FileColumns.MIME_TYPE, "text/plain"); in assertRecompute()
399 c.getString(c.getColumnIndexOrThrow(FileColumns.MIME_TYPE))); in assertRecompute()
409 assertNull(c.getString(c.getColumnIndexOrThrow(FileColumns.MIME_TYPE))); in assertRecompute()
418 assertNull(c.getString(c.getColumnIndexOrThrow(FileColumns.MIME_TYPE))); in assertRecompute()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java53 private static final String MIME_TYPE = "application/zip"; field in CalendarDebugActivity
157 MIME_TYPE in doInBackground()
201 intent.setType(MIME_TYPE); in emailFile()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppManager.java89 private static final String MIME_TYPE = "MIMETYPE"; field in BluetoothOppManager
205 mMimeTypeOfSendingFile = settings.getString(MIME_TYPE, null); in restoreApplicationData()
249 editor.remove(MIME_TYPE); in storeApplicationData()
252 editor.putString(MIME_TYPE, mMimeTypeOfSendingFile); in storeApplicationData()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DDrmTest.java147 values.put(MediaColumns.MIME_TYPE, MIME_FORWARD_LOCKED); in testForwardLock_130680734()
171 c.getString(c.getColumnIndex(FileColumns.MIME_TYPE))); in testForwardLock_130680734()
215 DatabaseUtils.copyFromCursorToContentValues(FileColumns.MIME_TYPE, c, values); in doForwardLock()
226 final String actualMimeType = values.getAsString(FileColumns.MIME_TYPE); in doForwardLock()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCopyAndResizeImageWorker.java39 private static final String MIME_TYPE = "image/jpeg"; field in CopyAndResizeImageWorker
73 return new Pair<>(outputFile, MIME_TYPE); in doInBackground()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DClientPlaylistTest.java123 mValues.put(MediaColumns.MIME_TYPE, mMimeType); in testAdd()
257 mValues.put(MediaColumns.MIME_TYPE, mMimeType); in testVolumeName()
286 mValues.put(MediaColumns.MIME_TYPE, "audio/mpeg"); in createAudio()
297 mValues.put(MediaColumns.MIME_TYPE, mMimeType); in createPlaylist()
DPublicVolumePlaylistTest.java73 values.put(MediaStore.MediaColumns.MIME_TYPE, "audio/x-mpegurl"); in testEjectedVolume()
94 values.put(MediaStore.MediaColumns.MIME_TYPE, "audio/mpeg"); in testEjectedVolume()
DPlaylistPerformanceTest.java133 values.put(MediaColumns.MIME_TYPE, "audio/x-mpegurl"); in createPlaylist()
144 values.put(MediaColumns.MIME_TYPE, "audio/mpeg"); in createAudio()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageList.java67 "(" + Media.MIME_TYPE + " in (?, ?, ?))";
102 Media.MIME_TYPE,
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideoStore.java108 MediaStore.Video.Media.MIME_TYPE, in load()
115 MediaStore.Video.Media.MIME_TYPE, in load()
128 MediaStore.Video.Media.MIME_TYPE); in load()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DCp2Contact.java109 .setMimeType(cursor.getString(Projections.MIME_TYPE)) in fromCursor()
127 row[Projections.MIME_TYPE] = mimeType(); in toCursorRow()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java163 Voicemails.MIME_TYPE + " TEXT," + in onCreate()
388 Voicemails.MIME_TYPE + " TEXT," + in upgradetoVersion8()
439 Voicemails.MIME_TYPE + ", " + in upgradetoVersion8()
DVoicemailContentTable.java76 .add(Voicemails.MIME_TYPE)
116 .add(Voicemails.MIME_TYPE) in VoicemailContentTable()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java959 mediaCursor.getColumnIndex(DownloadColumns.MIME_TYPE)); in getMimeType()
1005 selection.append(DownloadColumns.MIME_TYPE + " NOT LIKE ?"); in buildSearchSelection()
1008 selection.append(DownloadColumns.MIME_TYPE + " NOT LIKE ?"); in buildSearchSelection()
1011 selection.append(DownloadColumns.MIME_TYPE + " NOT LIKE ?"); in buildSearchSelection()
1070 selection.append(DownloadColumns.MIME_TYPE + " LIKE ?") in buildSearchSelection()
1080 selection.append(DownloadColumns.MIME_TYPE + " IN (") in buildSearchSelection()
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
DGalleryProvider.java60 ImageColumns.MIME_TYPE,
153 } else if (ImageColumns.MIME_TYPE.equals(column)) { in queryPicasaItem()
/packages/apps/Camera2/src/com/android/camera/data/
DVideoDataQuery.java44 MediaStore.Video.VideoColumns.MIME_TYPE, // 2, string
DPhotoDataQuery.java48 MediaStore.Images.ImageColumns.MIME_TYPE, // 2, string
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DGalleryBoundCursorLoader.java50 return MediaColumns.MIME_TYPE + " IN ('" + Joiner.on("','").join(mimeTypes) + "') AND " in createSelection()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
DProjections.java40 public static final int MIME_TYPE = 12; field in Projections

123