Home | History | Annotate | Download | only in sensors

Lines Matching defs:module

61  * Comparable class that globally identifies a sensor, by module index and local handle.
62 * A module index is the module's index in sub_hw_modules.
63 * A local handle is the handle the sub-module assigns to a sensor.
107 // Returns the sub_hw_modules index of the module that contains the sensor associates with this
182 * Extends a sensors_poll_device_1 by including all the sub-module's devices.
452 static int open_sensors(const struct hw_module_t* module, const char* name,
484 * Ensures that the sub-module array is initialized.
496 // dlopen the module files and cache their module symbols in sub_hw_modules
510 struct hw_module_t* module = (hw_module_t*) dlsym(lib_handle, sym);
514 } else if (module == NULL) {
515 ALOGW("module == NULL");
518 sub_hw_modules->push_back(module);
546 struct sensors_module_t *module = (struct sensors_module_t*) *it;
547 global_sensors_count += module->get_sensors_list(module, &subhal_sensors_list);
562 ALOGV("examine one module");
563 // Read the sub-module's sensor list.
564 struct sensors_module_t *module = (struct sensors_module_t*) hw_module;
565 int module_sensor_count = module->get_sensors_list(module, &subhal_sensors_list);
566 ALOGV("the module has %d sensors", module_sensor_count);
595 static int module__get_sensors_list(__unused struct sensors_module_t* module,
617 .name = "MultiHal Sensor Module",
637 dev->proxy_device.common.module = const_cast<hw_module_t*>(hw_module);