Home
last modified time | relevance | path

Searched refs:mBaseStateRequest (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/devicestate/
DOverrideRequestController.java97 private OverrideRequest mBaseStateRequest; field in OverrideRequestController
135 OverrideRequest previousRequest = mBaseStateRequest; in addBaseStateRequest()
136 mBaseStateRequest = request; in addBaseStateRequest()
191 return mBaseStateRequest != null && token == mBaseStateRequest.getToken(); in hasRequest()
203 if (mBaseStateRequest != null && mBaseStateRequest.getPid() == pid) { in handleProcessDied()
229 if (mBaseStateRequest != null && state != mBaseStateRequest.getRequestedStateIdentifier()) { in handleBaseStateChanged()
255 if (mBaseStateRequest != null && !contains(newSupportedStates, in handleNewSupportedStates()
256 mBaseStateRequest.getRequestedStateIdentifier())) { in handleNewSupportedStates()
315 if (mBaseStateRequest == null) { in cancelCurrentBaseStateRequestLocked()
319 cancelRequestLocked(mBaseStateRequest, flags); in cancelCurrentBaseStateRequestLocked()
[all …]
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
DDeviceStateManagerGlobalTest.java262 private Request mBaseStateRequest; field in DeviceStateManagerGlobalTest.TestDeviceStateManagerService
271 final int mergedBaseState = mBaseStateRequest == null in getInfo()
272 ? mBaseState.getIdentifier() : mBaseStateRequest.state; in getInfo()
354 if (mBaseStateRequest != null) { in requestBaseStateOverride()
357 callback.onRequestCanceled(mBaseStateRequest.token); in requestBaseStateOverride()
365 mBaseStateRequest = request; in requestBaseStateOverride()
379 IBinder token = mBaseStateRequest.token; in cancelBaseStateOverride()
380 mBaseStateRequest = null; in cancelBaseStateOverride()