Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaFile.java57 public final int fileType; field in MediaFile.MediaFileType
61 MediaFileType(int fileType, String mimeType) { in MediaFileType() argument
62 this.fileType = fileType; in MediaFileType()
90 static void addFileType(String extension, int fileType, String mimeType) { in addFileType() argument
165 public static boolean isAudioFileType(int fileType) { in isAudioFileType() argument
172 public static boolean isVideoFileType(int fileType) { in isVideoFileType() argument
179 public static boolean isImageFileType(int fileType) { in isImageFileType() argument
186 public static boolean isPlayListFileType(int fileType) { in isPlayListFileType() argument
193 public static boolean isDrmFileType(int fileType) { in isDrmFileType() argument
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDynamicCodeLoading.java111 boolean record(String owningPackageName, String filePath, int fileType, int ownerUserId, in record() argument
113 if (!isValidFileType(fileType)) { in record()
114 throw new IllegalArgumentException("Bad file type: " + fileType); in record()
122 return packageInfo.add(filePath, (char) fileType, ownerUserId, loadingPackageName); in record()
126 private static boolean isValidFileType(int fileType) { in isValidFileType() argument
127 return fileType == FILE_TYPE_DEX || fileType == FILE_TYPE_NATIVE; in isValidFileType()
529 private boolean add(String path, char fileType, int userId, String loadingPackage) { in add() argument
535 fileInfo = new DynamicCodeFile(fileType, userId, loadingPackage); in add()
/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/base/tools/validatekeymaps/
DMain.cpp132 FileType fileType = getFileType(filename); in validateFile() local
133 switch (fileType) { in validateFile()
/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.cpp1151 FileType fileType; in scanDirLocked() local
1172 fileType = kFileTypeRegular; in scanDirLocked()
1174 fileType = kFileTypeDirectory; in scanDirLocked()
1176 fileType = kFileTypeUnknown; in scanDirLocked()
1179 fileType = ::getFileType(path.appendPathCopy(entry->d_name).string()); in scanDirLocked()
1182 if (fileType != kFileTypeRegular && fileType != kFileTypeDirectory) in scanDirLocked()
1186 info.set(String8(entry->d_name), fileType); in scanDirLocked()
/frameworks/base/services/core/java/com/android/server/storage/
DFileCollector.java247 int fileType = EXTENSION_MAP.getOrDefault(getExtensionForFile(f), UNRECOGNIZED); in handleFile() local
248 switch (fileType) { in handleFile()
/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/base/libs/hwui/jni/
DGIFMovie.cpp42 static int Decode(GifFileType* fileType, GifByteType* out, int size) { in Decode() argument
43 SkStream* stream = (SkStream*) fileType->UserData; in Decode()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDynamicCodeLoadingTests.java540 private Entry(String owningPackage, String path, char fileType, int userId, in Entry() argument
544 mFileType = fileType; in Entry()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp1518 int32_t fileType; in writeFtypBox() local
1519 if (!param || !param->findInt32(kKeyFileType, &fileType)) { in writeFtypBox()
1520 fileType = OUTPUT_FORMAT_MPEG_4; in writeFtypBox()
1522 if (fileType != OUTPUT_FORMAT_MPEG_4 && fileType != OUTPUT_FORMAT_HEIF) { in writeFtypBox()
1530 if (fileType == OUTPUT_FORMAT_HEIF && mHasFileLevelMeta) { in writeFtypBox()