/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 | 306 String extension = null; in guessFileName() local 347 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in guessFileName() 348 if (extension != null) { in guessFileName() 349 extension = "." + extension; in guessFileName() 352 if (extension == null) { in guessFileName() 355 extension = ".html"; in guessFileName() 357 extension = ".txt"; in guessFileName() 360 extension = ".bin"; in guessFileName() 371 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in guessFileName() 372 if (extension != null) { in guessFileName() [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/base/tools/split-select/ |
D | SplitDescription.cpp | 71 String8 extension; in toString() local 73 if (extension.isEmpty()) { in toString() 74 extension.append(":"); in toString() 76 extension.append("-"); in toString() 78 extension.append(abi::toString(abi)); in toString() 81 str.append(extension); in toString()
|
/frameworks/av/media/libstagefright/ |
D | StagefrightMediaScanner.cpp | 37 static bool FileHasAcceptableExtension(const char *extension) { in FileHasAcceptableExtension() argument 49 if (!strcasecmp(extension, kValidExtensions[i])) { in FileHasAcceptableExtension() 72 const char *extension = strrchr(path, '.'); in processFileInternal() local 74 if (!extension) { in processFileInternal() 78 if (!FileHasAcceptableExtension(extension)) { in processFileInternal()
|
/frameworks/native/vulkan/api/ |
D | vulkan.api | 48 @extension("VK_KHR_surface") define VK_KHR_SURFACE_SPEC_VERSION 25 49 @extension("VK_KHR_surface") define VK_KHR_SURFACE_EXTENSION_NAME "VK_KHR_surface" 51 @extension("VK_KHR_swapchain") define VK_KHR_SWAPCHAIN_SPEC_VERSION 68 52 @extension("VK_KHR_swapchain") define VK_KHR_SWAPCHAIN_EXTENSION_NAME "VK_KHR_swapchain" 54 @extension("VK_KHR_display") define VK_KHR_DISPLAY_SPEC_VERSION 21 55 @extension("VK_KHR_display") define VK_KHR_DISPLAY_EXTENSION_NAME "VK_KHR_display" 57 @extension("VK_KHR_display_swapchain") define VK_KHR_DISPLAY_SWAPCHAIN_SPEC_VERSION 9 58 @extension("VK_KHR_display_swapchain") define VK_KHR_DISPLAY_SWAPCHAIN_EXTENSION_NAME "VK_KHR_dis… 60 @extension("VK_KHR_xlib_surface") define VK_KHR_XLIB_SURFACE_SPEC_VERSION 6 61 @extension("VK_KHR_xlib_surface") define VK_KHR_XLIB_SURFACE_NAME "VK_KHR_xlib_surfac… [all …]
|
/frameworks/support/v4/java/android/support/v4/provider/ |
D | RawDocumentFile.java | 38 final String extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in createFile() local 39 if (extension != null) { in createFile() 40 displayName += "." + extension; in createFile() 148 final String extension = name.substring(lastDot + 1).toLowerCase(); in getTypeForName() local 149 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); in getTypeForName()
|
/frameworks/base/tools/aapt2/compile/ |
D | Compile.cpp | 48 std::string extension; member 90 StringPiece extension; in extractResourcePathData() local 93 extension = name.substr(dotPos + 1, filename.size() - (dotPos + 1)); in extractResourcePathData() 101 extension.toString(), in extractResourcePathData() 122 if (!data.extension.empty()) { in buildIntermediateFilename() 123 name << "." << data.extension; in buildIntermediateFilename() 531 pathData.extension = "arsc"; in compile() 542 if (pathData.extension == "xml") { in compile() 547 } else if (pathData.extension == "png" || pathData.extension == "9.png") { in compile()
|
/frameworks/base/media/java/android/media/ |
D | MediaFile.java | 147 static void addFileType(String extension, int fileType, String mimeType) { in addFileType() argument 148 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType)); in addFileType() 152 static void addFileType(String extension, int fileType, String mimeType, int mtpFormatCode) { in addFileType() argument 153 addFileType(extension, fileType, mimeType); in addFileType() 154 sFileTypeToFormatMap.put(extension, Integer.valueOf(mtpFormatCode)); in addFileType() 356 String extension = fileName.substring(lastDot + 1).toUpperCase(Locale.ROOT); in getFormatCode() local 357 Integer value = sFileTypeToFormatMap.get(extension); in getFormatCode()
|
/frameworks/native/vulkan/libvulkan/ |
D | code-generator.tmpl | 411 {{$ext := GetAnnotation $ "extension"}} 491 // Exported extension functions may be invoked even when their extensions 504 Emits a stub for an exported extension function. 510 {{$ext := GetAnnotation $ "extension"}} 687 Emits true if an extension is intercepted by vulkan::driver. 729 {{$ext := GetAnnotation $ "extension"}} 747 {{$ext := GetAnnotation $ "extension"}} 781 Extension extension; 811 {{$ext := GetAnnotation $ "extension"}} 843 {{$ext := GetAnnotation $ "extension"}} [all …]
|
/frameworks/compile/mclinker/lib/MC/ |
D | SearchDirs.cpp | 108 entry.path()->extension().native()) { in find() 122 entry.path()->extension().native()) { in find() 173 entry.path()->extension().native()) { in find() 187 entry.path()->extension().native()) { in find()
|
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/ |
D | LocalizeDependenciesTask.groovy | 70 LocalizePluginExtension extension = project.extensions. 72 if (extension.localRepoDir == null || extension.otherRepoDirs == null) { 76 " otherRepoDirs. localRepoDir: " + extension.localRepoDir + 77 "\notherRepoDir:" + extension.otherRepoDirs; 82 localRepoDir = extension.localRepoDir 83 downloadAll(extension.localRepoDir, extension.otherRepoDirs)
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | GLExtensions.cpp | 60 bool GLExtensions::hasExtension(char const* extension) const in hasExtension() 62 const String8 s(extension); in hasExtension()
|
/frameworks/native/opengl/specs/ |
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_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_front_buffer_auto_refresh.txt | 33 This extension is written against the wording of the EGL 1.5 Specification 37 This extension is intended for latency-sensitive applications that are doing
|
D | EGL_ANDROID_create_native_client_buffer.txt | 35 This extension is written against the wording of the EGL 1.2 41 This extension allows creating an EGLClientBuffer backed by an Android 159 1. Should this extension define what combinations of formats and usage flags 170 client buffers created by this extension? 184 of this extension should ensure the buffer has a lifetime at least as long
|
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_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
|
/frameworks/base/tools/layoutlib/rename_font/ |
D | build_font_single.py | 74 extension = os.path.splitext(input_path)[1].lower() 75 if extension in EXTENSIONS: 76 if not COPY_ONLY and extension == '.ttf':
|
D | build_font.py | 84 extension = os.path.splitext(filename)[1].lower() 85 if extension == '.ttf': 87 elif extension == '.xml':
|
/frameworks/base/docs/html/ndk/guides/ |
D | cpu-features.jd | 103 FPU instruction-set extension.</dd> 106 <dd>Indicates that the device's CPU supports the VFPv3 hardware FPU instruction-set extension. 117 extension. Note that ARM mandates that such CPUs also implement VFPv3-D32, which provides 32 125 <dd>Indicates that the device's CPU supports the fused multiply-accumulate extension for the VFP 129 <dd>Indicates that the device's CPU supports the fused multiply-accumulate extension for the NEON 141 <dd>Indicates that the device's CPU supports an instruction-set extension that adds MMX registers 178 Indicates that the device's CPU supports the SSSE3 instruction extension set.</dd>
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagMips.inc | 32 "MIPS16 extension is unsupported: %0", 33 "MIPS16 extension is unsupported: %0")
|
/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/drm/libdrmframework/include/ |
D | PlugInManager.h | 231 String8 extension(sName.getPathExtension()); in isPlugIn() 233 return extension == String8(PLUGIN_EXTENSION); in isPlugIn()
|