Searched refs:OverrideRequest (Results 1 – 4 of 4) sorted by relevance
19 import static com.android.server.devicestate.OverrideRequest.OVERRIDE_REQUEST_TYPE_BASE_STATE;20 import static com.android.server.devicestate.OverrideRequest.OVERRIDE_REQUEST_TYPE_EMULATED_STATE;68 OverrideRequest request = new OverrideRequest(new Binder(), 0 /* pid */, 0 /* uid */, in addRequest()78 OverrideRequest firstRequest = new OverrideRequest(new Binder(), 0 /* pid */, 0 /* uid */, in addRequest_cancelExistingRequestThroughNewRequest()85 OverrideRequest secondRequest = new OverrideRequest(new Binder(), 0 /* pid */, 0 /* uid */, in addRequest_cancelExistingRequestThroughNewRequest()96 OverrideRequest firstRequest = new OverrideRequest(new Binder(), 0 /* pid */, 0 /* uid */, in addRequest_cancelActiveRequest()110 OverrideRequest request = new OverrideRequest(new Binder(), 0 /* pid */, 0 /* uid */, in addBaseStateRequest()120 OverrideRequest firstRequest = new OverrideRequest(new Binder(), 0 /* pid */, 0 /* uid */, in addBaseStateRequest_cancelExistingBaseStateRequestThroughNewRequest()127 OverrideRequest secondRequest = new OverrideRequest(new Binder(), 0 /* pid */, 0 /* uid */, in addBaseStateRequest_cancelExistingBaseStateRequestThroughNewRequest()138 OverrideRequest firstRequest = new OverrideRequest(new Binder(), 0 /* pid */, 0 /* uid */, in addBaseStateRequest_cancelActiveBaseStateRequest()[all …]
95 private OverrideRequest mRequest;97 private OverrideRequest mBaseStateRequest;124 void addRequest(@NonNull OverrideRequest request) { in addRequest()125 OverrideRequest previousRequest = mRequest; in addRequest()134 void addBaseStateRequest(@NonNull OverrideRequest request) { in addBaseStateRequest()135 OverrideRequest previousRequest = mBaseStateRequest; in addBaseStateRequest()148 void cancelRequest(@NonNull OverrideRequest request) { in cancelRequest()189 @OverrideRequest.OverrideRequestType int requestType) { in hasRequest()190 if (requestType == OverrideRequest.OVERRIDE_REQUEST_TYPE_BASE_STATE) { in hasRequest()267 OverrideRequest overrideRequest = mRequest; in dumpInternal()[all …]
33 final class OverrideRequest { class75 OverrideRequest(IBinder token, int pid, int uid, in OverrideRequest() method in OverrideRequest
28 import static com.android.server.devicestate.OverrideRequest.OVERRIDE_REQUEST_TYPE_BASE_STATE;29 import static com.android.server.devicestate.OverrideRequest.OVERRIDE_REQUEST_TYPE_EMULATED_STATE;163 private Optional<OverrideRequest> mActiveOverride = Optional.empty();169 private Optional<OverrideRequest> mActiveBaseStateOverride = Optional.empty();186 private OverrideRequest mRearDisplayPendingOverrideRequest;204 OverrideRequest request = mActiveOverride.get();644 OverrideRequest activeRequest = mActiveOverride.orElse(null); in commitPendingState()690 private void onOverrideRequestStatusChangedLocked(@NonNull OverrideRequest request, in onOverrideRequestStatusChangedLocked()769 private void enableBaseStateRequestLocked(OverrideRequest request) { in enableBaseStateRequestLocked()811 OverrideRequest request = mActiveOverride.get(); in handleProcessDied()[all …]