Home
last modified time | relevance | path

Searched refs:handle_ (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/jni/
Dandroid_os_PerformanceHintManager.cpp77 void* handle_ = dlopen("libandroid.so", RTLD_NOW | RTLD_NODELETE); in ensureAPerformanceHintBindingInitialized() local
78 LOG_ALWAYS_FATAL_IF(handle_ == nullptr, "Failed to dlopen libandroid.so!"); in ensureAPerformanceHintBindingInitialized()
80 gAPH_getManagerFn = (APH_getManager)dlsym(handle_, "APerformanceHint_getManager"); in ensureAPerformanceHintBindingInitialized()
85 (APH_getPreferredUpdateRateNanos)dlsym(handle_, in ensureAPerformanceHintBindingInitialized()
91 gAPH_createSessionFn = (APH_createSession)dlsym(handle_, "APerformanceHint_createSession"); in ensureAPerformanceHintBindingInitialized()
96 (APH_updateTargetWorkDuration)dlsym(handle_, in ensureAPerformanceHintBindingInitialized()
103 (APH_reportActualWorkDuration)dlsym(handle_, in ensureAPerformanceHintBindingInitialized()
109 gAPH_closeSessionFn = (APH_closeSession)dlsym(handle_, "APerformanceHint_closeSession"); in ensureAPerformanceHintBindingInitialized()
113 gAPH_sendHintFn = (APH_sendHint)dlsym(handle_, "APerformanceHint_sendHint"); in ensureAPerformanceHintBindingInitialized()
117 gAPH_setThreadsFn = (APH_setThreads)dlsym(handle_, "APerformanceHint_setThreads"); in ensureAPerformanceHintBindingInitialized()
[all …]
Dcom_android_internal_content_om_OverlayManagerImpl.cpp93 handle_ = dlopen("libidmap2.so", RTLD_NOW); in DynamicLibraryLoader()
94 if (handle_ == nullptr) { in DynamicLibraryLoader()
100 reinterpret_cast<CreateIdmapFileFunc>(dlsym(handle_, "CreateIdmapFile")); in DynamicLibraryLoader()
106 dlsym(handle_, "GetFabricatedOverlayInfo")); in DynamicLibraryLoader()
111 createFrroFile_ = reinterpret_cast<CreateFrroFileFunc>(dlsym(handle_, "CreateFrroFile")); in DynamicLibraryLoader()
143 return handle_ != nullptr && createFrroFile_ != nullptr && in operator bool()
152 if (handle_ != nullptr) { in ~DynamicLibraryLoader()
153 dlclose(handle_); in ~DynamicLibraryLoader()
177 void* handle_; member in android::self_targeting::DynamicLibraryLoader
/frameworks/av/media/libeffects/downmix/tests/
Ddownmix_tests.cpp242 &downmix_uuid_, sessionId, ioId, &handle_); in run()
245 const struct effect_interface_s * const downmixApi = *handle_; in run()
249 handle_, EFFECT_CMD_SET_CONFIG, in run()
254 handle_, EFFECT_CMD_ENABLE, in run()
259 err = AUDIO_EFFECT_LIBRARY_INFO_SYM.release_effect(handle_); in run()
269 &downmix_uuid_, sessionId, ioId, &handle_); in testInvalidChannelMask()
272 const struct effect_interface_s * const downmixApi = *handle_; in testInvalidChannelMask()
276 handle_, EFFECT_CMD_SET_CONFIG, in testInvalidChannelMask()
280 err = AUDIO_EFFECT_LIBRARY_INFO_SYM.release_effect(handle_); in testInvalidChannelMask()
310 const struct effect_interface_s * const downmixApi = *handle_; in process()
[all …]
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp58 void* handle_ = dlopen("libandroid.so", RTLD_NOW | RTLD_NODELETE); in ASurfaceControlFunctions() local
59 createFunc = (ASC_create)dlsym(handle_, "ASurfaceControl_create"); in ASurfaceControlFunctions()
63 acquireFunc = (ASC_acquire) dlsym(handle_, "ASurfaceControl_acquire"); in ASurfaceControlFunctions()
67 releaseFunc = (ASC_release) dlsym(handle_, "ASurfaceControl_release"); in ASurfaceControlFunctions()
71 registerListenerFunc = (ASC_registerSurfaceStatsListener) dlsym(handle_, in ASurfaceControlFunctions()
76 unregisterListenerFunc = (ASC_unregisterSurfaceStatsListener) dlsym(handle_, in ASurfaceControlFunctions()
81 getAcquireTimeFunc = (ASCStats_getAcquireTime) dlsym(handle_, in ASurfaceControlFunctions()
86 getFrameNumberFunc = (ASCStats_getFrameNumber) dlsym(handle_, in ASurfaceControlFunctions()
91 transactionCreateFunc = (AST_create)dlsym(handle_, "ASurfaceTransaction_create"); in ASurfaceControlFunctions()
95 transactionDeleteFunc = (AST_delete)dlsym(handle_, "ASurfaceTransaction_delete"); in ASurfaceControlFunctions()
[all …]
DHintSessionWrapper.cpp38 name = (decltype(name))dlsym(handle_, "APerformanceHint_" #name); \
44 void* handle_ = dlopen("libandroid.so", RTLD_NOW | RTLD_NODELETE); in init() local
45 LOG_ALWAYS_FATAL_IF(handle_ == nullptr, "Failed to dlopen libandroid.so!"); in init()
/frameworks/libs/binary_translation/proxy_loader/
Dproxy_library_builder.cc53 thunk = dlsym(handle_, name); in InterceptSymbol()
77 void* addr = dlsym(handle_, name); in InterceptSymbol()
96 handle_ = dlopen(library_name, RTLD_GLOBAL); in Build()
97 if (!handle_) { in Build()
/frameworks/base/tools/aapt2/io/
DZipArchive.cpp100 ZipFileCollection::ZipFileCollection() : handle_(nullptr) {} in ZipFileCollection()
110 int32_t result = OpenArchive(path.data(), &collection->handle_); in Create()
124 result = StartIteration(collection->handle_, &cookie); in Create()
141 std::unique_ptr<IFile> file = util::make_unique<ZipFile>(collection->handle_, zip_data, in Create()
175 if (handle_) { in ~ZipFileCollection()
176 CloseArchive(handle_); in ~ZipFileCollection()
DZipArchive.h78 ZipArchiveHandle handle_; variable
/frameworks/base/libs/hwui/jni/
DHardwareBufferHelpers.cpp33 void* handle_ = dlopen("libandroid.so", RTLD_NOW | RTLD_NODELETE); in init() local
34 fromHardwareBuffer = (AHB_from_HB)dlsym(handle_, "AHardwareBuffer_fromHardwareBuffer"); in init()
38 toHardwareBuffer = (AHB_to_HB)dlsym(handle_, "AHardwareBuffer_toHardwareBuffer"); in init()
Dandroid_graphics_HardwareRenderer.cpp1112 void* handle_ = SharedLib::openSharedLib("libandroid"); in register_android_view_ThreadedRenderer() local
1114 void* handle_ = SharedLib::openSharedLib("libandroid_runtime"); in register_android_view_ThreadedRenderer() local
1116 fromSurface = (ANW_fromSurface)SharedLib::getSymbol(handle_, "ANativeWindow_fromSurface"); in register_android_view_ThreadedRenderer()
/frameworks/libs/binary_translation/proxy_loader/include/berberis/proxy_loader/
Dproxy_library_builder.h60 void* handle_ = nullptr; variable
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp1028 CloseArchive(handle_); in TearDown()
1058 ZipArchiveHandle handle_; member in android::os::dumpstate::ZippedBugReportStreamTest
1072 OpenArchive(out_path.c_str(), &handle_); in TEST_F()
1075 VerifyEntry(handle_, "main_entry.txt", &entry); in TEST_F()
1078 ExtractToMemory(handle_, &entry, reinterpret_cast<uint8_t*>(bugreport_txt_name.data()), in TEST_F()
1082 VerifyEntry(handle_, bugreport_txt_name, &entry); in TEST_F()