Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/
Dmultihal.cpp221 void sensors_poll_context_t::addSubHwDevice(struct hw_device_t* sub_hw_device) { in addSubHwDevice() argument
223 this->sub_hw_devices.push_back(sub_hw_device); in addSubHwDevice()
229 taskContext->device = (sensors_poll_device_t*) sub_hw_device; in addSubHwDevice()
815 struct hw_device_t* sub_hw_device; in open_sensors() local
816 int sub_open_result = sensors_module->common.methods->open(*it, name, &sub_hw_device); in open_sensors()
818 if (!HAL_VERSION_IS_COMPLIANT(sub_hw_device->version)) { in open_sensors()
821 apiNumToStr(sub_hw_device->version)); in open_sensors()
824 dev->addSubHwDevice(sub_hw_device); in open_sensors()