/aosp12/system/chre/core/ |
H A D | timer_pool.cc | 37 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 D | timer_pool.h | 95 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 D | event_loop_manager.h | 194 bool cancelDelayedCallback(TimerHandle timerHandle) { in cancelDelayedCallback() argument 195 return mEventLoop.getTimerPool().cancelSystemTimer(timerHandle); in cancelDelayedCallback()
|
/aosp12/system/chre/apps/timer_world/ |
H A D | timer_world.cc | 48 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 D | basic_flush_async_test.cc | 182 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 D | basic_flush_async_test.h | 53 void handleTimerExpired(const uint32_t *timerHandle);
|
/aosp12/system/chre/apps/test/common/chre_stress_test/src/ |
H A D | chre_stress_test_manager.cc | 425 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 D | host_awake_world.cc | 47 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 D | unload_tester.cc | 58 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 D | chre_stress_test_manager.h | 125 void setTimer(uint64_t delayNs, bool oneShot, uint32_t *timerHandle); 126 void cancelTimer(uint32_t *timerHandle);
|
/aosp12/system/chre/apps/wwan_world/ |
H A D | wwan_world.cc | 47 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 D | wifi_world.cc | 337 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local 338 if (*timerHandle == gWifiScanTimerHandle) { in handleTimerEvent()
|