Lines Matching defs:module
211 // Load and prepare the hardware composer module. Sets mHwc.
214 hw_module_t const* module;
216 if (hw_get_module(HWC_HARDWARE_MODULE_ID, &module) != 0) {
217 ALOGE("%s module not found", HWC_HARDWARE_MODULE_ID);
221 int err = hwc_open_1(module, &mHwc);
239 // Load and prepare the FB HAL, which uses the gralloc module. Sets mFbDev.
242 hw_module_t const* module;
244 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
246 ALOGE("%s module not found", GRALLOC_HARDWARE_MODULE_ID);
250 return framebuffer_open(module, &mFbDev);