/system/chre/core/ |
D | timer_pool.cc | 41 TimerHandle timerHandle = in setSystemTimer() local 45 if (timerHandle == CHRE_TIMER_INVALID) { in setSystemTimer() 49 return timerHandle; in setSystemTimer() 80 timerRequest.timerHandle = generateTimerHandleLocked(); in setTimer() 100 timerRequest.timerHandle == mTimerRequests.top().timerHandle; in setTimer() 107 return success ? timerRequest.timerHandle : CHRE_TIMER_INVALID; in setTimer() 110 bool TimerPool::cancelTimer(uint16_t instanceId, TimerHandle timerHandle) { in cancelTimer() argument 115 getTimerRequestByTimerHandleLocked(timerHandle, &index); in cancelTimer() 118 LOGW("Failed to cancel timer ID %" PRIu32 ": not found", timerHandle); in cancelTimer() 121 timerHandle); in cancelTimer() [all …]
|
D | host_comms_manager.cc | 38 bool deferCancelCallback(uint32_t timerHandle) { in deferCancelCallback() argument 39 return EventLoopManagerSingleton::get()->cancelDelayedCallback(timerHandle); in deferCancelCallback()
|
/system/chre/core/include/chre/core/ |
D | timer_pool.h | 99 bool cancelNanoappTimer(const Nanoapp *nanoapp, TimerHandle timerHandle) { in cancelNanoappTimer() argument 101 return cancelTimer(nanoapp->getInstanceId(), timerHandle); in cancelNanoappTimer() 118 bool cancelSystemTimer(TimerHandle timerHandle) { in cancelSystemTimer() argument 119 return cancelTimer(kSystemInstanceId, timerHandle); in cancelSystemTimer() 130 TimerHandle timerHandle; member 219 bool cancelTimer(uint16_t instanceId, TimerHandle timerHandle); 232 TimerRequest *getTimerRequestByTimerHandleLocked(TimerHandle timerHandle,
|
D | event_loop_manager.h | 212 bool cancelDelayedCallback(TimerHandle timerHandle) { in cancelDelayedCallback() argument 213 return mEventLoop.getTimerPool().cancelSystemTimer(timerHandle); in cancelDelayedCallback()
|
/system/chre/apps/timer_world/ |
D | timer_world.cc | 49 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local 50 if (*timerHandle == gOneShotTimerHandle) { in handleTimerEvent() 52 } else if (*timerHandle == gCyclicTimerHandle) { in handleTimerEvent()
|
/system/chre/apps/test/chqts/src/general_test/ |
D | basic_flush_async_test.cc | 190 const uint32_t *timerHandle) { in handleTimerExpired() argument 191 if (timerHandle != nullptr) { in handleTimerExpired() 192 if (mFlushStartTimerHandle == *timerHandle) { in handleTimerExpired() 194 } else if (mFlushTimeoutTimerHandle == *timerHandle) { in handleTimerExpired()
|
D | basic_flush_async_test.h | 53 void handleTimerExpired(const uint32_t *timerHandle);
|
D | basic_wifi_test.cc | 404 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleEvent() local 406 timerHandle == &mScanTimeoutTimerHandle) { in handleEvent()
|
/system/chre/apps/host_awake_world/ |
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()
|
/system/chre/apps/unload_tester/ |
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()
|
/system/chre/apps/test/common/chre_stress_test/src/ |
D | chre_stress_test_manager.cc | 692 void Manager::setTimer(uint64_t delayNs, bool oneShot, uint32_t *timerHandle) { in setTimer() argument 693 *timerHandle = chreTimerSet(delayNs, timerHandle, oneShot); in setTimer() 694 if (*timerHandle == CHRE_TIMER_INVALID) { in setTimer() 699 void Manager::cancelTimer(uint32_t *timerHandle) { in cancelTimer() argument 700 if (*timerHandle != CHRE_TIMER_INVALID) { in cancelTimer() 701 if (!chreTimerCancel(*timerHandle)) { in cancelTimer() 707 *timerHandle = CHRE_TIMER_INVALID; in cancelTimer()
|
/system/chre/apps/test/common/chre_stress_test/inc/ |
D | chre_stress_test_manager.h | 162 void setTimer(uint64_t delayNs, bool oneShot, uint32_t *timerHandle); 163 void cancelTimer(uint32_t *timerHandle);
|
/system/chre/apps/wwan_world/ |
D | wwan_world.cc | 47 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local 48 if (*timerHandle == gCellInfoTimerHandle) { in handleTimerEvent()
|
/system/chre/apps/wifi_world/ |
D | wifi_world.cc | 335 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local 336 if (*timerHandle == gWifiScanTimerHandle) { in handleTimerEvent()
|
/system/chre/util/include/chre/util/ |
D | transaction_manager.h | 130 using DeferCancelCallback = bool (*)(uint32_t timerHandle);
|
/system/chre/util/tests/ |
D | transaction_manager_test.cc | 130 static bool deferCancelCallback(uint32_t timerHandle) { in deferCancelCallback() argument 141 return test->getTaskManager()->cancelTask(timerHandle); in deferCancelCallback()
|