Searched refs:fileType (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/media/java/android/media/
H A DMediaFile.java90 int fileType; field in class:MediaFile.MediaFileType
93 MediaFileType(int fileType, String mimeType) { argument
94 this.fileType = fileType;
103 static void addFileType(String extension, int fileType, String mimeType) { argument
104 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType));
105 sMimeTypeMap.put(mimeType, Integer.valueOf(fileType));
191 public static boolean isAudioFileType(int fileType) { argument
192 return ((fileType >= FIRST_AUDIO_FILE_TYPE &&
193 fileType <
198 isVideoFileType(int fileType) argument
203 isImageFileType(int fileType) argument
208 isPlayListFileType(int fileType) argument
[all...]
H A DThumbnailUtils.java100 MediaFileType fileType = MediaFile.getFileType(filePath);
101 if (fileType != null && fileType.fileType == MediaFile.FILE_TYPE_JPEG) {
H A DMediaScanner.java448 mFileType = mediaFileType.fileType;
1134 int fileType = (mediaFileType == null ? 0 : mediaFileType.fileType);
1136 if (MediaFile.isPlayListFileType(fileType)) {
1487 int fileType = (mediaFileType == null ? 0 : mediaFileType.fileType);
1489 if (fileType == MediaFile.FILE_TYPE_M3U)
1491 else if (fileType == MediaFile.FILE_TYPE_PLS)
1493 else if (fileType == MediaFile.FILE_TYPE_WPL)
/frameworks/base/tools/aapt/
H A DPackage.cpp66 FileType fileType = getFileType(outputFile.string()); local
67 if (fileType == kFileTypeNonexistent) {
69 } else if (fileType == kFileTypeRegular) {
89 printf("%s '%s'\n", (fileType == kFileTypeNonexistent) ? "Creating" : "Opening",
/frameworks/base/libs/utils/
H A DAssetManager.cpp1131 FileType fileType; local
1152 fileType = kFileTypeRegular;
1154 fileType = kFileTypeDirectory;
1156 fileType = kFileTypeUnknown;
1159 fileType = ::getFileType(path.appendPathCopy(entry->d_name).string());
1162 if (fileType != kFileTypeRegular && fileType != kFileTypeDirectory)
1166 info.set(String8(entry->d_name), fileType);
/frameworks/base/media/libstagefright/
H A DMPEG4Writer.cpp439 int32_t fileType; local
440 if (param && param->findInt32(kKeyFileType, &fileType) &&
441 fileType != OUTPUT_FORMAT_MPEG_4) {

Completed in 119 milliseconds