Lines Matching defs:module
215 // Load and prepare the hardware composer module. Sets mHwc.
218 hw_module_t const* module;
220 if (hw_get_module(HWC_HARDWARE_MODULE_ID, &module) != 0) {
221 ALOGE("%s module not found", HWC_HARDWARE_MODULE_ID);
225 int err = hwc_open_1(module, &mHwc);
243 // Load and prepare the FB HAL, which uses the gralloc module. Sets mFbDev.
246 hw_module_t const* module;
248 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
250 ALOGE("%s module not found", GRALLOC_HARDWARE_MODULE_ID);
254 return framebuffer_open(module, &mFbDev);