/frameworks/base/media/java/android/media/ |
D | MediaFile.java | 57 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/ |
D | PackageDynamicCodeLoading.java | 111 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/ |
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/base/tools/validatekeymaps/ |
D | Main.cpp | 132 FileType fileType = getFileType(filename); in validateFile() local 133 switch (fileType) { in validateFile()
|
/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 | 1151 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/ |
D | FileCollector.java | 247 int fileType = EXTENSION_MAP.getOrDefault(getExtensionForFile(f), UNRECOGNIZED); in handleFile() local 248 switch (fileType) { in handleFile()
|
/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/base/libs/hwui/jni/ |
D | GIFMovie.cpp | 42 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/ |
D | PackageDynamicCodeLoadingTests.java | 540 private Entry(String owningPackage, String path, char fileType, int userId, in Entry() argument 544 mFileType = fileType; in Entry()
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 1518 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()
|