Searched refs:requestedState (Results 1 – 4 of 4) sorted by relevance
/system/chre/core/ |
D | gnss_manager.cc | 214 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()
|
D | wifi_request_manager.cc | 307 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/ |
D | gnss_manager.h | 219 bool isInRequestedState(bool requestedState, Milliseconds minInterval, 235 bool requestedState, Milliseconds minInterval, bool nanoappHasRequest,
|
D | wifi_request_manager.h | 247 bool scanMonitorIsInRequestedState(bool requestedState, 257 bool scanMonitorStateTransitionIsRequired(bool requestedState,
|