Searched refs:timerHandle (Results 1 – 10 of 10) sorted by relevance
/system/chre/core/ |
D | timer_pool.cc | 35 TimerHandle timerHandle = setTimer( in setSystemTimer() local 39 if (timerHandle == CHRE_TIMER_INVALID) { in setSystemTimer() 43 return timerHandle; in setSystemTimer() 54 timerRequest.timerHandle = generateTimerHandleLocked(); in setTimer() 75 return success ? timerRequest.timerHandle : CHRE_TIMER_INVALID; in setTimer() 79 uint32_t instanceId, TimerHandle timerHandle) { in cancelTimer() argument 83 TimerRequest *timerRequest = getTimerRequestByTimerHandleLocked(timerHandle, in cancelTimer() 87 LOGW("Failed to cancel timer ID %" PRIu32 ": not found", timerHandle); in cancelTimer() 90 timerHandle); in cancelTimer() 106 TimerHandle timerHandle, size_t *index) { in getTimerRequestByTimerHandleLocked() argument [all …]
|
/system/chre/core/include/chre/core/ |
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() 119 TimerHandle timerHandle; member 205 bool cancelTimer(uint32_t instanceId, TimerHandle timerHandle); 218 TimerRequest *getTimerRequestByTimerHandleLocked(TimerHandle timerHandle,
|
D | event_loop_manager.h | 126 bool cancelDelayedCallback(TimerHandle timerHandle) { in cancelDelayedCallback() argument 127 return mEventLoop.getTimerPool().cancelSystemTimer(timerHandle); in cancelDelayedCallback()
|
/system/chre/apps/timer_world/ |
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()
|
/system/chre/platform/slpi/smgr/include/chre/target_platform/ |
D | platform_sensor_base.h | 37 PlatformSensorBase() : timerHandle(CHRE_TIMER_INVALID) {} in PlatformSensorBase() 71 AtomicUint32 timerHandle; variable
|
/system/chre/apps/host_awake_world/ |
D | host_awake_world.cc | 48 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local 49 if (*timerHandle == gMessageTimerHandle) { in handleTimerEvent()
|
/system/chre/apps/unload_tester/ |
D | unload_tester.cc | 55 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/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 | 212 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local 213 if (*timerHandle == gWifiScanTimerHandle) { in handleTimerEvent()
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor.cc | 808 sensor->timerHandle = CHRE_TIMER_INVALID; in onStatusChange() 939 } else if (sensor->timerHandle.load() == CHRE_TIMER_INVALID) { in handleSensorStatusMonitorIndication() 962 sensor->timerHandle = timer; in handleSensorStatusMonitorIndication()
|