/frameworks/base/core/jni/ |
D | android_os_PerformanceHintManager.cpp | 77 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 …]
|
D | com_android_internal_content_om_OverlayManagerImpl.cpp | 93 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/ |
D | downmix_tests.cpp | 242 &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/ |
D | RenderThread.cpp | 58 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 …]
|
D | HintSessionWrapper.cpp | 38 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/ |
D | proxy_library_builder.cc | 53 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/ |
D | ZipArchive.cpp | 100 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()
|
D | ZipArchive.h | 78 ZipArchiveHandle handle_; variable
|
/frameworks/base/libs/hwui/jni/ |
D | HardwareBufferHelpers.cpp | 33 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()
|
D | android_graphics_HardwareRenderer.cpp | 1112 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/ |
D | proxy_library_builder.h | 60 void* handle_ = nullptr; variable
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 1028 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()
|