Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/
Dmultihal.cpp218 void copy_event_remap_handle(sensors_event_t* src, sensors_event_t* dest, int sub_index);
239 int sub_index = get_module_index(global_handle); in get_v0_device_by_handle() local
240 if (sub_index < 0 || sub_index >= (int) this->sub_hw_devices.size()) { in get_v0_device_by_handle()
243 return (sensors_poll_device_t*) this->sub_hw_devices[sub_index]; in get_v0_device_by_handle()
248 int sub_index = get_module_index(global_handle); in get_v1_device_by_handle() local
249 if (sub_index < 0 || sub_index >= (int) this->sub_hw_devices.size()) { in get_v1_device_by_handle()
252 return (sensors_poll_device_1_t*) this->sub_hw_devices[sub_index]; in get_v1_device_by_handle()
340 int sub_index) { in copy_event_remap_handle() argument
346 full_handle.moduleIndex = sub_index; in copy_event_remap_handle()