/frameworks/base/media/java/android/media/ |
D | MediaFile.java | 125 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 …]
|
D | MediaScanner.java | 508 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 …]
|
D | ThumbnailUtils.java | 94 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/ |
D | Main.cpp | 74 FileType fileType = getFileType(filename); in validateFile() local 75 switch (fileType) { in validateFile()
|
/frameworks/base/tools/aapt/ |
D | Package.cpp | 72 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/ |
D | DrmSupportInfo.cpp | 60 bool DrmSupportInfo::isSupportedFileSuffix(const String8& fileType) const { in isSupportedFileSuffix() 64 if (!strcasecmp(item.string(), fileType.string())) { in isSupportedFileSuffix()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ELFReader.h | 63 Input::Type fileType(const void* pELFHeader) const; 148 Input::Type fileType(const void* pELFHeader) const;
|
D | ELFReaderIf.h | 49 virtual Input::Type fileType(const void* pELFHeader) const = 0;
|
/frameworks/av/include/drm/ |
D | DrmSupportInfo.h | 179 bool isSupportedFileSuffix(const String8& fileType) const;
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 1437 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/ |
D | ELFDynObjReader.cpp | 62 } else if (Input::DynObj != m_pELFReader->fileType(ELF_hdr)) { in isMyFormat()
|
D | ELFObjectReader.cpp | 79 } else if (Input::Object != m_pELFReader->fileType(ELF_hdr)) { in isMyFormat()
|
D | ELFReader.cpp | 278 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/ |
D | FrameSequence_gif.cpp | 26 static int streamReader(GifFileType* fileType, GifByteType* out, int size) { in streamReader() argument 27 Stream* stream = (Stream*) fileType->UserData; in streamReader()
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 1101 int32_t fileType; in writeFtypBox() local 1102 if (param && param->findInt32(kKeyFileType, &fileType) && in writeFtypBox() 1103 fileType != OUTPUT_FORMAT_MPEG_4) { in writeFtypBox()
|