Home
last modified time | relevance | path

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

/system/chre/core/
Dtimer_pool.cc39 timerRequest.timerHandle = generateTimerHandle(); in setTimer()
65 return success ? timerRequest.timerHandle : CHRE_TIMER_INVALID; in setTimer()
68 bool TimerPool::cancelTimer(const Nanoapp *nanoapp, TimerHandle timerHandle) { in cancelTimer() argument
74 TimerRequest *timerRequest = getTimerRequestByTimerHandle(timerHandle, in cancelTimer()
78 LOGW("Failed to cancel timer ID %" PRIu32 ": not found", timerHandle); in cancelTimer()
81 timerHandle); in cancelTimer()
83 TimerHandle cancelledTimerHandle = timerRequest->timerHandle; in cancelTimer()
102 TimerHandle timerHandle, size_t *index) { in getTimerRequestByTimerHandle() argument
104 if (mTimerRequests[i].timerHandle == timerHandle) { in getTimerRequestByTimerHandle()
120 TimerHandle timerHandle; in generateTimerHandle() local
[all …]
/system/chre/apps/timer_world/
Dtimer_world.cc47 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local
48 if (*timerHandle == gOneShotTimerHandle) { in handleTimerEvent()
50 } else if (*timerHandle == gCyclicTimerHandle) { in handleTimerEvent()
/system/chre/core/include/chre/core/
Dtimer_pool.h75 bool cancelTimer(const Nanoapp* nanoapp, TimerHandle timerHandle);
91 TimerHandle timerHandle; member
155 TimerRequest *getTimerRequestByTimerHandle(TimerHandle timerHandle,
/system/chre/apps/unload_tester/
Dunload_tester.cc55 uint32_t timerHandle = chreTimerSet(kTimerDuration, in nanoappStart() local
57 CHRE_ASSERT_LOG(timerHandle != CHRE_TIMER_INVALID, "Couldn't start timer!"); in nanoappStart()
/system/chre/apps/wifi_world/
Dwifi_world.cc163 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local
164 if (*timerHandle == gWifiScanTimerHandle) { in handleTimerEvent()
/system/chre/apps/wwan_world/
Dwwan_world.cc47 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local
48 if (*timerHandle == gCellInfoTimerHandle) { in handleTimerEvent()