Home
last modified time | relevance | path

Searched refs:extension (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/native/vulkan/api/
Dvulkan.api46 @extension("VK_EXT_queue_family_foreign")
48 @extension("VK_MAX_DRIVER_NAME_SIZE_KHR") // 197
50 @extension("VK_MAX_DRIVER_NAME_SIZE_KHR") // 197
61 @extension("VK_KHR_surface") define VK_KHR_SURFACE_SPEC_VERSION 25
62 @extension("VK_KHR_surface") define VK_KHR_SURFACE_EXTENSION_NAME "VK_KHR_surface"
65 @extension("VK_KHR_swapchain") define VK_KHR_SWAPCHAIN_SPEC_VERSION 70
66 @extension("VK_KHR_swapchain") define VK_KHR_SWAPCHAIN_EXTENSION_NAME "VK_KHR_swapchain"
69 @extension("VK_KHR_display") define VK_KHR_DISPLAY_SPEC_VERSION 21
70 @extension("VK_KHR_display") define VK_KHR_DISPLAY_EXTENSION_NAME "VK_KHR_display"
73 @extension("VK_KHR_display_swapchain") define VK_KHR_DISPLAY_SWAPCHAIN_SPEC_VERSION 9
[all …]
/frameworks/ml/nn/runtime/
DTypeManager.cpp186 for (const Extension& extension : device->getSupportedExtensions()) { in findAvailableExtensions() local
187 registerExtension(extension, device->getName()); in findAvailableExtensions()
192 bool TypeManager::registerExtension(Extension extension, const std::string& deviceName) { in registerExtension() argument
193 if (mDisabledExtensions.find(extension.name) != mDisabledExtensions.end()) { in registerExtension()
194 LOG(ERROR) << "Extension " << extension.name << " is disabled"; in registerExtension()
198 std::sort(extension.operandTypes.begin(), extension.operandTypes.end(), in registerExtension()
206 std::tie(it, isNew) = mExtensionNameToExtension.emplace(extension.name, extension); in registerExtension()
208 VLOG(MANAGER) << "Registered extension " << extension.name; in registerExtension()
209 mExtensionNameToFirstDevice.emplace(extension.name, deviceName); in registerExtension()
210 } else if (!equal(extension, it->second)) { in registerExtension()
[all …]
DTypeManager.h51 bool getExtensionInfo(uint16_t prefix, const hal::Extension** extension) const;
96 bool forTest_registerExtension(const hal::Extension& extension) { in forTest_registerExtension() argument
97 return registerExtension(extension, "INTERNAL TEST"); in forTest_registerExtension()
138 bool registerExtension(hal::Extension extension, const std::string& deviceName);
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DExtensionFragmentListener.java40 private ExtensionFragmentListener(View view, String tag, int id, Extension<T> extension) { in ExtensionFragmentListener() argument
43 mExtension = extension; in ExtensionFragmentListener()
52 public void accept(T extension) { in accept() argument
54 Fragment.class.cast(extension); in accept()
56 mOldClass, extension.getClass().getName(), mExtension.getContext()); in accept()
57 mOldClass = extension.getClass().getName(); in accept()
59 Log.e(TAG, extension.getClass().getName() + " must be a Fragment", e); in accept()
65 Extension<T> extension) { in attachExtensonToFragment() argument
66 extension.addCallback(new ExtensionFragmentListener(view, tag, id, extension)); in attachExtensonToFragment()
/frameworks/ml/nn/extensions/
DREADME.md30 ## Vendor extension definition
32 The vendor creates and maintains a header file with the extension definition. A
33 complete example of an extension definition can be found in
36 Each extension must have a unique name that starts with the reverse domain name
39 Note: Names of extension operation and operand types must be qualified with a
82 An extension operation can use any operand type, including nonextension operand
84 another extension, the driver must support the other extension.
86 Extensions can also declare custom structures to accompany extension operands.
101 extension support. This section provides an overview of the C API.
103 To check whether a device supports an extension, use
[all …]
/frameworks/base/core/java/android/webkit/
DURLUtil.java310 String extension = null; in guessFileName() local
351 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in guessFileName()
352 if (extension != null) { in guessFileName()
353 extension = "." + extension; in guessFileName()
356 if (extension == null) { in guessFileName()
359 extension = ".html"; in guessFileName()
361 extension = ".txt"; in guessFileName()
364 extension = ".bin"; in guessFileName()
375 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in guessFileName()
376 if (extension != null) { in guessFileName()
[all …]
DMimeTypeMap.java91 public String getMimeTypeFromExtension(String extension) { in getMimeTypeFromExtension() argument
92 return MimeMap.getDefault().guessMimeTypeFromExtension(extension); in getMimeTypeFromExtension()
96 private static String mimeTypeFromExtension(String extension) { in mimeTypeFromExtension() argument
97 return MimeMap.getDefault().guessMimeTypeFromExtension(extension); in mimeTypeFromExtension()
105 public boolean hasExtension(String extension) { in hasExtension() argument
106 return MimeMap.getDefault().hasExtension(extension); in hasExtension()
147 String extension = getFileExtensionFromUrl(url); in remapGenericMimeType() local
148 String newMimeType = getMimeTypeFromExtension(extension); in remapGenericMimeType()
/frameworks/base/tools/aapt2/optimize/
DResourcePathShortener.cpp68 const android::StringPiece& extension, int collision_count) { in GetShortenedPath() argument
73 shortened_path += extension; in GetShortenedPath()
95 android::StringPiece res_subdir, actual_filename, extension; in Consume() local
96 util::ExtractResFilePathParts(*file_ref->path, &res_subdir, &actual_filename, &extension); in Consume()
100 std::string shortened_path = GetShortenedPath(shortened_filename, extension, collision_count); in Consume()
103 shortened_path = GetShortenedPath(shortened_filename, extension, collision_count); in Consume()
/frameworks/base/tools/validatekeymaps/
DMain.cpp69 const char *extension = strrchr(filename, '.'); in getFileType() local
70 if (extension) { in getFileType()
71 if (strcmp(extension, ".kl") == 0) { in getFileType()
74 if (strcmp(extension, ".kcm") == 0) { in getFileType()
77 if (strcmp(extension, ".idc") == 0) { in getFileType()
/frameworks/base/tools/split-select/
DSplitDescription.cpp71 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/
DStagefrightMediaScanner.cpp40 static bool FileHasAcceptableExtension(const char *extension) { in FileHasAcceptableExtension() argument
47 return gSupportedExtensions.count(std::string(extension + 1)) != 0; in FileHasAcceptableExtension()
70 const char *extension = strrchr(path, '.'); in processFileInternal() local
72 if (!extension) { in processFileInternal()
76 if (!FileHasAcceptableExtension(extension)) { in processFileInternal()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderTest.java61 IBinder extension = new Binder(); in testGetExtension() local
62 binder.setExtension(extension); in testGetExtension()
64 assertSame(binder.getExtension(), extension); in testGetExtension() local
DBinderProxyTest.java125 IBinder extension = mRemoteBinder.getExtension(); in testGetExtension() local
126 assertNotNull(extension); in testGetExtension()
127 assertTrue(extension.pingBinder()); in testGetExtension()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DMain.java153 String extension = Files.getFileExtension(osDestJarFile.getName()); in createLayoutLib() local
154 if (!extension.isEmpty()) { in createLayoutLib()
155 extension = '.' + extension; in createLayoutLib()
159 extension; in createLayoutLib()
/frameworks/base/mime/java-res/
Dandroid.mime.types4 # Android-specific MIME type <-> extension mappings
7 # listed extensions, and from listed extension back to the MIME type.
9 # extension (put() semantics), unless that MIME type / extension is prefixed with '?'
33 # to the file extension ".txt" if there is no earlier mapping. The line also
34 # sets the mapping from file extension ".txt" to be the MIME type "text/plain",
44 # If <mimeType> was not already mapped to an extension then it will be
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp68 std::string extension; member
107 StringPiece extension; in ExtractResourcePathData() local
114 extension = "9.png"; in ExtractResourcePathData()
119 extension = name.substr(dot_pos + 1, filename.size() - (dot_pos + 1)); in ExtractResourcePathData()
125 extension.to_string(), config_str.to_string(), config}; in ExtractResourcePathData()
135 if (!data.extension.empty()) { in BuildIntermediateContainerFilename()
136 name << "." << data.extension; in BuildIntermediateContainerFilename()
491 if (path_data.extension == "9.png") { in CompilePng()
674 if (path_data.resource_dir == "values" && path_data.extension == "xml") { in Compile()
678 path_data.extension = "arsc"; in Compile()
[all …]
/frameworks/base/packages/SystemUI/docs/
Dkotlin-in-sysui.md12 - Only use extension functions for keeping complex code locality: Don't use
13 extension functions to add methods to android classes that you always wished
14 were there, instead add them directly to the class and save us the extension.
/frameworks/native/opengl/specs/
DEGL_ANDROID_get_native_client_buffer.txt35 This extension is written against the wording of the EGL 1.2
41 This extension allows creating an EGLClientBuffer from an Android
84 1. Should this extension define what particular AHardwareBuffer formats EGL
96 - Assigned extension number, fixed minor issues for publication
DEGL_ANDROID_GLES_layers.txt31 EGL client extension
39 This extension indicates the EGL loader supports GLES layering on Android.
DEGL_ANDROID_recordable.txt33 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
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DStatsLogCompat.java30 public static void write(int action, int srcState, int dstState, byte [] extension, in write() argument
32 StatsLog.write(19, action, srcState, dstState, extension, in write()
/frameworks/base/tools/aapt2/
Dformats.md2 - AAPT2 Container Format (extension `.apc`)
3 - AAPT2 Static Library Format (extension `.sapk`)
5 ## AAPT2 Container Format (extension `.apc`)
44 ## AAPT2 Static Library Format (extension `.sapk`)
/frameworks/compile/mclinker/lib/MC/
DSearchDirs.cpp108 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/native/vulkan/libvulkan/
Dcode-generator.tmpl415 {{$ext := GetAnnotation $ "extension"}}
497 // Exported extension functions may be invoked even when their extensions
510 Emits a stub for an exported extension function.
516 {{$ext := GetAnnotation $ "extension"}}
712 Emits true if an extension is intercepted by vulkan::driver.
759 {{$ext := GetAnnotation $ "extension"}}
790 {{$ext := GetAnnotation $ "extension"}}
827 Extension extension;
859 {{$ext := GetAnnotation $ "extension"}}
896 {{$ext := GetAnnotation $ "extension"}}
[all …]
/frameworks/native/vulkan/vkjson/
Dvkjson_instance.cc53 [extension_name](const char* extension) { in HasExtension() argument
54 return strcmp(extension, extension_name) == 0; in HasExtension()
61 [extension_name](const VkExtensionProperties& extension) { in HasExtension() argument
62 return strcmp(extension.extensionName, in HasExtension()
345 for (const auto extension : kSupportedInstanceExtensions) { in VkJsonGetInstance() local
346 if (HasExtension(extension, instance.extensions)) in VkJsonGetInstance()
347 instance_extensions.push_back(extension); in VkJsonGetInstance()

1234