Home
last modified time | relevance | path

Searched refs:sub_hw_device (Results 1 – 1 of 1) sorted by relevance

/hardware/libhardware/modules/sensors/
Dmultihal.cpp210 void sensors_poll_context_t::addSubHwDevice(struct hw_device_t* sub_hw_device) { in addSubHwDevice() argument
212 this->sub_hw_devices.push_back(sub_hw_device); in addSubHwDevice()
218 taskContext->device = (sensors_poll_device_t*) sub_hw_device; in addSubHwDevice()
669 struct hw_device_t* sub_hw_device; in open_sensors() local
670 int sub_open_result = sensors_module->common.methods->open(*it, name, &sub_hw_device); in open_sensors()
672 if (!HAL_VERSION_IS_COMPLIANT(sub_hw_device->version)) { in open_sensors()
675 apiNumToStr(sub_hw_device->version)); in open_sensors()
678 dev->addSubHwDevice(sub_hw_device); in open_sensors()