Searched defs:ticks (Results 1 - 5 of 5) sorted by last modified time

/system/nfc/src/gki/common/
H A Dgki.h306 int32_t ticks; member in struct:TIMER_LIST_ENT
421 /* Time queue management for system ticks
H A Dgki_time.cc138 ** Description This function returns the current system ticks
140 ** Returns The current number of system ticks
149 ** Description This function returns the number of system ticks until the
156 ** Returns Number of ticks til the next timer expires
176 ** ticks - (input) the number of system ticks til the
185 void GKI_start_timer(uint8_t tnum, int32_t ticks, bool is_continuous) { argument
191 if (ticks <= 0) ticks = 1;
193 orig_ticks = ticks; /* sav
924 gki_adjust_timer_count(int32_t ticks) argument
[all...]
/system/nfc/src/nfc/tags/
H A Drw_main.cc143 uint32_t ticks, elapsed_ms; local
145 ticks = GKI_get_tick_count() - rw_cb.stats.start_tick;
146 elapsed_ms = GKI_TICKS_TO_MS(ticks);
/system/chre/platform/slpi/smgr/
H A Dplatform_sensor.cc351 * Converts SMGR ticks to nanoseconds as a uint64_t.
353 * @param ticks The number of ticks.
354 * @return The number of nanoseconds represented by the ticks value.
356 uint64_t getNanosecondsFromSmgrTicks(uint32_t ticks) { argument
357 return (ticks * Seconds(1).toRawNanoseconds()) / TIMETICK_NOMINAL_FREQ_HZ;
/system/chre/platform/slpi/
H A Dsystem_time_util.cc23 uint64_t getNanosecondsFromQTimerTicks(uint64_t ticks) { argument
27 if (ticks >= kClockFreq) {
28 uint64_t seconds = (ticks / kClockFreq);
29 ticks %= kClockFreq;
33 nsec += (ticks * kOneSecondInNanoseconds) / kClockFreq;

Completed in 1193 milliseconds