Home
last modified time | relevance | path

Searched refs:fileType (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaFile.java125 public final int fileType; field in MediaFile.MediaFileType
128 MediaFileType(int fileType, String mimeType) { in MediaFileType() argument
129 this.fileType = fileType; in MediaFileType()
148 static void addFileType(String extension, int fileType, String mimeType) { in addFileType() argument
149 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType)); in addFileType()
150 sMimeTypeMap.put(mimeType, Integer.valueOf(fileType)); in addFileType()
153 static void addFileType(String extension, int fileType, String mimeType, int mtpFormatCode) { in addFileType() argument
154 addFileType(extension, fileType, mimeType); in addFileType()
273 public static boolean isAudioFileType(int fileType) { in isAudioFileType() argument
274 return ((fileType >= FIRST_AUDIO_FILE_TYPE && in isAudioFileType()
[all …]
DMediaScanner.java508 mFileType = mediaFileType.fileType; in beginFile()
1053 int fileType = MediaFile.getFileTypeForMimeType(mMimeType);
1054 if (MediaFile.isAudioFileType(fileType)) {
1056 } else if (MediaFile.isVideoFileType(fileType)) {
1058 } else if (MediaFile.isImageFileType(fileType)) {
1060 } else if (MediaFile.isPlayListFileType(fileType)) {
1223 int fileType = (mediaFileType == null ? 0 : mediaFileType.fileType);
1225 if (!MediaFile.isPlayListFileType(fileType)) {
1531 int fileType = (mediaFileType == null ? 0 : mediaFileType.fileType);
1535 if (!MediaFile.isAudioFileType(fileType) && !MediaFile.isVideoFileType(fileType) &&
[all …]
DThumbnailUtils.java94 MediaFileType fileType = MediaFile.getFileType(filePath); in createImageThumbnail() local
95 if (fileType != null && (fileType.fileType == MediaFile.FILE_TYPE_JPEG in createImageThumbnail()
96 || MediaFile.isRawImageFileType(fileType.fileType))) { in createImageThumbnail()
/frameworks/base/tools/validatekeymaps/
DMain.cpp74 FileType fileType = getFileType(filename); in validateFile() local
75 switch (fileType) { in validateFile()
/frameworks/base/tools/aapt/
DPackage.cpp72 FileType fileType = getFileType(outputFile.string()); in writeAPK() local
73 if (fileType == kFileTypeNonexistent) { in writeAPK()
75 } else if (fileType == kFileTypeRegular) { in writeAPK()
95 printf("%s '%s'\n", (fileType == kFileTypeNonexistent) ? "Creating" : "Opening", in writeAPK()
/frameworks/av/drm/common/
DDrmSupportInfo.cpp60 bool DrmSupportInfo::isSupportedFileSuffix(const String8& fileType) const { in isSupportedFileSuffix()
64 if (!strcasecmp(item.string(), fileType.string())) { in isSupportedFileSuffix()
/frameworks/compile/mclinker/include/mcld/LD/
DELFReader.h63 Input::Type fileType(const void* pELFHeader) const;
148 Input::Type fileType(const void* pELFHeader) const;
DELFReaderIf.h49 virtual Input::Type fileType(const void* pELFHeader) const = 0;
/frameworks/av/include/drm/
DDrmSupportInfo.h179 bool isSupportedFileSuffix(const String8& fileType) const;
/frameworks/base/libs/androidfw/
DAssetManager.cpp1437 FileType fileType; in scanDirLocked() local
1458 fileType = kFileTypeRegular; in scanDirLocked()
1460 fileType = kFileTypeDirectory; in scanDirLocked()
1462 fileType = kFileTypeUnknown; in scanDirLocked()
1465 fileType = ::getFileType(path.appendPathCopy(entry->d_name).string()); in scanDirLocked()
1468 if (fileType != kFileTypeRegular && fileType != kFileTypeDirectory) in scanDirLocked()
1472 info.set(String8(entry->d_name), fileType); in scanDirLocked()
/frameworks/compile/mclinker/lib/LD/
DELFDynObjReader.cpp62 } else if (Input::DynObj != m_pELFReader->fileType(ELF_hdr)) { in isMyFormat()
DELFObjectReader.cpp79 } else if (Input::Object != m_pELFReader->fileType(ELF_hdr)) { in isMyFormat()
DELFReader.cpp278 Input::Type ELFReader<32, true>::fileType(const void* pELFHeader) const { in fileType() function in mcld::ELFReader
772 Input::Type ELFReader<64, true>::fileType(const void* pELFHeader) const { in fileType() function in mcld::ELFReader
/frameworks/ex/framesequence/jni/
DFrameSequence_gif.cpp26 static int streamReader(GifFileType* fileType, GifByteType* out, int size) { in streamReader() argument
27 Stream* stream = (Stream*) fileType->UserData; in streamReader()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp1101 int32_t fileType; in writeFtypBox() local
1102 if (param && param->findInt32(kKeyFileType, &fileType) && in writeFtypBox()
1103 fileType != OUTPUT_FORMAT_MPEG_4) { in writeFtypBox()