/frameworks/av/media/libstagefright/ |
D | StagefrightMediaScanner.cpp | 39 static bool FileHasAcceptableExtension(const char *extension) { in FileHasAcceptableExtension() argument 51 if (!strcasecmp(extension, kValidExtensions[i])) { in FileHasAcceptableExtension() 122 const char *extension = strrchr(path, '.'); in processFileInternal() local 124 if (!extension) { in processFileInternal() 128 if (!FileHasAcceptableExtension(extension)) { in processFileInternal() 132 if (!strcasecmp(extension, ".mid") in processFileInternal() 133 || !strcasecmp(extension, ".smf") in processFileInternal() 134 || !strcasecmp(extension, ".imy") in processFileInternal() 135 || !strcasecmp(extension, ".midi") in processFileInternal() 136 || !strcasecmp(extension, ".xmf") in processFileInternal() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | MimeTypeMap.java | 87 public String getMimeTypeFromExtension(String extension) { in getMimeTypeFromExtension() argument 88 return MimeUtils.guessMimeTypeFromExtension(extension); in getMimeTypeFromExtension() 92 private static String mimeTypeFromExtension(String extension) { in mimeTypeFromExtension() argument 93 return MimeUtils.guessMimeTypeFromExtension(extension); in mimeTypeFromExtension() 101 public boolean hasExtension(String extension) { in hasExtension() argument 102 return MimeUtils.hasExtension(extension); in hasExtension() 142 String extension = getFileExtensionFromUrl(url); in remapGenericMimeType() local 143 String newMimeType = getMimeTypeFromExtension(extension); in remapGenericMimeType()
|
D | URLUtil.java | 304 String extension = null; in guessFileName() local 345 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in guessFileName() 346 if (extension != null) { in guessFileName() 347 extension = "." + extension; in guessFileName() 350 if (extension == null) { in guessFileName() 353 extension = ".html"; in guessFileName() 355 extension = ".txt"; in guessFileName() 358 extension = ".bin"; in guessFileName() 369 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in guessFileName() 370 if (extension != null) { in guessFileName() [all …]
|
/frameworks/base/media/jni/mediaeditor/ |
D | VideoEditorPropertiesMain.cpp | 329 M4OSA_Char extension[5] = {0, 0, 0, 0, 0}; in getFileAndMediaTypeFromExtension() local 351 extension[index] = tolower((int)pExtension[index]); in getFileAndMediaTypeFromExtension() 355 if (!(VideoEdit_chrCompare(extension, (M4OSA_Char*)"mp3", &cmpResult))) in getFileAndMediaTypeFromExtension() 361 else if (!(VideoEdit_chrCompare(extension, (M4OSA_Char*)"mp4", &cmpResult))) in getFileAndMediaTypeFromExtension() 367 else if (!(VideoEdit_chrCompare(extension, (M4OSA_Char*)"3gp", &cmpResult))) in getFileAndMediaTypeFromExtension() 373 else if (!(VideoEdit_chrCompare(extension, (M4OSA_Char*)"m4a", &cmpResult))) in getFileAndMediaTypeFromExtension() 379 else if (!(VideoEdit_chrCompare(extension, (M4OSA_Char*)"3gpp", &cmpResult))) in getFileAndMediaTypeFromExtension() 385 else if (!(VideoEdit_chrCompare(extension, (M4OSA_Char*)"amr", &cmpResult))) in getFileAndMediaTypeFromExtension() 391 else if (!(VideoEdit_chrCompare(extension, (M4OSA_Char*)"pcm", &cmpResult))) in getFileAndMediaTypeFromExtension() 397 else if (!(VideoEdit_chrCompare(extension, (M4OSA_Char*)"jpg", &cmpResult))) in getFileAndMediaTypeFromExtension() [all …]
|
/frameworks/base/tools/validatekeymaps/ |
D | Main.cpp | 51 const char *extension = strrchr(filename, '.'); in getFileType() local 52 if (extension) { in getFileType() 53 if (strcmp(extension, ".kl") == 0) { in getFileType() 56 if (strcmp(extension, ".kcm") == 0) { in getFileType() 59 if (strcmp(extension, ".idc") == 0) { in getFileType()
|
/frameworks/compile/mclinker/lib/MC/ |
D | SearchDirs.cpp | 93 … if(mcld::sys::fs::detail::shared_library_extension == entry.path()->extension().native()) { in find() 106 mcld::sys::fs::detail::static_library_extension == entry.path()->extension().native()) { in find() 137 … if(mcld::sys::fs::detail::shared_library_extension == entry.path()->extension().native()) { in find() 150 mcld::sys::fs::detail::static_library_extension == entry.path()->extension().native()) { in find()
|
/frameworks/base/media/java/android/media/ |
D | MediaFile.java | 137 static void addFileType(String extension, int fileType, String mimeType) { in addFileType() argument 138 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType)); in addFileType() 142 static void addFileType(String extension, int fileType, String mimeType, int mtpFormatCode) { in addFileType() argument 143 addFileType(extension, fileType, mimeType); in addFileType() 144 sFileTypeToFormatMap.put(extension, Integer.valueOf(mtpFormatCode)); in addFileType() 328 String extension = fileName.substring(lastDot + 1).toUpperCase(); in getFormatCode() local 329 Integer value = sFileTypeToFormatMap.get(extension); in getFormatCode()
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | ManagerService.java | 258 private byte[] getExpectedResult(String relativePath, String extension) { in getExpectedResult() argument 260 FileFilter.setPathEnding(relativePath, "-expected." + extension); in getExpectedResult() 284 private String getExpectedResultPath(String relativePath, String extension) { in getExpectedResultPath() argument 286 FileFilter.setPathEnding(relativePath, "-expected." + extension); in getExpectedResultPath() 288 getExpectedResult(relativePath, extension); in getExpectedResultPath()
|
/frameworks/base/libs/hwui/ |
D | Extensions.cpp | 99 bool Extensions::hasExtension(const char* extension) const { in hasExtension() 100 const String8 s(extension); in hasExtension()
|
D | Extensions.h | 51 bool hasExtension(const char* extension) const;
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_image_native_buffer.txt | 37 This extension is written against the wording of the EGL 1.2 42 This extension enables using an Android window buffer (struct 96 1. Should this extension define what combinations of ANativeWindowBuffer
|
D | EGL_ANDROID_recordable.txt | 33 This extension is written against the wording of the EGL 1.4 Specification 41 incompatible with these ANativeWindows. This extension introduces a new 100 bit in the limit-size bitfield for a platform-specific extension. 110 3. How is this extension expected to be implemented? 112 RESPONSE: There are two basic approaches to implementing this extension
|
D | EGL_ANDROID_blob_cache.txt | 33 This extension is written against the wording of the EGL 1.4 Specification 44 This extension provides a mechanism through which client API 51 While the focus of this extension is on providing a persistent cache for 56 Note that although this extension is written as if the application 58 as part of the Android EGL module. This extension is not exposed to 204 - Fix typo in New Functions section & assign extension #.
|
D | EGL_ANDROID_presentation_time.txt | 34 This extension is written against the wording of the EGL 1.4 Specification 39 image is intended to be presented to the viewer. This extension allows 102 in this extension. Some possible uses include Audio/Video synchronization,
|
D | EGL_ANDROID_framebuffer_target.txt | 33 This extension is written against the wording of the EGL 1.4 Specification 41 be incompatible with these ANativeWindows. This extension introduces a
|
D | EGL_ANDROID_native_fence_sync.txt | 33 This extension is written against the wording of the EGL 1.2 Specification 39 This extension enables the creation of EGL fence sync objects that are 42 identical semantics to those defined by the KHR_fence_sync extension, 46 This extension assumes the existence of a native fence synchronization 177 extension indicating it can place fence commands, then EGL_NO_SYNC_KHR 243 EGL call in this extension, ownership of that file descriptor is 266 - Reworded the extension to refer to "native fence" objects rather than
|
D | README | 1 This directory contains OpenGL ES and EGL extension specifications that have
|
/frameworks/native/services/surfaceflinger/ |
D | GLExtensions.cpp | 102 bool GLExtensions::hasExtension(char const* extension) const in hasExtension() 104 const String8 s(extension); in hasExtension()
|
D | GLExtensions.h | 92 bool hasExtension(char const* extension) const;
|
/frameworks/av/drm/libdrmframework/include/ |
D | PlugInManager.h | 231 String8 extension(sName.getPathExtension()); in isPlugIn() 233 return extension == String8(PLUGIN_EXTENSION); in isPlugIn()
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
D | DrmPassthruPlugIn.cpp | 162 String8 extension = path.getPathExtension(); in onCanHandle() local 163 extension.toLower(); in onCanHandle() 164 return (String8(".passthru") == extension); in onCanHandle()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_decode_header.cpp | 179 info->extension = (temp << 23) >> 31; /* 1 */ in pvmp3_decode_header()
|
D | pvmp3_dec_defs.h | 127 int32 extension; member
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | Path.h | 94 Path extension() const;
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | FileProvider.java | 172 final String extension = file.getName().substring(lastDot + 1); in getType() local 173 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); in getType()
|