Lines Matching defs:module
219 // Load and prepare the hardware composer module. Sets mHwc.
222 hw_module_t const* module;
224 if (hw_get_module(HWC_HARDWARE_MODULE_ID, &module) != 0) {
225 ALOGE("%s module not found", HWC_HARDWARE_MODULE_ID);
229 int err = hwc_open_1(module, &mHwc);
247 // Load and prepare the FB HAL, which uses the gralloc module. Sets mFbDev.
250 hw_module_t const* module;
252 if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module) != 0) {
253 ALOGE("%s module not found", GRALLOC_HARDWARE_MODULE_ID);
257 int err = framebuffer_open(module, &mFbDev);