Searched refs:drop_info (Results 1 – 1 of 1) sorted by relevance
141 VendorPhysicalDropDetected drop_info; in dropEventFromNanoappPayload() local142 drop_info.set_confidence_pctg(confidence); in dropEventFromNanoappPayload()143 drop_info.set_accel_peak_thousandths_g(accel_magnitude_peak_1000ths_g); in dropEventFromNanoappPayload()144 drop_info.set_freefall_time_millis(free_fall_duration_ms); in dropEventFromNanoappPayload()145 return drop_info; in dropEventFromNanoappPayload()170 VendorPhysicalDropDetected drop_info; in dropEventFromNanoappPayload() local171 drop_info.set_confidence_pctg(confidence_percentage); in dropEventFromNanoappPayload()172 drop_info.set_accel_peak_thousandths_g(static_cast<int32_t>(impact_magnitude * 1000)); in dropEventFromNanoappPayload()173 drop_info.set_freefall_time_millis(free_fall_duration_ms); in dropEventFromNanoappPayload()174 return drop_info; in dropEventFromNanoappPayload()