Lines Matching refs:minInterval
226 bool GnssSession::addRequest(Nanoapp *nanoapp, Milliseconds minInterval, in addRequest() argument
229 return configure(nanoapp, true /* enable */, minInterval, minTimeToNext, in addRequest()
341 request.minInterval.getMilliseconds(), in logStateToBuffer()
350 transition.minInterval.getMilliseconds(), in logStateToBuffer()
371 Milliseconds minInterval, in configure() argument
378 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
379 } else if (stateTransitionIsRequired(enable, minInterval, hasRequest, in configure()
385 minInterval, CHRE_ERROR_FUNCTION_DISABLED, in configure()
387 } else if (addRequestToQueue(instanceId, enable, minInterval, cookie)) { in configure()
388 success = controlPlatform(enable, minInterval, minTimeToNext); in configure()
398 minInterval, CHRE_ERROR_NONE, cookie); in configure()
402 addSessionRequestLog(nanoapp->getInstanceId(), minInterval, enable); in configure()
426 Milliseconds minInterval, in addRequestToQueue() argument
431 stateTransition.minInterval = minInterval; in addRequestToQueue()
447 Milliseconds minInterval, in stateTransitionIsRequired() argument
452 (requestedState && isEnabled() && minInterval < mCurrentInterval); in stateTransitionIsRequired()
470 request.minInterval == currentRequest.minInterval) { in stateTransitionIsRequired()
476 (minInterval > mCurrentInterval && in stateTransitionIsRequired()
477 currentRequest.minInterval == mCurrentInterval && requestCount == 0); in stateTransitionIsRequired()
484 bool GnssSession::updateRequests(bool enable, Milliseconds minInterval, in updateRequests() argument
499 mRequests[requestIndex].minInterval = minInterval; in updateRequests()
506 request.minInterval = minInterval; in updateRequests()
534 bool enable, Milliseconds minInterval, in postAsyncResultEvent() argument
537 if (!success || updateRequests(enable, minInterval, instanceId)) { in postAsyncResultEvent()
560 Milliseconds minInterval, in postAsyncResultEventFatal() argument
563 if (!postAsyncResultEvent(instanceId, success, enable, minInterval, errorCode, in postAsyncResultEventFatal()
582 mCurrentInterval = stateTransition.minInterval; in handleStatusChangeSync()
588 stateTransition.minInterval, errorCode, stateTransition.cookie); in handleStatusChangeSync()
634 bool GnssSession::controlPlatform(bool enable, Milliseconds minInterval, in controlPlatform() argument
644 .mPlatformGnss.controlLocationSession(enable, minInterval, in controlPlatform()
652 .mPlatformGnss.controlMeasurementSession(enable, minInterval); in controlPlatform()
681 stateTransition.minInterval, hasRequest, in dispatchQueuedStateTransitions()
686 stateTransition.enable, stateTransition.minInterval, in dispatchQueuedStateTransitions()
690 stateTransition.minInterval, in dispatchQueuedStateTransitions()
698 stateTransition.minInterval, CHRE_ERROR, in dispatchQueuedStateTransitions()
705 stateTransition.minInterval, CHRE_ERROR_NONE, in dispatchQueuedStateTransitions()