/frameworks/base/core/java/android/webkit/ |
H A D | MimeTypeMap.java | 37 * Returns the file extension or an empty string iff there is no 38 * extension. This method is a convenience method for obtaining the 39 * extension of a url and has undefined results for other Strings. 41 * @return The file extension of the given url. 83 * Return the MIME type for the given extension. 84 * @param extension A file extension without the leading '.' 85 * @return The MIME type for the given extension or null iff there is none. 87 public String getMimeTypeFromExtension(String extension) { argument 88 return MimeUtils.guessMimeTypeFromExtension(extension); 92 mimeTypeFromExtension(String extension) argument 101 hasExtension(String extension) argument [all...] |
H A D | URLUtil.java | 291 * the URL and contentDisposition. File extension, if not defined, 304 String extension = null; 340 // Split filename between base and extension 341 // Add an extension if filename does not have one 345 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); 346 if (extension != null) { 347 extension = "." + extension; 350 if (extension == null) { 353 extension [all...] |
H A D | BrowserFrame.java | 1166 String extension = url.substring(url.lastIndexOf('.') + 1); 1167 mimeType = libcore.net.MimeUtils.guessMimeTypeFromExtension(extension);
|
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMediaScanner.cpp | 39 static bool FileHasAcceptableExtension(const char *extension) { argument 51 if (!strcasecmp(extension, kValidExtensions[i])) { 122 const char *extension = strrchr(path, '.'); local 124 if (!extension) { 128 if (!FileHasAcceptableExtension(extension)) { 132 if (!strcasecmp(extension, ".mid") 133 || !strcasecmp(extension, ".smf") 134 || !strcasecmp(extension, ".imy") 135 || !strcasecmp(extension, ".midi") 136 || !strcasecmp(extension, " [all...] |
/frameworks/base/tools/validatekeymaps/ |
H A D | Main.cpp | 51 const char *extension = strrchr(filename, '.'); local 52 if (extension) { 53 if (strcmp(extension, ".kl") == 0) { 56 if (strcmp(extension, ".kcm") == 0) { 59 if (strcmp(extension, ".idc") == 0) {
|
/frameworks/base/libs/hwui/ |
H A D | Extensions.h | 84 bool hasExtension(const char* extension) const { 85 const String8 s(extension);
|
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorPropertiesMain.cpp | 147 // Retrieve the extension. 154 // Get the file type and Media type from extension 329 M4OSA_Char extension[5] = {0, 0, 0, 0, 0}; local 345 // Check if the length of the extension is valid. 348 // Convert the extension to lowercase. 351 extension[index] = tolower((int)pExtension[index]); 354 // Check if the extension is ".mp3". 355 if (!(VideoEdit_chrCompare(extension, (M4OSA_Char*)"mp3", &cmpResult))) 360 // Check if the extension is ".mp4". 361 else if (!(VideoEdit_chrCompare(extension, (M4OSA_Cha [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | SearchDirs.cpp | 62 if(mcld::sys::fs::detail::shared_library_extension == entry.path()->extension().native()) { 75 mcld::sys::fs::detail::static_library_extension == entry.path()->extension().native()) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | GLExtensions.cpp | 101 bool GLExtensions::hasExtension(char const* extension) const 103 const String8 s(extension);
|
H A D | GLExtensions.h | 92 bool hasExtension(char const* extension) const;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaFile.java | 127 // maps file extension to MTP format code 137 static void addFileType(String extension, int fileType, String mimeType) { argument 138 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType)); 142 static void addFileType(String extension, int fileType, String mimeType, int mtpFormatCode) { argument 143 addFileType(extension, fileType, mimeType); 144 sFileTypeToFormatMap.put(extension, Integer.valueOf(mtpFormatCode)); 301 // truncate the file extension (if any) 328 String extension = fileName.substring(lastDot + 1).toUpperCase(); 329 Integer value = sFileTypeToFormatMap.get(extension);
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | ManagerService.java | 258 private byte[] getExpectedResult(String relativePath, String extension) { argument 260 FileFilter.setPathEnding(relativePath, "-expected." + extension); 284 private String getExpectedResultPath(String relativePath, String extension) { argument 286 FileFilter.setPathEnding(relativePath, "-expected." + extension); 288 getExpectedResult(relativePath, extension);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dec_defs.h | 127 int32 extension; member in struct:__anon667
|
H A D | pvmp3_decode_header.cpp | 179 info->extension = (temp << 23) >> 31; /* 1 */
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | PlugInManager.h | 231 String8 extension(sName.getPathExtension()); 232 // Note that the plug-in extension must exactly match case 233 return extension == String8(PLUGIN_EXTENSION);
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 161 String8 extension = path.getPathExtension(); local 162 extension.toLower(); 163 return (String8(".passthru") == extension);
|
/frameworks/ex/variablespeed/jni/ |
H A D | Android.mk | 18 # TODO: Remove the .cc extension, just .cpp.
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | Path.h | 93 Path extension() const;
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | Path.cpp | 159 Path Path::extension() const function in class:Path
|
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 213 String8 extension = path.getPathExtension(); local 214 if (String8("") != extension) {
|