Home
last modified time | relevance | path

Searched refs:requestedState (Results 1 – 4 of 4) sorted by relevance

/system/chre/core/include/chre/core/
Dwifi_request_manager.h482 bool scanMonitorIsInRequestedState(bool requestedState,
492 bool scanMonitorStateTransitionIsRequired(bool requestedState,
Dgnss_manager.h301 bool stateTransitionIsRequired(bool requestedState, Milliseconds minInterval,
/system/chre/core/
Dgnss_manager.cc488 bool GnssSession::stateTransitionIsRequired(bool requestedState, in stateTransitionIsRequired() argument
492 bool requestToEnable = (requestedState && !isEnabled()); in stateTransitionIsRequired()
494 (requestedState && isEnabled() && minInterval < mCurrentInterval); in stateTransitionIsRequired()
496 (!requestedState && nanoappHasRequest && mRequests.size() == 1); in stateTransitionIsRequired()
Dwifi_request_manager.cc748 bool requestedState, bool nanoappHasRequest) const { in scanMonitorIsInRequestedState() argument
749 return (requestedState == scanMonitorIsEnabled() || in scanMonitorIsInRequestedState()
750 (!requestedState && in scanMonitorIsInRequestedState()
755 bool requestedState, bool nanoappHasRequest) const { in scanMonitorStateTransitionIsRequired() argument
756 return ((requestedState && mScanMonitorNanoapps.empty()) || in scanMonitorStateTransitionIsRequired()
757 (!requestedState && nanoappHasRequest && in scanMonitorStateTransitionIsRequired()