Home
last modified time | relevance | path

Searched refs:dlopen_handle (Results 1 – 3 of 3) sorted by relevance

/art/runtime/ti/
Dagent.h115 Agent(const std::string& name, void* dlopen_handle) : name_(name), in Agent() argument
116 dlopen_handle_(dlopen_handle), in Agent()
120 DCHECK(dlopen_handle != nullptr); in Agent()
Dagent.cc122 void* dlopen_handle = android::OpenNativeLibrary(env, in DoDlOpen() local
130 if (dlopen_handle == nullptr) { in DoDlOpen()
142 android::CloseNativeLibrary(dlopen_handle, needs_native_bridge, &nativeloader_error_msg); in DoDlOpen()
149 std::unique_ptr<Agent> agent(new Agent(name_, dlopen_handle)); in DoDlOpen()
/art/tools/jvmti-agents/wrapagentproperties/
Dwrapagentproperties.cc57 void* dlopen_handle; member
65 dlopen_handle(dlopen(agent_lib.c_str(), RTLD_LAZY)), in ProxyJavaVM()
68 CHECK(dlopen_handle != nullptr) << "unable to open " << agent_lib; in ProxyJavaVM()
72 reinterpret_cast<AgentUnloadFunction>(dlsym(dlopen_handle, kOnUnload)), in ProxyJavaVM()
75 attach = reinterpret_cast<AgentLoadFunction>(dlsym(dlopen_handle, kOnAttach)); in ProxyJavaVM()
76 load = reinterpret_cast<AgentLoadFunction>(dlsym(dlopen_handle, kOnLoad)); in ProxyJavaVM()