Lines Matching refs:handle
58 * return the dlopen handle and the hmi.
66 void *handle;
74 handle = dlopen(path, RTLD_NOW);
75 if (handle == NULL) {
84 hmi = (struct hw_module_t *)dlsym(handle, sym);
98 hmi->dso = handle;
106 if (handle != NULL) {
107 dlclose(handle);
108 handle = NULL;
111 ALOGV("loaded HAL id=%s path=%s hmi=%p handle=%p",
112 id, path, *pHmi, handle);