Searched refs:requestedState (Results 1 – 4 of 4) sorted by relevance
482 bool scanMonitorIsInRequestedState(bool requestedState,492 bool scanMonitorStateTransitionIsRequired(bool requestedState,
301 bool stateTransitionIsRequired(bool requestedState, Milliseconds minInterval,
488 bool GnssSession::stateTransitionIsRequired(bool requestedState, in stateTransitionIsRequired() argument492 bool requestToEnable = (requestedState && !isEnabled()); in stateTransitionIsRequired()494 (requestedState && isEnabled() && minInterval < mCurrentInterval); in stateTransitionIsRequired()496 (!requestedState && nanoappHasRequest && mRequests.size() == 1); in stateTransitionIsRequired()
748 bool requestedState, bool nanoappHasRequest) const { in scanMonitorIsInRequestedState() argument749 return (requestedState == scanMonitorIsEnabled() || in scanMonitorIsInRequestedState()750 (!requestedState && in scanMonitorIsInRequestedState()755 bool requestedState, bool nanoappHasRequest) const { in scanMonitorStateTransitionIsRequired() argument756 return ((requestedState && mScanMonitorNanoapps.empty()) || in scanMonitorStateTransitionIsRequired()757 (!requestedState && nanoappHasRequest && in scanMonitorStateTransitionIsRequired()