Home
last modified time | relevance | path

Searched refs:SharedLibrary (Results 1 – 25 of 58) sorted by relevance

123

/hardware/google/aemu/base/
DSharedLibrary.cpp60 static SharedLibrary::LibraryMap s_libraryMap;
63 SharedLibrary* SharedLibrary::open(const char* libraryName) { in open()
69 SharedLibrary* SharedLibrary::open(const char* libraryName, in open()
77 SharedLibrary* load = do_open(libraryName, error, errorSize); in open()
80 std::unique_ptr<SharedLibrary, SharedLibrary::Deleter>(load); in open()
91 SharedLibrary* SharedLibrary::do_open(const char* libraryName, in do_open()
117 return new SharedLibrary(lib); in do_open()
159 SharedLibrary::SharedLibrary(HandleType lib) : mLib(lib) {} in SharedLibrary() function in android::base::SharedLibrary
161 SharedLibrary::~SharedLibrary() { in ~SharedLibrary()
171 SharedLibrary::FunctionPtr SharedLibrary::findSymbol( in findSymbol()
[all …]
/hardware/google/aemu/base/include/aemu/base/
DSharedLibrary.h53 class EMUGL_COMMON_API SharedLibrary {
56 void operator()(SharedLibrary* lib) const { delete lib; } in operator()
62 std::unique_ptr<SharedLibrary, SharedLibrary::Deleter>>
75 static SharedLibrary* open(const char* libraryName);
84 static SharedLibrary* open(const char* libraryName,
108 SharedLibrary(HandleType);
112 virtual ~SharedLibrary();
115 static SharedLibrary* do_open(const char* libraryName, char* error, size_t errorSize);
/hardware/interfaces/drm/1.0/default/
DSharedLibrary.cpp28 SharedLibrary::SharedLibrary(const String8& path) { in SharedLibrary() function in android::hardware::drm::V1_0::helper::SharedLibrary
32 SharedLibrary::~SharedLibrary() { in ~SharedLibrary()
39 bool SharedLibrary::operator!() const { in operator !()
43 void* SharedLibrary::lookup(const char* symbol) const { in lookup()
54 const char* SharedLibrary::lastError() const { in lastError()
/hardware/interfaces/cas/1.0/default/
DSharedLibrary.cpp31 SharedLibrary::SharedLibrary(const String8 &path) { in SharedLibrary() function in android::hardware::cas::V1_0::implementation::SharedLibrary
35 SharedLibrary::~SharedLibrary() { in ~SharedLibrary()
42 bool SharedLibrary::operator!() const { in operator !()
46 void *SharedLibrary::lookup(const char *symbol) const { in lookup()
56 const char *SharedLibrary::lastError() const { in lastError()
DSharedLibrary.h30 class SharedLibrary : public RefBase {
32 explicit SharedLibrary(const String8 &path);
33 ~SharedLibrary();
41 DISALLOW_EVIL_CONSTRUCTORS(SharedLibrary);
DFactoryLoader.h46 sp<SharedLibrary> *library = NULL,
57 sp<SharedLibrary> mLibrary;
59 KeyedVector<String8, wp<SharedLibrary> > mLibraryPathToOpenLibraryMap;
64 sp<SharedLibrary> *library,
77 int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) { in findFactoryForScheme()
164 sp<SharedLibrary> *library, T** factory) { in loadFactoryForSchemeFromPath()
211 mLibrary = new SharedLibrary(path); in openFactory()
DDescramblerImpl.h32 class SharedLibrary; variable
36 DescramblerImpl(const sp<SharedLibrary>& library, DescramblerPlugin *plugin);
57 sp<SharedLibrary> mLibrary;
DCasImpl.h32 class SharedLibrary; variable
46 void init(const sp<SharedLibrary>& library, CasPlugin *plugin);
90 sp<SharedLibrary> mLibrary;
/hardware/interfaces/cas/aidl/default/
DSharedLibrary.cpp28 SharedLibrary::SharedLibrary(const String8& path) { in SharedLibrary() function in aidl::android::hardware::cas::SharedLibrary
32 SharedLibrary::~SharedLibrary() { in ~SharedLibrary()
39 bool SharedLibrary::operator!() const { in operator !()
43 void* SharedLibrary::lookup(const char* symbol) const { in lookup()
53 const char* SharedLibrary::lastError() const { in lastError()
DSharedLibrary.h28 class SharedLibrary : public ndk::SharedRefBase {
30 explicit SharedLibrary(const String8& path);
31 ~SharedLibrary();
39 DISALLOW_EVIL_CONSTRUCTORS(SharedLibrary);
DFactoryLoader.h41 bool findFactoryForScheme(int32_t CA_system_id, shared_ptr<SharedLibrary>* library = NULL,
52 shared_ptr<SharedLibrary> mLibrary;
54 KeyedVector<String8, shared_ptr<SharedLibrary>> mLibraryPathToOpenLibraryMap;
57 shared_ptr<SharedLibrary>* library, T** factory);
67 shared_ptr<SharedLibrary>* library, T** factory) { in findFactoryForScheme()
149 shared_ptr<SharedLibrary>* library, in loadFactoryForSchemeFromPath()
196 mLibrary = ::ndk::SharedRefBase::make<SharedLibrary>(path); in openFactory()
/hardware/interfaces/cas/1.2/default/
DSharedLibrary.cpp31 SharedLibrary::SharedLibrary(const String8& path) { in SharedLibrary() function in android::hardware::cas::V1_1::implementation::SharedLibrary
35 SharedLibrary::~SharedLibrary() { in ~SharedLibrary()
42 bool SharedLibrary::operator!() const { in operator !()
46 void* SharedLibrary::lookup(const char* symbol) const { in lookup()
56 const char* SharedLibrary::lastError() const { in lastError()
DSharedLibrary.h30 class SharedLibrary : public RefBase {
32 explicit SharedLibrary(const String8& path);
33 ~SharedLibrary();
41 DISALLOW_EVIL_CONSTRUCTORS(SharedLibrary);
DFactoryLoader.h45 bool findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library = NULL,
56 sp<SharedLibrary> mLibrary;
58 KeyedVector<String8, wp<SharedLibrary>> mLibraryPathToOpenLibraryMap;
61 sp<SharedLibrary>* library, T** factory);
70 bool FactoryLoader<T>::findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library, in findFactoryForScheme()
152 sp<SharedLibrary>* library, T** factory) { in loadFactoryForSchemeFromPath()
198 mLibrary = new SharedLibrary(path); in openFactory()
DDescramblerImpl.h35 class SharedLibrary; variable
39 DescramblerImpl(const sp<SharedLibrary>& library, DescramblerPlugin* plugin);
55 sp<SharedLibrary> mLibrary;
/hardware/interfaces/cas/1.1/default/
DSharedLibrary.cpp31 SharedLibrary::SharedLibrary(const String8& path) { in SharedLibrary() function in android::hardware::cas::V1_1::implementation::SharedLibrary
35 SharedLibrary::~SharedLibrary() { in ~SharedLibrary()
42 bool SharedLibrary::operator!() const { in operator !()
46 void* SharedLibrary::lookup(const char* symbol) const { in lookup()
56 const char* SharedLibrary::lastError() const { in lastError()
DSharedLibrary.h30 class SharedLibrary : public RefBase {
32 explicit SharedLibrary(const String8& path);
33 ~SharedLibrary();
41 DISALLOW_EVIL_CONSTRUCTORS(SharedLibrary);
DFactoryLoader.h45 bool findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library = NULL,
56 sp<SharedLibrary> mLibrary;
58 KeyedVector<String8, wp<SharedLibrary> > mLibraryPathToOpenLibraryMap;
61 sp<SharedLibrary>* library, T** factory);
70 bool FactoryLoader<T>::findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library, in findFactoryForScheme()
152 sp<SharedLibrary>* library, T** factory) { in loadFactoryForSchemeFromPath()
198 mLibrary = new SharedLibrary(path); in openFactory()
DDescramblerImpl.h35 class SharedLibrary; variable
39 DescramblerImpl(const sp<SharedLibrary>& library, DescramblerPlugin* plugin);
55 sp<SharedLibrary> mLibrary;
DCasImpl.h36 class SharedLibrary; variable
48 void init(const sp<SharedLibrary>& library, CasPlugin* plugin);
85 sp<SharedLibrary> mLibrary;
/hardware/interfaces/drm/1.0/default/include/
DSharedLibrary.h29 class SharedLibrary : public RefBase {
31 explicit SharedLibrary(const String8& path);
32 ~SharedLibrary();
41 SharedLibrary(const SharedLibrary&) = delete;
42 void operator=(const SharedLibrary&) = delete;
DPluginLoader.h77 sp<SharedLibrary> library = new SharedLibrary(String8(path)); in loadOne()
99 Vector<sp<SharedLibrary> > libraries;
/hardware/google/gfxstream/host/apigen-codec-common/
DX11Support.cpp16 mX11Lib(android::base::SharedLibrary::open("libX11")) { in X11FunctionGetter()
19 mX11Lib = (android::base::SharedLibrary::open("libX11.so.6")); in X11FunctionGetter()
44 android::base::SharedLibrary* mX11Lib;
56 mGlxLib(android::base::SharedLibrary::open("libGL.so.1")) { in GlxFunctionGetter()
77 android::base::SharedLibrary* mGlxLib;
/hardware/interfaces/drm/1.0/vts/functional/
Dvendor_modules.cpp33 using ::android::hardware::drm::V1_0::helper::SharedLibrary;
55 auto library = std::make_unique<SharedLibrary>(String8(path.c_str())); in getModule()
62 const unique_ptr<SharedLibrary>& library = mOpenLibraries[path]; in getModule()
/hardware/interfaces/drm/1.0/vts/functional/include/
Dvendor_modules.h26 using ::android::hardware::drm::V1_0::helper::SharedLibrary;
61 std::map<std::string, std::unique_ptr<SharedLibrary>> mOpenLibraries;

123