• Home
  • Raw
  • Download

Lines Matching refs:v1

288 static bool halSupportDirectSensorReport(sensors_poll_device_1_t* v1) {  in halSupportDirectSensorReport()  argument
289 return v1 != nullptr && HAL_VERSION_IS_COMPLIANT(v1->common.version) && in halSupportDirectSensorReport()
290 v1->register_direct_channel != nullptr && v1->config_direct_report != nullptr; in halSupportDirectSensorReport()
407 sensors_poll_device_1_t* v1 = this->get_v1_device_by_handle(handle); in batch() local
408 if (halIsCompliant(this, handle) && local_handle >= 0 && v1) { in batch()
409 retval = v1->batch(v1, local_handle, flags, period_ns, timeout); in batch()
421 sensors_poll_device_1_t* v1 = this->get_v1_device_by_handle(handle); in flush() local
422 if (halIsCompliant(this, handle) && local_handle >= 0 && v1) { in flush()
423 retval = v1->flush(v1, local_handle); in flush()
436 sensors_poll_device_1_t* v1 = get_primary_v1_device(); in inject_sensor_data() local
437 if (v1 && v1->common.version >= SENSORS_DEVICE_API_VERSION_1_4) { in inject_sensor_data()
438 retval = v1->inject_sensor_data(v1, data); in inject_sensor_data()
446 sensors_poll_device_1_t* v1 = this->get_v1_device_by_handle(data->sensor); in inject_sensor_data() local
448 local_handle >= 0 && v1) { in inject_sensor_data()
453 retval = v1->inject_sensor_data(v1, &data_copy); in inject_sensor_data()
468 sensors_poll_device_1_t* v1 = get_primary_v1_device(); in register_direct_channel() local
469 if (v1 && halSupportDirectSensorReport(v1)) { in register_direct_channel()
470 retval = v1->register_direct_channel(v1, mem, channel_handle); in register_direct_channel()
488 sensors_poll_device_1_t* v1 = get_primary_v1_device(); in config_direct_report() local
489 if (v1 && halSupportDirectSensorReport(v1)) { in config_direct_report()
490 retval = v1->config_direct_report(v1, local_handle, channel_handle, config); in config_direct_report()