Home
last modified time | relevance | path

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

/aosp12/system/chre/core/
H A Dtimer_pool.cc37 TimerHandle timerHandle = in setSystemTimer() local
41 if (timerHandle == CHRE_TIMER_INVALID) { in setSystemTimer()
45 return timerHandle; in setSystemTimer()
92 timerHandle); in cancelTimer()
110 if (mTimerRequests[i].timerHandle == timerHandle) { in getTimerRequestByTimerHandleLocked()
126 TimerHandle timerHandle; in generateTimerHandleLocked() local
130 timerHandle = mLastTimerHandle + 1; in generateTimerHandleLocked()
139 mLastTimerHandle = timerHandle; in generateTimerHandleLocked()
140 return timerHandle; in generateTimerHandleLocked()
146 timerHandle++; in generateUniqueTimerHandleLocked()
[all …]
/aosp12/system/chre/core/include/chre/core/
H A Dtimer_pool.h95 bool cancelNanoappTimer(const Nanoapp *nanoapp, TimerHandle timerHandle) { in cancelNanoappTimer() argument
97 return cancelTimer(nanoapp->getInstanceId(), timerHandle); in cancelNanoappTimer()
106 bool cancelSystemTimer(TimerHandle timerHandle) { in cancelSystemTimer() argument
107 return cancelTimer(kSystemInstanceId, timerHandle); in cancelSystemTimer()
117 TimerHandle timerHandle; member
203 bool cancelTimer(uint32_t instanceId, TimerHandle timerHandle);
216 TimerRequest *getTimerRequestByTimerHandleLocked(TimerHandle timerHandle,
H A Devent_loop_manager.h194 bool cancelDelayedCallback(TimerHandle timerHandle) { in cancelDelayedCallback() argument
195 return mEventLoop.getTimerPool().cancelSystemTimer(timerHandle); in cancelDelayedCallback()
/aosp12/system/chre/apps/timer_world/
H A Dtimer_world.cc48 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local
49 if (*timerHandle == gOneShotTimerHandle) { in handleTimerEvent()
51 } else if (*timerHandle == gCyclicTimerHandle) { in handleTimerEvent()
/aosp12/system/chre/apps/test/chqts/src/general_test/
H A Dbasic_flush_async_test.cc182 const uint32_t *timerHandle) { in handleTimerExpired() argument
183 if (timerHandle != nullptr) { in handleTimerExpired()
184 if (mFlushStartTimerHandle == *timerHandle) { in handleTimerExpired()
186 } else if (mFlushTimeoutTimerHandle == *timerHandle) { in handleTimerExpired()
H A Dbasic_flush_async_test.h53 void handleTimerExpired(const uint32_t *timerHandle);
/aosp12/system/chre/apps/test/common/chre_stress_test/src/
H A Dchre_stress_test_manager.cc425 void Manager::setTimer(uint64_t delayNs, bool oneShot, uint32_t *timerHandle) { in setTimer() argument
426 *timerHandle = chreTimerSet(delayNs, timerHandle, oneShot); in setTimer()
427 if (*timerHandle == CHRE_TIMER_INVALID) { in setTimer()
432 void Manager::cancelTimer(uint32_t *timerHandle) { in cancelTimer() argument
433 if (*timerHandle != CHRE_TIMER_INVALID) { in cancelTimer()
434 if (!chreTimerCancel(*timerHandle)) { in cancelTimer()
440 *timerHandle = CHRE_TIMER_INVALID; in cancelTimer()
/aosp12/system/chre/apps/host_awake_world/
H A Dhost_awake_world.cc47 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local
48 if (*timerHandle == gMessageTimerHandle) { in handleTimerEvent()
/aosp12/system/chre/apps/unload_tester/
H A Dunload_tester.cc58 uint32_t timerHandle = in nanoappStart() local
60 CHRE_ASSERT_LOG(timerHandle != CHRE_TIMER_INVALID, "Couldn't start timer!"); in nanoappStart()
/aosp12/system/chre/apps/test/common/chre_stress_test/inc/
H A Dchre_stress_test_manager.h125 void setTimer(uint64_t delayNs, bool oneShot, uint32_t *timerHandle);
126 void cancelTimer(uint32_t *timerHandle);
/aosp12/system/chre/apps/wwan_world/
H A Dwwan_world.cc47 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local
48 if (*timerHandle == gCellInfoTimerHandle) { in handleTimerEvent()
/aosp12/system/chre/apps/wifi_world/
H A Dwifi_world.cc337 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local
338 if (*timerHandle == gWifiScanTimerHandle) { in handleTimerEvent()