Home
last modified time | relevance | path

Searched refs:TimerType (Results 1 – 2 of 2) sorted by relevance

/aosp12/system/chre/apps/power_test/common/
H A Drequest_manager.cc123 bool RequestManager::requestTimer(bool enable, TimerType type, in requestTimer()
132 NestedDataPtr<TimerType> timerType(type); in requestTimer()
269 bool success = requestTimer(enable, TimerType::WIFI, Seconds(1)); in requestBreakIt()
272 success &= requestTimer(enable, TimerType::CELL, Seconds(1)); in requestBreakIt()
281 NestedDataPtr<TimerType> timerType(const_cast<void *>(cookie)); in handleTimerEvent()
283 case TimerType::WAKEUP: in handleTimerEvent()
286 case TimerType::WIFI: in handleTimerEvent()
289 case TimerType::CELL: in handleTimerEvent()
309 success = requestTimer(msg->enable(), TimerType::WAKEUP, in handleMessageFromHost()
320 success = requestTimer(msg->enable(), TimerType::WIFI, in handleMessageFromHost()
[all …]
/aosp12/system/chre/apps/power_test/common/include/
H A Drequest_manager.h52 enum TimerType { enum
60 uint32_t mTimerIds[TimerType::NUM_TYPES] = {CHRE_TIMER_INVALID};
94 bool requestTimer(bool enable, TimerType type, Nanoseconds delay);