/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | FileAccessAttributes.java | 33 public FileAccessAttributes(long id, int mediaType, boolean isPending, in FileAccessAttributes() argument 36 this.mMediaType = mediaType; in FileAccessAttributes() 47 final int mediaType = c.getInt(3); in fromCursor() local 49 return new FileAccessAttributes(id, mediaType, isPending, isTrashed, -1, in fromCursor()
|
D | MediaProvider.java | 921 int mediaType = row.getMediaType(); in updateQuotaTypeForUri() local 944 if (mediaType == FileColumns.MEDIA_TYPE_NONE) { in updateQuotaTypeForUri() 948 mediaType = MimeUtils.resolveMediaType(MimeUtils.resolveMimeType(file)); in updateQuotaTypeForUri() 951 updateQuotaTypeForFileInternal(file, mediaType); in updateQuotaTypeForUri() 960 private void updateQuotaTypeForFileInternal(File file, int mediaType) { in updateQuotaTypeForFileInternal() argument 962 switch (mediaType) { in updateQuotaTypeForFileInternal() 1162 long id, int mediaType, boolean isDownload) { in acceptWithExpansion() argument 1163 switch (mediaType) { in acceptWithExpansion() 1203 id, mediaType, isDownload); in acceptWithExpansion() 2178 int mediaType = MimeUtils.resolveMediaType(MimeUtils.resolveMimeType(file)); in onFileCreatedForFuse() local [all …]
|
D | AccessChecker.java | 412 static String getWhereForMediaTypeMatch(int mediaType) { in getWhereForMediaTypeMatch() argument 413 return bindSelection("media_type=?", mediaType); in getWhereForMediaTypeMatch()
|
D | DatabaseBackupAndRecovery.java | 492 final int mediaType = c.getInt(5); in backupDataValues() local 497 BackupIdRow backupIdRow = createBackupIdRow(externalPrimaryFuseDaemon, id, mediaType, in backupDataValues() 613 private BackupIdRow createBackupIdRow(FuseDaemon fuseDaemon, long id, int mediaType, in createBackupIdRow() argument 618 builder.setMediaType(mediaType); in createBackupIdRow()
|
D | DatabaseHelper.java | 385 final int mediaType = Integer.parseInt(split[2]); in onConfigure() 397 .setMediaType(mediaType) in onConfigure() 484 final int mediaType = Integer.parseInt(split[2]); in onConfigure() 491 .setMediaType(mediaType) in onConfigure() 1260 final int mediaType = c.getInt(c.getColumnIndex(FileColumns.MEDIA_TYPE)); in migrateFromLegacy() local 1262 mediaType == FileColumns.MEDIA_TYPE_PLAYLIST) { in migrateFromLegacy()
|
D | LocalCallingIdentity.java | 624 protected void incrementDeletedFileCountBypassingDatabase(int mediaType) { in incrementDeletedFileCountBypassingDatabase() argument 626 mDeletedFileCountsBypassingDatabase[mediaType]++; in incrementDeletedFileCountBypassingDatabase()
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 615 final int mediaType = c.getInt(1); in addUnknownIdsAndGetMediaTypeCount() local 618 if (mediaType < countPerMediaType.length) { in addUnknownIdsAndGetMediaTypeCount() 619 countPerMediaType[mediaType]++; in addUnknownIdsAndGetMediaTypeCount() 804 final int mediaType = c.getInt(4); in visitFile() local 824 final boolean sameMediaType = actualMediaType == mediaType; in visitFile() 1038 BasicFileAttributes attrs, String mimeType, int mediaType, String volumeName) { in scanItem() argument 1048 switch (mediaType) { in scanItem() 1050 return scanItemAudio(existingId, file, attrs, mimeType, mediaType, volumeName); in scanItem() 1052 return scanItemVideo(existingId, file, attrs, mimeType, mediaType, volumeName); in scanItem() 1054 return scanItemImage(existingId, file, attrs, mimeType, mediaType, volumeName); in scanItem() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | MimeUtils.java | 85 final int mediaType = resolveMediaType(mimeType); in resolveFormatCode() local 86 switch (mediaType) { in resolveFormatCode() 141 public static boolean isImageOrVideoMediaType(int mediaType) { in isImageOrVideoMediaType() argument 142 return FileColumns.MEDIA_TYPE_IMAGE == mediaType in isImageOrVideoMediaType() 143 || FileColumns.MEDIA_TYPE_VIDEO == mediaType; in isImageOrVideoMediaType()
|
D | XAttrUtils.java | 125 int mediaType = Memory.peekInt(data, offset, byteOrder); in deserializeFileAccessAttributes() local 136 return new FileAccessAttributes(id, mediaType, isPending, isTrashed, in deserializeFileAccessAttributes()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | StartJobTask.java | 245 int mediaType = MEDIA_TYPE_PLAIN; in getMediaType() local 249 mediaType = MEDIA_TYPE_AUTO; in getMediaType() 252 && supportedType > mediaType) { in getMediaType() 254 mediaType = supportedType; in getMediaType() 257 return mediaType; in getMediaType()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | FilterUtils.java | 177 int mediaType; in newFilterPath() local 180 mediaType = MediaObject.MEDIA_TYPE_IMAGE; in newFilterPath() 183 mediaType = MediaObject.MEDIA_TYPE_VIDEO; in newFilterPath() 189 return "/filter/mediatype/" + mediaType + "/{" + base + "}"; in newFilterPath()
|
D | GalleryActivity.java | 180 int mediaType = intent.getIntExtra(KEY_MEDIA_TYPES, 0); in startViewAction() local 181 if (mediaType != 0) { in startViewAction() 183 KEY_MEDIA_TYPES, String.valueOf(mediaType)) in startViewAction()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | FilterSource.java | 66 int mediaType = mMatcher.getIntVar(0); in createMediaObject() local 69 return new FilterTypeSet(path, dataManager, sets[0], mediaType); in createMediaObject()
|
D | FilterTypeSet.java | 33 int mediaType) { in FilterTypeSet() argument 37 mMediaType = mediaType; in FilterTypeSet()
|
D | LocalSource.java | 132 int mediaType = getMediaType( in getAlbumPath() local 143 switch (mediaType) { in getAlbumPath()
|
/packages/providers/MediaProvider/src/com/android/providers/media/dao/ |
D | FileRow.java | 69 public Builder setMediaType(int mediaType) { in setMediaType() argument 70 this.mMediaType = mediaType; in setMediaType()
|
/packages/providers/MediaProvider/src/com/android/providers/media/stableuris/dao/ |
D | BackupIdRow.java | 133 public Builder setMediaType(int mediaType) { in setMediaType() argument 134 this.mMediaType = mediaType; in setMediaType()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | ExternalDbFacade.java | 169 public boolean onFileInserted(int mediaType, boolean isPending) { in onFileInserted() argument 174 return !isPending && MimeUtils.isImageOrVideoMediaType(mediaType); in onFileInserted() 225 public boolean onFileDeleted(long id, int mediaType) { in onFileDeleted() argument 229 if (!MimeUtils.isImageOrVideoMediaType(mediaType)) { in onFileDeleted()
|
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/ |
D | DialogsActivity.java | 138 final int mediaType = c.getInt(1); in doInBackground() local 139 switch (mediaType) { in doInBackground()
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | LegacyProviderMigrationTest.java | 125 private ContentValues generateValues(int mediaType, String mimeType, String dirName) in generateValues() argument 127 return generateValues(mediaType, mimeType, dirName, 0); in generateValues() 130 private ContentValues generateValues(int mediaType, String mimeType, String dirName, int resId) in generateValues() argument 145 values.put(FileColumns.MEDIA_TYPE, mediaType); in generateValues()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/ |
D | RtpConfig.cpp | 33 RtpConfig::RtpConfig(int32_t mediaType) : in RtpConfig() argument 34 type(mediaType), in RtpConfig()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSlidingWindow.java | 52 public int mediaType; field in AlbumSlidingWindow.AlbumEntry 267 entry.mediaType = (item == null) in prepareSlotContent()
|
D | AlbumSlotRenderer.java | 126 if (entry.mediaType == MediaObject.MEDIA_TYPE_VIDEO) { in renderSlot()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaDocumentsProviderTest.java | 201 final int mediaType = MimeUtils.resolveMediaType(mimeType); in doTraversal() local 202 switch (mediaType) { in doTraversal()
|
/packages/apps/Car/DebuggingRestrictionController/libs/ |
D | google-http-client-1.36.0.jar | META-INF/MANIFEST.MF
META-INF/
com/
com/google/
com/ ... |