Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/
Dmultihal.cpp207 void copy_event_remap_handle(sensors_event_t* src, sensors_event_t* dest, int sub_index);
228 int sub_index = get_module_index(global_handle); in get_v0_device_by_handle() local
229 if (sub_index < 0 || sub_index >= this->sub_hw_devices.size()) { in get_v0_device_by_handle()
232 return (sensors_poll_device_t*) this->sub_hw_devices[sub_index]; in get_v0_device_by_handle()
237 int sub_index = get_module_index(global_handle); in get_v1_device_by_handle() local
238 if (sub_index < 0 || sub_index >= this->sub_hw_devices.size()) { in get_v1_device_by_handle()
241 return (sensors_poll_device_1_t*) this->sub_hw_devices[sub_index]; in get_v1_device_by_handle()
309 int sub_index) { in copy_event_remap_handle() argument
315 full_handle.moduleIndex = sub_index; in copy_event_remap_handle()