Home
last modified time | relevance | path

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

/system/nfc/src/fuzzers/integration/fakes/
Dgki_time_fakes.cc18 if (!p_tle || !p_timer_listq || p_tle->ticks < 0) { in GKI_add_to_timer_list()
29 if (p_tle->ticks <= p_successor->ticks) { in GKI_add_to_timer_list()
30 p_successor->ticks -= p_tle->ticks; in GKI_add_to_timer_list()
35 if (p_successor->ticks > 0) { in GKI_add_to_timer_list()
36 p_tle->ticks -= p_successor->ticks; in GKI_add_to_timer_list()
60 (*successor_it)->ticks += p_tle->ticks; in GKI_remove_from_timer_list()
63 p_tle->ticks = 0; in GKI_remove_from_timer_list()
72 if (it->ticks <= 0) { in GKI_update_timer_list()
81 int32_t temp_ticks = it->ticks; in GKI_update_timer_list()
82 it->ticks -= num_units_since_last_update; in GKI_update_timer_list()
[all …]
/system/nfc/src/gki/common/
Dgki_time.cc186 void GKI_start_timer(uint8_t tnum, int32_t ticks, bool is_continuous) { in GKI_start_timer() argument
198 if (ticks <= 0) ticks = 1; in GKI_start_timer()
200 orig_ticks = ticks; /* save the ticks in case adjustment is necessary */ in GKI_start_timer()
204 reload = ticks; in GKI_start_timer()
232 ticks) { in GKI_start_timer()
233 ticks += gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp; in GKI_start_timer()
235 ticks = GKI_MAX_INT32; in GKI_start_timer()
241 gki_cb.com.OSTaskTmr0[task_id] = ticks; in GKI_start_timer()
248 gki_cb.com.OSTaskTmr1[task_id] = ticks; in GKI_start_timer()
255 gki_cb.com.OSTaskTmr2[task_id] = ticks; in GKI_start_timer()
[all …]
Dgki.h307 int32_t ticks; member
317 int32_t ticks; member
/system/chre/platform/slpi/
Dsystem_time_util.cc35 uint64_t getNanosecondsFromQTimerTicks(uint64_t ticks) { in getNanosecondsFromQTimerTicks() argument
37 if (ticks >= kClockFreq) { in getNanosecondsFromQTimerTicks()
38 uint64_t seconds = (ticks / kClockFreq); in getNanosecondsFromQTimerTicks()
39 ticks %= kClockFreq; in getNanosecondsFromQTimerTicks()
43 nsec += (ticks * kOneSecondInNanoseconds) / kClockFreq; in getNanosecondsFromQTimerTicks()
/system/chre/apps/rpc_world/rpc/
Drpc_world.proto9 // Request a stream of ticks.
22 // Number of ticks that the server should stream.
/system/nfc/src/nfc/nfc/
Dnfc_task.cc84 p_tle->ticks = timeout; /* Save the number of seconds for the timer */ in nfc_start_timer()
117 !GKI_timer_list_first(&nfc_cb.timer_queue)->ticks) { in nfc_process_timer_evt()
204 p_tle->ticks = timeout; /* Save the number of ticks for the timer */ in nfc_start_quick_timer()
242 (!GKI_timer_list_first(&nfc_cb.quick_timer_queue)->ticks)) { in nfc_process_quick_timer_evt()
/system/chre/platform/slpi/include/chre/platform/slpi/
Dsystem_time_util.h30 uint64_t getNanosecondsFromQTimerTicks(uint64_t ticks);
/system/nfc/src/nfa/sys/
Dnfa_sys_ptim.cc90 (GKI_timer_list_first(&p_cb->timer_queue)->ticks <= 0)) { in nfa_sys_ptim_timer_update()
142 p_tle->ticks = timeout; in nfa_sys_ptim_start_timer()
/system/nfc/src/nfc/tags/
Drw_main.cc141 uint32_t ticks, elapsed_ms; in rw_main_log_stats() local
143 ticks = GKI_get_tick_count() - rw_cb.stats.start_tick; in rw_main_log_stats()
144 elapsed_ms = GKI_TICKS_TO_MS(ticks); in rw_main_log_stats()
/system/core/init/
DREADME.md746 > Set the system clock base (0 if system clock ticks in GMT)