/frameworks/base/media/java/android/media/ |
H A D | MediaFile.java | 114 public final int fileType; field in class:MediaFile.MediaFileType 117 MediaFileType(int fileType, String mimeType) { argument 118 this.fileType = fileType; 137 static void addFileType(String extension, int fileType, String mimeType) { argument 138 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType)); 139 sMimeTypeMap.put(mimeType, Integer.valueOf(fileType)); 142 static void addFileType(String extension, int fileType, String mimeType, int mtpFormatCode) { argument 143 addFileType(extension, fileType, mimeType); 249 public static boolean isAudioFileType(int fileType) { argument 256 isVideoFileType(int fileType) argument 263 isImageFileType(int fileType) argument 268 isPlayListFileType(int fileType) argument 273 isDrmFileType(int fileType) argument [all...] |
H A D | MediaScanner.java | 464 mFileType = mediaFileType.fileType; 986 int fileType = MediaFile.getFileTypeForMimeType(mMimeType); 987 if (MediaFile.isAudioFileType(fileType)) { 989 } else if (MediaFile.isVideoFileType(fileType)) { 991 } else if (MediaFile.isImageFileType(fileType)) { 993 } else if (MediaFile.isPlayListFileType(fileType)) { 1141 int fileType = (mediaFileType == null ? 0 : mediaFileType.fileType); 1143 if (!MediaFile.isPlayListFileType(fileType)) { 1430 int fileType [all...] |
H A D | ThumbnailUtils.java | 100 MediaFileType fileType = MediaFile.getFileType(filePath); 101 if (fileType != null && fileType.fileType == MediaFile.FILE_TYPE_JPEG) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
H A D | MediaPropertiesTest.java | 72 protected void validateVideoProperties(int aspectRatio, int fileType, argument 78 assertEquals("File Type Mismatch", fileType, mvi.getFileType()); 120 protected void validateImageProperties(int aspectRatio, int fileType, argument 124 assertEquals("File Type Mismatch", fileType, mii.getFileType()); 138 final int fileType = MediaProperties.FILE_MP4; 156 validateVideoProperties(aspectRatio, fileType, videoCodecType, duration, 170 final int fileType = MediaProperties.FILE_MP4; 188 validateVideoProperties(aspectRatio, fileType, videoCodecType, duration, 201 final int fileType = MediaProperties.FILE_MP4; 219 validateVideoProperties(aspectRatio, fileType, videoCodecTyp [all...] |
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorPropertiesMain.cpp | 101 VideoEditClasses_FileType fileType = VideoEditClasses_kFileType_Unsupported; local 156 pExtension ,&fileType, &clipType); 163 (VideoEditClasses_kFileType_Unsupported == fileType), 176 if ((VideoEditClasses_kFileType_MP3 == fileType) || 177 (VideoEditClasses_kFileType_MP4 == fileType) || 178 (VideoEditClasses_kFileType_3GPP == fileType) || 179 (VideoEditClasses_kFileType_AMR == fileType) || 180 (VideoEditClasses_kFileType_PCM == fileType) || 181 (VideoEditClasses_kFileType_M4V == fileType)) 243 pProperties->FileType = fileType; 330 VideoEditClasses_FileType fileType = local [all...] |
H A D | VideoEditorClasses.h | 117 jfieldID fileType; member in struct:__anon1116 154 jfieldID fileType; member in struct:__anon1118 177 jfieldID fileType; member in struct:__anon1119
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/inc/ |
H A D | VideoEditorMain.h | 51 M4OSA_Int32 fileType; member in struct:__anon322
|
/frameworks/base/tools/validatekeymaps/ |
H A D | Main.cpp | 74 FileType fileType = getFileType(filename); local 75 switch (fileType) {
|
/frameworks/av/drm/common/ |
H A D | DrmSupportInfo.cpp | 60 bool DrmSupportInfo::isSupportedFileSuffix(const String8& fileType) const { 64 if (!strcasecmp(item.string(), fileType.string())) {
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ELFReader.h | 70 /// fileType - the file type of this file 71 Input::Type fileType(void* pELFHeader) const; 137 /// fileType - the file type of this file 138 Input::Type fileType(void* pELFHeader) const;
|
H A D | ELFReaderIf.h | 57 /// fileType - the file type of this file 58 virtual Input::Type fileType(void* pELFHeader) const = 0;
|
/frameworks/av/include/drm/ |
H A D | DrmSupportInfo.h | 174 * @param[in] fileType File type 179 bool isSupportedFileSuffix(const String8& fileType) const;
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | AudioTrack.java | 150 int fileType = mMANativeHelper.getFileType(properties.fileType); 151 switch (fileType) { 159 throw new IllegalArgumentException("Unsupported input file type: " + fileType);
|
H A D | MediaImageItem.java | 107 switch (mMANativeHelper.getFileType(properties.fileType)) { 795 clipSettings.fileType = FileType.JPG; 820 clipSettings.fileType = mMANativeHelper.getMediaItemFileType(getFileType()); 859 clipSettings.fileType = FileType.THREE_GPP; 867 clipSettings.fileType = FileType.JPG; 874 clipSettings.fileType = FileType.THREE_GPP; 912 clipSettings.fileType = FileType.JPG;
|
H A D | MediaArtistNativeHelper.java | 997 public int fileType; field in class:MediaArtistNativeHelper.ClipSettings 1145 public int fileType; field in class:MediaArtistNativeHelper.BackgroundMusicSettings 1413 public int fileType; field in class:MediaArtistNativeHelper.PreviewClips 1458 int fileType; field in class:MediaArtistNativeHelper.AudioSettings 1608 public int fileType; field in class:MediaArtistNativeHelper.Properties 2256 lclipSettings.fileType = 0; 2355 lclipSettings.fileType = FileType.THREE_GPP; 2613 editSettings.clipSettingsArray[index].fileType = FileType.THREE_GPP; 2709 if (mPreviewEditSettings.clipSettingsArray[index].fileType == FileType.JPG) { 2757 mAudioSettings.fileType 3220 getFileType(int fileType) argument 3358 getMediaItemFileType(int fileType) argument [all...] |
H A D | MediaItem.java | 702 clipSettings.fileType = 0; 731 clipSettings.fileType = mMANativeHelper.getMediaItemFileType(mVI. 793 clipSettings.fileType = FileType.JPG;
|
H A D | MediaVideoItem.java | 148 switch (mMANativeHelper.getFileType(properties.fileType)) { 172 mFileType = mMANativeHelper.getFileType(properties.fileType); 750 clipSettings.fileType = mMANativeHelper.getMediaItemFileType(getFileType());
|
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 72 FileType fileType = getFileType(outputFile.string()); local 73 if (fileType == kFileTypeNonexistent) { 75 } else if (fileType == kFileTypeRegular) { 95 printf("%s '%s'\n", (fileType == kFileTypeNonexistent) ? "Creating" : "Opening",
|
/frameworks/compile/libbcc/tests/ |
H A D | test.py | 69 def fileType(item): function 73 ft = fileType(which("bcc"))
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFDynObjReader.cpp | 65 else if (Input::DynObj != m_pELFReader->fileType(ELF_hdr))
|
H A D | ELFObjectReader.cpp | 78 else if (Input::Object != m_pELFReader->fileType(ELF_hdr))
|
H A D | ELFReader.cpp | 251 /// fileType - return the file type 252 Input::Type ELFReader<32, true>::fileType(void* pELFHeader) const function in class:ELFReader 760 /// fileType - return the file type 761 Input::Type ELFReader<64, true>::fileType(void* pELFHeader) const function in class:ELFReader
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 1398 FileType fileType; local 1419 fileType = kFileTypeRegular; 1421 fileType = kFileTypeDirectory; 1423 fileType = kFileTypeUnknown; 1426 fileType = ::getFileType(path.appendPathCopy(entry->d_name).string()); 1429 if (fileType != kFileTypeRegular && fileType != kFileTypeDirectory) 1433 info.set(String8(entry->d_name), fileType);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
H A D | VideoEditorPerformance.java | 634 final int fileType = MediaProperties.FILE_MP4; 655 fileType, mediaVideoItem.getFileType());
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewCore.java | 321 int fileType = MediaFile.getFileTypeForMimeType(mimeType); 322 return MediaFile.isAudioFileType(fileType) 323 || MediaFile.isVideoFileType(fileType) 324 || MediaFile.isPlayListFileType(fileType)
|