Lines Matching defs:module
51 // our private gralloc module structure
57 /* If not NULL, this is a pointer to the fallback module.
516 // gralloc module functions - refcount + locking interface
518 static int gralloc_register_buffer(gralloc_module_t const* module,
528 private_module_t *gr = (private_module_t *)module;
558 static int gralloc_unregister_buffer(gralloc_module_t const* module,
565 private_module_t *gr = (private_module_t *)module;
598 static int gralloc_lock(gralloc_module_t const* module,
607 private_module_t *gr = (private_module_t *)module;
710 static int gralloc_unlock(gralloc_module_t const* module,
717 private_module_t *gr = (private_module_t *)module;
774 static int gralloc_lock_ycbcr(gralloc_module_t const* module,
779 // Not supporting fallback module for YCbCr
789 private_module_t *gr = (private_module_t *)module;
878 static int gralloc_device_open(const hw_module_t* module,
914 dev->device.common.module = const_cast<hw_module_t*>(module);
963 dev->device.common.module = const_cast<hw_module_t*>(module);
989 // define the HMI symbol - our module interface
1002 name: "Graphics Memory Allocator Module",
1028 void* module;
1035 module = dlopen("/system/lib/hw/gralloc.default.so", RTLD_LAZY|RTLD_LOCAL);
1036 if (module != NULL) {
1037 sFallback = reinterpret_cast<gralloc_module_t*>(dlsym(module, HAL_MODULE_INFO_SYM_AS_STR));
1039 dlclose(module);
1043 ALOGE("Could not find software fallback module!?");