Home
last modified time | relevance | path

Searched refs:library (Results 1 – 25 of 147) sorted by relevance

123456

/hardware/google/gfxstream/guest/mesa/src/util/
Du_dl.c57 util_dl_get_proc_address(struct util_dl_library *library, in util_dl_get_proc_address() argument
61 return (util_dl_proc) pointer_to_func(dlsym((void *)library, procname)); in util_dl_get_proc_address()
63 return (util_dl_proc)GetProcAddress((HMODULE)library, procname); in util_dl_get_proc_address()
71 util_dl_close(struct util_dl_library *library) in util_dl_close() argument
74 dlclose((void *)library); in util_dl_close()
76 FreeLibrary((HMODULE)library); in util_dl_close()
78 (void)library; in util_dl_close()
Du_dl.h68 util_dl_get_proc_address(struct util_dl_library *library,
76 util_dl_close(struct util_dl_library *library);
/hardware/interfaces/drm/1.0/vts/functional/
Dvendor_modules.cpp55 auto library = std::make_unique<SharedLibrary>(String8(path.c_str())); in getModule() local
56 if (!library) { in getModule()
60 mOpenLibraries[path] = std::move(library); in getModule()
62 const unique_ptr<SharedLibrary>& library = mOpenLibraries[path]; in getModule() local
63 void* symbol = library->lookup("vendorModuleFactory"); in getModule()
66 "%s", path.c_str(), library->lastError()); in getModule()
/hardware/interfaces/cas/1.0/default/
DFactoryLoader.h46 sp<SharedLibrary> *library = NULL,
64 sp<SharedLibrary> *library,
77 int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) { in findFactoryForScheme() argument
78 if (library != NULL) { in findFactoryForScheme()
79 library->clear(); in findFactoryForScheme()
92 CA_system_id, library, factory); in findFactoryForScheme()
114 pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme()
164 sp<SharedLibrary> *library, T** factory) { in loadFactoryForSchemeFromPath() argument
172 if (library != NULL) { in loadFactoryForSchemeFromPath()
173 *library = mLibrary; in loadFactoryForSchemeFromPath()
DMediaCasService.cpp68 sp<SharedLibrary> library; in createPlugin() local
69 if (mCasLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createPlugin()
74 casImpl->init(library, plugin); in createPlugin()
95 sp<SharedLibrary> library; in createDescrambler() local
97 CA_system_id, &library, &factory)) { in createDescrambler()
101 result = new DescramblerImpl(library, plugin); in createDescrambler()
/hardware/interfaces/cas/aidl/default/
DFactoryLoader.h41 bool findFactoryForScheme(int32_t CA_system_id, shared_ptr<SharedLibrary>* library = NULL,
57 shared_ptr<SharedLibrary>* library, T** factory);
67 shared_ptr<SharedLibrary>* library, T** factory) { in findFactoryForScheme() argument
68 if (library != NULL) { in findFactoryForScheme()
69 library->reset(); in findFactoryForScheme()
81 library, factory); in findFactoryForScheme()
101 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme()
149 shared_ptr<SharedLibrary>* library, in loadFactoryForSchemeFromPath() argument
158 if (library != NULL) { in loadFactoryForSchemeFromPath()
159 *library = mLibrary; in loadFactoryForSchemeFromPath()
DMediaCasService.cpp59 shared_ptr<SharedLibrary> library; in createPlugin() local
60 if (mCasLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createPlugin()
87 shared_ptr<SharedLibrary> library; in createDescrambler() local
88 if (mDescramblerLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createDescrambler()
/hardware/interfaces/drm/1.0/default/include/
DPluginLoader.h77 sp<SharedLibrary> library = new SharedLibrary(String8(path)); in loadOne() local
78 if (!library.get()) { in loadOne()
80 library->lastError()); in loadOne()
84 (CreateFactoryFunc)library->lookup(entry); in loadOne()
87 libraries.push(library); in loadOne()
92 entry, path, library->lastError()); in loadOne()
/hardware/google/gfxstream/host/gl/gl-host-common/opengl/
DEmuglBackendList.cpp67 Library library, in getBackendLibPath() argument
71 if (library == LIBRARY_EGL) { in getBackendLibPath()
73 } else if (library == LIBRARY_GLESv1) { in getBackendLibPath()
75 } else if (library == LIBRARY_GLESv2) { in getBackendLibPath()
79 D("%s: Invalid library type: %d\n", __FUNCTION__, library); in getBackendLibPath()
/hardware/interfaces/cas/1.1/default/
DFactoryLoader.h45 bool findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library = NULL,
61 sp<SharedLibrary>* library, T** factory);
70 bool FactoryLoader<T>::findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library, in findFactoryForScheme() argument
72 if (library != NULL) { in findFactoryForScheme()
73 library->clear(); in findFactoryForScheme()
85 library, factory); in findFactoryForScheme()
105 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme()
152 sp<SharedLibrary>* library, T** factory) { in loadFactoryForSchemeFromPath() argument
160 if (library != NULL) { in loadFactoryForSchemeFromPath()
161 *library = mLibrary; in loadFactoryForSchemeFromPath()
DMediaCasService.cpp105 sp<SharedLibrary> library; in createPluginExt() local
106 if (mCasLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createPluginExt()
112 casImpl->init(library, plugin); in createPluginExt()
132 sp<SharedLibrary> library; in createDescrambler() local
133 if (mDescramblerLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createDescrambler()
136 result = new DescramblerImpl(library, plugin); in createDescrambler()
/hardware/interfaces/cas/1.2/default/
DFactoryLoader.h45 bool findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library = NULL,
61 sp<SharedLibrary>* library, T** factory);
70 bool FactoryLoader<T>::findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library, in findFactoryForScheme() argument
72 if (library != NULL) { in findFactoryForScheme()
73 library->clear(); in findFactoryForScheme()
85 library, factory); in findFactoryForScheme()
105 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme()
152 sp<SharedLibrary>* library, T** factory) { in loadFactoryForSchemeFromPath() argument
160 if (library != NULL) { in loadFactoryForSchemeFromPath()
161 *library = mLibrary; in loadFactoryForSchemeFromPath()
DMediaCasService.cpp106 sp<SharedLibrary> library; in createPluginExt() local
107 if (mCasLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createPluginExt()
113 casImpl->init(library, plugin); in createPluginExt()
138 sp<SharedLibrary> library; in createDescrambler() local
139 if (mDescramblerLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createDescrambler()
142 result = new DescramblerImpl(library, plugin); in createDescrambler()
/hardware/interfaces/audio/aidl/default/
DEffectConfig.cpp146 struct Library library; in parseEffect() local
149 RETURN_VALUE_IF(!parseLibrary(xml, library, true), false, "parseProxyLibFailed"); in parseEffect()
150 effectLibraries.proxyLibrary = library; in parseEffect()
163 RETURN_VALUE_IF(!parseLibrary(xml, library), false, "parseEffectLibFailed"); in parseEffect()
164 libraries.push_back(std::move(library)); in parseEffect()
172 bool EffectConfig::parseLibrary(const tinyxml2::XMLElement& xml, struct Library& library, in parseLibrary() argument
178 library.name = name; in parseLibrary()
183 library.uuid = stringToUuid(uuidStr); in parseLibrary()
185 library.type = stringToUuid(typeUuidStr); in parseLibrary()
187 RETURN_VALUE_IF((library.uuid == getEffectUuidZero()), false, "invalidUuidAttribute"); in parseLibrary()
[all …]
/hardware/google/gfxstream/common/detector/
DLib.cpp25 void Lib::LibraryCloser::operator()(void* library) { in operator ()() argument
26 if (library != nullptr) { in operator ()()
27 dlclose(library); in operator ()()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_pipeline_library_group_handles.adoc10 This extension adds support for querying ray tracing group handles on library creation time rather …
29 The only way to expose this feature is to allow group handles to be queried on the pipeline library
31 For every library that includes a pipeline library,
35 …w capture replay handles to be extracted from pipeline libraries. When creating a pipeline library,
36 …play handles can be used, which also ensures invariance for any pipeline that includes the library.
39 …tions to link a pipeline library trivially by creating a complete pipeline with no extra shader gr…
43 … if we need a new pipeline creation flag to state that group handles can be queried from a library.
44 …this extension is that drivers already compile pipelines into binary form on library creation time,
64 …ementations create binaries at library creation time and there are no differences in querying grou…
65 …n be queried just once by application and reused for every pipeline that links against the library.
[all …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/fit/
DREADME34 FIT is a lean library of portable C++ abstractions for control flow and
35 memory management beyond what is offered by the C++ 17 standard library.
37 FIT only depends on the C++ language and standard library, including some C++17
38 library features. It offers essential enhancements to the C++ standard library
41 we wish the C++ standard library might itself implement someday.
48 standard library. As these libraries are broadly used, we must take care in
63 standard library?
64 - Is the feature needed by a Fuchsia SDK library?
74 FIT is not intended to become a catch-all class library.
79 standard library.
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/
DREADME.md10 Defines a library `FakeVehicleHalValueGenerators` that could generate fake
22 Defines a library `FakeObd2Frame` that generates fake OBD2 frame for OBD2
27 Defines a library `FakeUserHal` that emulates a real User HAL behavior by
/hardware/google/aemu/
DREADME.md1 # AEMU library
3 This is an utility library for common functions used in the Android Emulator.
/hardware/interfaces/automotive/vehicle/aidl/impl/
DREADME.md10 Vendor implementation could copy this library but must update the configuration
39 Defines a library `VehicleHalUtils` which provides useful utility functions for
40 VHAL implementation. Vendor VHAL could use this library.
44 Defines a library `DefaultVehicleHal` which provides generic logic for all VHAL
46 use this library, along with their own implementation for `IVehicleHardware`
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_EXT_pipeline_library_group_handles.adoc24 When using pipeline libraries in ray tracing pipelines, a library might get
30 handle is tied to the pipeline, not the library.
36 Group handles obtained from a library must: remain bitwise identical in any
37 sname:VkPipeline that links to the library.
/hardware/interfaces/health/2.0/utils/
DREADME.md3 A convenience library for (hwbinder) clients of health HAL to choose between
5 by healthd). C++ clients of health HAL should use this library instead of
/hardware/google/aemu/snapshot/
DBUILD.bazel1 # Interface library
9 # Main library
/hardware/interfaces/graphics/mapper/stable-c/
DREADME.md9 To provide an implementation a library implementing the AIMapper API interface should be provided
23 defines that the IMapper 5.0 library is provided by `/vendor/lib[64]/hw/mapper.minigbm.so`.
31 This library must export the following `extern "C"` symbols:
50 To make it easier to implement this C API, a header-only helper library is provided called
51 `libimapper_providerutils`. This library handles mapping from the C API struct to a C++ class
55 To use this library, create a class that extends from `IMapperV5Impl` and use `IMapperProvider` to
/hardware/interfaces/keymaster/4.0/vts/performance/
DREADME17 Keymaster Benchmark is built on [Google microbenchmark library](https://github.com/google/benchmark…
18 All of the commandline arguments provided by the microbenchmark library are valid, such as `--bench…

123456