Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/devicestate/
DDeviceStateRequest.java75 public static Builder newBuilder(int requestedState) { in newBuilder() argument
76 return new Builder(requestedState); in newBuilder()
87 private Builder(int requestedState) { in Builder() argument
88 mRequestedState = requestedState; in Builder()
149 private DeviceStateRequest(int requestedState, @RequestFlags int flags) { in DeviceStateRequest() argument
150 mRequestedState = requestedState; in DeviceStateRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java212 public void requestState(State requestedState) { in requestState() argument
213 Preconditions.checkArgument(requestedState != State.DOZE_REQUEST_PULSE); in requestState()
214 requestState(requestedState, DozeLog.PULSE_REASON_NONE); in requestState()
241 private void requestState(State requestedState, int pulseReason) { in requestState() argument
244 Log.i(TAG, "request: current=" + mState + " req=" + requestedState, in requestState()
249 mQueuedRequests.add(requestedState); in requestState()
302 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() argument
303 State newState = transitionPolicy(requestedState); in transitionTo()
306 Log.i(TAG, "transition: old=" + mState + " req=" + requestedState + " new=" + newState); in transitionTo()
379 private State transitionPolicy(State requestedState) { in transitionPolicy() argument
[all …]
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp366 const frontend::RequestedLayerState& requestedState, in writeSnapshotToProto() argument
370 auto buffer = requestedState.externalTexture; in writeSnapshotToProto()
374 LayerProtoHelper::writeToProtoDeprecated(ui::Transform(requestedState.bufferTransform), in writeSnapshotToProto()
380 layerInfo->set_curr_frame(requestedState.bufferData->frameNumber); in writeSnapshotToProto()
381 layerInfo->set_requested_corner_radius(requestedState.cornerRadius); in writeSnapshotToProto()
395 if (requestedState.hasColorTransform) { in writeSnapshotToProto()
411 layerInfo->set_name(requestedState.name); in writeSnapshotToProto()
413 layerInfo->set_name(requestedState.name + "(Mirror)"); in writeSnapshotToProto()
417 LayerProtoHelper::writeToProto(requestedState.transparentRegion, in writeSnapshotToProto()
421 layerInfo->set_z(requestedState.z); in writeSnapshotToProto()
[all …]
DLayerProtoHelper.h75 const frontend::RequestedLayerState& requestedState,
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerShellCommand.java102 int requestedState = Integer.parseInt(nextArg); in runState() local
103 DeviceStateRequest request = DeviceStateRequest.newBuilder(requestedState).build(); in runState()
143 int requestedState = Integer.parseInt(nextArg); in runBaseState() local
144 DeviceStateRequest request = DeviceStateRequest.newBuilder(requestedState).build(); in runBaseState()
DOverrideRequest.java76 @NonNull DeviceState requestedState, @DeviceStateRequest.RequestFlags int flags, in OverrideRequest() argument
81 mRequestedState = requestedState; in OverrideRequest()