Home
last modified time | relevance | path

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

/system/chre/core/
Dtimer_pool.cc35 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/
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()
119 TimerHandle timerHandle; member
205 bool cancelTimer(uint32_t instanceId, TimerHandle timerHandle);
218 TimerRequest *getTimerRequestByTimerHandleLocked(TimerHandle timerHandle,
Devent_loop_manager.h126 bool cancelDelayedCallback(TimerHandle timerHandle) { in cancelDelayedCallback() argument
127 return mEventLoop.getTimerPool().cancelSystemTimer(timerHandle); in cancelDelayedCallback()
/system/chre/apps/timer_world/
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()
/system/chre/platform/slpi/smgr/include/chre/target_platform/
Dplatform_sensor_base.h37 PlatformSensorBase() : timerHandle(CHRE_TIMER_INVALID) {} in PlatformSensorBase()
71 AtomicUint32 timerHandle; variable
/system/chre/apps/host_awake_world/
Dhost_awake_world.cc48 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local
49 if (*timerHandle == gMessageTimerHandle) { in handleTimerEvent()
/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/wwan_world/
Dwwan_world.cc47 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local
48 if (*timerHandle == gCellInfoTimerHandle) { in handleTimerEvent()
/system/chre/apps/wifi_world/
Dwifi_world.cc212 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); in handleTimerEvent() local
213 if (*timerHandle == gWifiScanTimerHandle) { in handleTimerEvent()
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc808 sensor->timerHandle = CHRE_TIMER_INVALID; in onStatusChange()
939 } else if (sensor->timerHandle.load() == CHRE_TIMER_INVALID) { in handleSensorStatusMonitorIndication()
962 sensor->timerHandle = timer; in handleSensorStatusMonitorIndication()