Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_PerformanceHintManager.cpp55 void* handle_ = dlopen("libandroid.so", RTLD_NOW | RTLD_NODELETE); in ensureAPerformanceHintBindingInitialized() local
56 LOG_ALWAYS_FATAL_IF(handle_ == nullptr, "Failed to dlopen libandroid.so!"); in ensureAPerformanceHintBindingInitialized()
58 gAPH_getManagerFn = (APH_getManager)dlsym(handle_, "APerformanceHint_getManager"); in ensureAPerformanceHintBindingInitialized()
62 gAPH_createSessionFn = (APH_createSession)dlsym(handle_, "APerformanceHint_createSession"); in ensureAPerformanceHintBindingInitialized()
67 (APH_getPreferredUpdateRateNanos)dlsym(handle_, in ensureAPerformanceHintBindingInitialized()
74 (APH_updateTargetWorkDuration)dlsym(handle_, in ensureAPerformanceHintBindingInitialized()
81 (APH_reportActualWorkDuration)dlsym(handle_, in ensureAPerformanceHintBindingInitialized()
87 gAPH_closeSessionFn = (APH_closeSession)dlsym(handle_, "APerformanceHint_closeSession"); in ensureAPerformanceHintBindingInitialized()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp56 void* handle_ = dlopen("libandroid.so", RTLD_NOW | RTLD_NODELETE); in ASurfaceControlFunctions() local
57 createFunc = (ASC_create)dlsym(handle_, "ASurfaceControl_create"); in ASurfaceControlFunctions()
61 acquireFunc = (ASC_acquire) dlsym(handle_, "ASurfaceControl_acquire"); in ASurfaceControlFunctions()
65 releaseFunc = (ASC_release) dlsym(handle_, "ASurfaceControl_release"); in ASurfaceControlFunctions()
69 registerListenerFunc = (ASC_registerSurfaceStatsListener) dlsym(handle_, in ASurfaceControlFunctions()
74 unregisterListenerFunc = (ASC_unregisterSurfaceStatsListener) dlsym(handle_, in ASurfaceControlFunctions()
79 getAcquireTimeFunc = (ASCStats_getAcquireTime) dlsym(handle_, in ASurfaceControlFunctions()
84 getFrameNumberFunc = (ASCStats_getFrameNumber) dlsym(handle_, in ASurfaceControlFunctions()
89 transactionCreateFunc = (AST_create)dlsym(handle_, "ASurfaceTransaction_create"); in ASurfaceControlFunctions()
93 transactionDeleteFunc = (AST_delete)dlsym(handle_, "ASurfaceTransaction_delete"); in ASurfaceControlFunctions()
[all …]
DDrawFrameTask.cpp55 void* handle_ = dlopen("libandroid.so", RTLD_NOW | RTLD_NODELETE); in ensureAPerformanceHintBindingInitialized() local
56 LOG_ALWAYS_FATAL_IF(handle_ == nullptr, "Failed to dlopen libandroid.so!"); in ensureAPerformanceHintBindingInitialized()
58 gAPH_getManagerFn = (APH_getManager)dlsym(handle_, "APerformanceHint_getManager"); in ensureAPerformanceHintBindingInitialized()
62 gAPH_createSessionFn = (APH_createSession)dlsym(handle_, "APerformanceHint_createSession"); in ensureAPerformanceHintBindingInitialized()
67 handle_, "APerformanceHint_updateTargetWorkDuration"); in ensureAPerformanceHintBindingInitialized()
73 handle_, "APerformanceHint_reportActualWorkDuration"); in ensureAPerformanceHintBindingInitialized()
78 gAPH_closeSessionFn = (APH_closeSession)dlsym(handle_, "APerformanceHint_closeSession"); in ensureAPerformanceHintBindingInitialized()
/frameworks/base/tools/aapt2/io/
DZipArchive.cpp93 ZipFileCollection::ZipFileCollection() : handle_(nullptr) {} in ZipFileCollection()
103 int32_t result = OpenArchive(path.data(), &collection->handle_); in Create()
117 result = StartIteration(collection->handle_, &cookie); in Create()
134 std::unique_ptr<IFile> file = util::make_unique<ZipFile>(collection->handle_, zip_data, in Create()
168 if (handle_) { in ~ZipFileCollection()
169 CloseArchive(handle_); in ~ZipFileCollection()
DZipArchive.h77 ZipArchiveHandle handle_; variable
/frameworks/av/media/libeffects/downmix/tests/
Ddownmix_tests.cpp171 &downmix_uuid_, sessionId, ioId, &handle_); in run()
174 const struct effect_interface_s * const downmixApi = *handle_; in run()
178 handle_, EFFECT_CMD_SET_CONFIG, in run()
182 handle_, EFFECT_CMD_ENABLE, in run()
187 err = AUDIO_EFFECT_LIBRARY_INFO_SYM.release_effect(handle_); in run()
217 const struct effect_interface_s * const downmixApi = *handle_; in process()
225 const int32_t err = (downmixApi->process)(handle_, &inbuffer, &outbuffer); in process()
231 effect_handle_t handle_{}; member in DownmixTest
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp209 handle_ = dlopen("libdvr.google.so", RTLD_NOW | RTLD_LOCAL); in DvrApi()
210 CHECK(handle_); in DvrApi()
213 reinterpret_cast<decltype(&dvrGetApi)>(dlsym(handle_, "dvrGetApi")); in DvrApi()
219 ~DvrApi() { dlclose(handle_); } in ~DvrApi()
224 void* handle_ = nullptr; member in DvrApi
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp1002 CloseArchive(handle_); in TearDown()
1032 ZipArchiveHandle handle_; member in android::os::dumpstate::ZippedBugReportStreamTest
1045 OpenArchive(out_path.c_str(), &handle_); in TEST_F()
1048 VerifyEntry(handle_, "main_entry.txt", &entry); in TEST_F()
1051 ExtractToMemory(handle_, &entry, reinterpret_cast<uint8_t*>(bugreport_txt_name.data()), in TEST_F()
1055 VerifyEntry(handle_, bugreport_txt_name, &entry); in TEST_F()
/frameworks/base/libs/hwui/jni/
DBitmap.cpp1315 void* handle_ = dlopen("libandroid.so", RTLD_NOW | RTLD_NODELETE); in register_android_graphics_Bitmap() local
1317 (AHB_from_HB)dlsym(handle_, "AHardwareBuffer_fromHardwareBuffer"); in register_android_graphics_Bitmap()
1321 … AHardwareBuffer_toHardwareBuffer = (AHB_to_HB)dlsym(handle_, "AHardwareBuffer_toHardwareBuffer"); in register_android_graphics_Bitmap()
Dandroid_graphics_HardwareRenderer.cpp1002 void* handle_ = dlopen("libandroid.so", RTLD_NOW | RTLD_NODELETE); in register_android_view_ThreadedRenderer() local
1003 fromSurface = (ANW_fromSurface)dlsym(handle_, "ANativeWindow_fromSurface"); in register_android_view_ThreadedRenderer()