Lines Matching refs:minInterval
70 bool GnssSession::addRequest(Nanoapp *nanoapp, Milliseconds minInterval, in addRequest() argument
73 return configure(nanoapp, true /* enable */, minInterval, minTimeToNext, in addRequest()
124 request.minInterval.getMilliseconds(), in logStateToBuffer()
133 transition.minInterval.getMilliseconds(), in logStateToBuffer()
139 Nanoapp *nanoapp, bool enable, Milliseconds minInterval, in configure() argument
146 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
147 } else if (stateTransitionIsRequired(enable, minInterval, hasRequest, in configure()
149 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
151 success = controlPlatform(enable, minInterval, minTimeToNext); in configure()
160 instanceId, true /* success */, enable, minInterval, CHRE_ERROR_NONE, in configure()
185 uint32_t instanceId, bool enable, Milliseconds minInterval, in addRequestToQueue() argument
190 stateTransition.minInterval = minInterval; in addRequestToQueue()
206 bool requestedState, Milliseconds minInterval, bool nanoappHasRequest, in stateTransitionIsRequired() argument
210 && minInterval < mCurrentInterval); in stateTransitionIsRequired()
228 && request.minInterval == currentRequest.minInterval) { in stateTransitionIsRequired()
233 requestToDecreaseRate = (minInterval > mCurrentInterval in stateTransitionIsRequired()
234 && currentRequest.minInterval == mCurrentInterval && requestCount == 0); in stateTransitionIsRequired()
242 bool enable, Milliseconds minInterval, uint32_t instanceId) { in updateRequests() argument
255 mRequests[requestIndex].minInterval = minInterval; in updateRequests()
262 request.minInterval = minInterval; in updateRequests()
282 uint32_t instanceId, bool success, bool enable, Milliseconds minInterval, in postAsyncResultEvent() argument
285 if (!success || updateRequests(enable, minInterval, instanceId)) { in postAsyncResultEvent()
310 uint32_t instanceId, bool success, bool enable, Milliseconds minInterval, in postAsyncResultEventFatal() argument
312 if (!postAsyncResultEvent(instanceId, success, enable, minInterval, errorCode, in postAsyncResultEventFatal()
327 mCurrentInterval = stateTransition.minInterval; in handleStatusChangeSync()
333 stateTransition.minInterval, in handleStatusChangeSync()
346 stateTransition.minInterval, in handleStatusChangeSync()
348 if (controlPlatform(stateTransition.enable, stateTransition.minInterval, in handleStatusChangeSync()
356 stateTransition.enable, stateTransition.minInterval, in handleStatusChangeSync()
363 stateTransition.enable, stateTransition.minInterval, in handleStatusChangeSync()
390 bool enable, Milliseconds minInterval, Milliseconds /* minTimeToNext */) { in controlPlatform() argument
398 .controlLocationSession(enable, minInterval, Milliseconds(0)); in controlPlatform()
403 .controlMeasurementSession(enable, minInterval); in controlPlatform()