Lines Matching refs:timerRequest
55 TimerRequest timerRequest; in setTimer() local
56 timerRequest.instanceId = instanceId; in setTimer()
57 timerRequest.timerHandle = generateTimerHandleLocked(); in setTimer()
58 timerRequest.expirationTime = SystemTime::getMonotonicTime() + duration; in setTimer()
59 timerRequest.duration = duration; in setTimer()
60 timerRequest.cookie = cookie; in setTimer()
61 timerRequest.systemCallback = systemCallback; in setTimer()
62 timerRequest.callbackType = callbackType; in setTimer()
63 timerRequest.isOneShot = isOneShot; in setTimer()
66 (!mTimerRequests.empty() && mTimerRequests.top() > timerRequest); in setTimer()
67 bool success = insertTimerRequestLocked(timerRequest); in setTimer()
78 return success ? timerRequest.timerHandle : CHRE_TIMER_INVALID; in setTimer()
85 TimerRequest *timerRequest = in cancelTimer() local
88 if (timerRequest == nullptr) { in cancelTimer()
90 } else if (timerRequest->instanceId != instanceId) { in cancelTimer()
148 TimerRequest *timerRequest = in generateUniqueTimerHandleLocked() local
150 if (timerRequest == nullptr) { in generateUniqueTimerHandleLocked()
178 bool TimerPool::insertTimerRequestLocked(const TimerRequest &timerRequest) { in insertTimerRequestLocked() argument
179 bool isNanoappTimer = (timerRequest.instanceId != kSystemInstanceId); in insertTimerRequestLocked()
181 mTimerRequests.push(timerRequest); in insertTimerRequestLocked()