Lines Matching refs:timerRequest
52 TimerRequest timerRequest; in setTimer() local
53 timerRequest.instanceId = instanceId; in setTimer()
54 timerRequest.timerHandle = generateTimerHandleLocked(); in setTimer()
55 timerRequest.expirationTime = SystemTime::getMonotonicTime() + duration; in setTimer()
56 timerRequest.duration = duration; in setTimer()
57 timerRequest.isOneShot = isOneShot; in setTimer()
58 timerRequest.callback = callback; in setTimer()
59 timerRequest.eventType = eventType; in setTimer()
60 timerRequest.cookie = cookie; in setTimer()
63 (!mTimerRequests.empty() && mTimerRequests.top() > timerRequest); in setTimer()
64 bool success = insertTimerRequestLocked(timerRequest); in setTimer()
75 return success ? timerRequest.timerHandle : CHRE_TIMER_INVALID; in setTimer()
83 TimerRequest *timerRequest = getTimerRequestByTimerHandleLocked(timerHandle, in cancelTimer() local
86 if (timerRequest == nullptr) { in cancelTimer()
88 } else if (timerRequest->instanceId != instanceId) { in cancelTimer()
146 TimerRequest *timerRequest = in generateUniqueTimerHandleLocked() local
148 if (timerRequest == nullptr) { in generateUniqueTimerHandleLocked()
176 bool TimerPool::insertTimerRequestLocked(const TimerRequest& timerRequest) { in insertTimerRequestLocked() argument
177 bool isNanoappTimer = (timerRequest.instanceId != kSystemInstanceId); in insertTimerRequestLocked()
179 mTimerRequests.push(timerRequest); in insertTimerRequestLocked()