Home
last modified time | relevance | path

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

/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc60 static struct timeval timer_start; variable
237 if (timer_start.tv_sec != 0 || timer_start.tv_usec != 0) { in nfc_ncif_send_data()
239 uint32_t delta_time_ms = (timer_end.tv_sec - timer_start.tv_sec) * 1000 + in nfc_ncif_send_data()
240 (timer_end.tv_usec - timer_start.tv_usec) / 1000; in nfc_ncif_send_data()
241 memset(&timer_start, 0, sizeof(timer_start)); in nfc_ncif_send_data()
956 gettimeofday(&timer_start, nullptr); in nfc_ncif_proc_activate()
1007 gettimeofday(&timer_start, nullptr); in nfc_ncif_proc_activate()
1148 if (timer_start.tv_sec != 0 || timer_start.tv_usec != 0) { in nfc_ncif_proc_deactivate()
1149 memset(&timer_start, 0, sizeof(timer_start)); in nfc_ncif_proc_deactivate()