Home
last modified time | relevance | path

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

/system/chre/core/
Dgnss_manager.cc214 bool requestedState, Milliseconds minInterval, bool nanoappHasRequest) in isInRequestedState() argument
216 bool inTargetState = (requestedState == isEnabled()); in isInRequestedState()
219 return ((inTargetState && (!requestedState || meetsMinInterval)) in isInRequestedState()
220 || (!requestedState && (!nanoappHasRequest || hasMoreThanOneRequest))); in isInRequestedState()
224 bool requestedState, Milliseconds minInterval, bool nanoappHasRequest, in stateTransitionIsRequired() argument
226 bool requestToEnable = (requestedState && !isEnabled()); in stateTransitionIsRequired()
227 bool requestToIncreaseRate = (requestedState && isEnabled() in stateTransitionIsRequired()
229 bool requestToDisable = (!requestedState && nanoappHasRequest in stateTransitionIsRequired()
Dwifi_request_manager.cc307 bool requestedState, bool nanoappHasRequest) const { in scanMonitorIsInRequestedState() argument
308 return (requestedState == scanMonitorIsEnabled() || (!requestedState in scanMonitorIsInRequestedState()
313 bool requestedState, bool nanoappHasRequest) const { in scanMonitorStateTransitionIsRequired() argument
314 return ((requestedState && mScanMonitorNanoapps.empty()) in scanMonitorStateTransitionIsRequired()
315 || (!requestedState && nanoappHasRequest in scanMonitorStateTransitionIsRequired()
/system/chre/core/include/chre/core/
Dgnss_manager.h219 bool isInRequestedState(bool requestedState, Milliseconds minInterval,
235 bool requestedState, Milliseconds minInterval, bool nanoappHasRequest,
Dwifi_request_manager.h247 bool scanMonitorIsInRequestedState(bool requestedState,
257 bool scanMonitorStateTransitionIsRequired(bool requestedState,