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.cc59 static struct timeval timer_start; variable
236 if (timer_start.tv_sec != 0 || timer_start.tv_usec != 0) { in nfc_ncif_send_data()
238 uint32_t delta_time_ms = (timer_end.tv_sec - timer_start.tv_sec) * 1000 + in nfc_ncif_send_data()
239 (timer_end.tv_usec - timer_start.tv_usec) / 1000; in nfc_ncif_send_data()
240 memset(&timer_start, 0, sizeof(timer_start)); in nfc_ncif_send_data()
955 gettimeofday(&timer_start, nullptr); in nfc_ncif_proc_activate()
1006 gettimeofday(&timer_start, nullptr); in nfc_ncif_proc_activate()
1147 if (timer_start.tv_sec != 0 || timer_start.tv_usec != 0) { in nfc_ncif_proc_deactivate()
1148 memset(&timer_start, 0, sizeof(timer_start)); in nfc_ncif_proc_deactivate()