Home
last modified time | relevance | path

Searched refs:nextState (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/sender/
DChipStateSender.kt62 override fun isValidNextState(nextState: ChipStateSender): Boolean { in isValidNextState()
63 return nextState == FAR_FROM_RECEIVER || in isValidNextState()
64 nextState == TRANSFER_TO_RECEIVER_TRIGGERED in isValidNextState()
82 override fun isValidNextState(nextState: ChipStateSender): Boolean { in isValidNextState()
83 return nextState == FAR_FROM_RECEIVER || in isValidNextState()
84 nextState == TRANSFER_TO_THIS_DEVICE_TRIGGERED in isValidNextState()
102 override fun isValidNextState(nextState: ChipStateSender): Boolean { in isValidNextState()
103 return nextState == FAR_FROM_RECEIVER || in isValidNextState()
104 nextState == TRANSFER_TO_RECEIVER_SUCCEEDED || in isValidNextState()
105 nextState == TRANSFER_TO_RECEIVER_FAILED in isValidNextState()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSuppressor.java168 DozeMachine.State nextState = null;
170 nextState = DozeMachine.State.DOZE;
173 nextState = DozeMachine.State.DOZE_AOD;
176 if (nextState != null) {
177 mDozeLog.tracePowerSaveChanged(mDozeHost.isPowerSaveActive(), nextState);
178 mMachine.requestState(nextState);
186 final DozeMachine.State nextState;
188 nextState = DozeMachine.State.DOZE_AOD;
190 nextState = DozeMachine.State.DOZE;
192 mDozeLog.traceAlwaysOnSuppressedChange(suppressed, nextState);
[all …]
DDozeDockHandler.java104 DozeMachine.State nextState; in onEvent() local
107 nextState = State.DOZE_AOD_DOCKED; in onEvent()
110 nextState = mConfig.alwaysOnEnabled(mUserTracker.getUserId()) ? State.DOZE_AOD in onEvent()
114 nextState = State.DOZE; in onEvent()
119 mMachine.requestState(nextState); in onEvent()
DDozeMachine.java428 final State nextState; in resolveIntermediateState() local
432 nextState = State.FINISH; in resolveIntermediateState()
434 nextState = mDockManager.isHidden() ? State.DOZE : State.DOZE_AOD_DOCKED; in resolveIntermediateState()
436 nextState = State.DOZE_AOD; in resolveIntermediateState()
438 nextState = State.DOZE; in resolveIntermediateState()
441 transitionTo(nextState, DozeLog.PULSE_REASON_NONE); in resolveIntermediateState()
DDozeLogger.kt78 fun logPowerSaveChanged(powerSaveActive: Boolean, nextState: DozeMachine.State) { in logPowerSaveChanged()
81 str1 = nextState.name in logPowerSaveChanged()
87 fun logAlwaysOnSuppressedChange(isAodSuppressed: Boolean, nextState: DozeMachine.State) { in logAlwaysOnSuppressedChange()
90 str1 = nextState.name in logAlwaysOnSuppressedChange()
DDozeLog.java389 public void tracePowerSaveChanged(boolean powerSaveActive, DozeMachine.State nextState) { in tracePowerSaveChanged() argument
390 mLogger.logPowerSaveChanged(powerSaveActive, nextState); in tracePowerSaveChanged()
398 public void traceAlwaysOnSuppressedChange(boolean suppressed, DozeMachine.State nextState) { in traceAlwaysOnSuppressedChange() argument
399 mLogger.logAlwaysOnSuppressedChange(suppressed, nextState); in traceAlwaysOnSuppressedChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DGlanceableHubTransitions.kt93 val nextState: TransitionState in <lambda>() constant
98 nextState = TransitionState.FINISHED in <lambda>()
101 nextState = TransitionState.CANCELED in <lambda>()
106 nextState = TransitionState.RUNNING in <lambda>()
112 nextState = TransitionState.CANCELED in <lambda>()
119 nextState, in <lambda>()
123 nextState == TransitionState.CANCELED || in <lambda>()
124 nextState == TransitionState.FINISHED in <lambda>()
130 if (nextState == TransitionState.CANCELED) { in <lambda>()
DFromLockscreenTransitionInteractor.kt203 var nextState = in <lambda>() variable
216 nextState, in <lambda>()
220 nextState == TransitionState.CANCELED || in <lambda>()
221 nextState == TransitionState.FINISHED in <lambda>()
229 if (nextState == TransitionState.CANCELED) { in <lambda>()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
DStateWaiter.java128 Integer nextState = null; in waitForAnyOfStates() local
138 while ((nextState = mQueuedStates.poll(timeoutLeft, TimeUnit.MILLISECONDS)) != null) { in waitForAnyOfStates()
140 Log.v(TAG, " Saw transition to " + getStateName(nextState)); in waitForAnyOfStates()
143 if (states.contains(nextState)) { in waitForAnyOfStates()
158 if (!states.contains(nextState)) { in waitForAnyOfStates()
167 return nextState; in waitForAnyOfStates()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingStateCallback.java185 Integer nextState = null; in waitForAnyOfStates() local
189 while ((nextState = mRecentStates.poll(timeoutLeft, TimeUnit.MILLISECONDS)) in waitForAnyOfStates()
192 Log.v(TAG, " Saw transition to " + stateToString(nextState)); in waitForAnyOfStates()
194 if (states.contains(nextState)) break; in waitForAnyOfStates()
207 if (!states.contains(nextState)) { in waitForAnyOfStates()
216 return nextState; in waitForAnyOfStates()
DBlockingOfflineSessionCallback.java202 Integer nextState = null; in waitForAnyOfStates() local
206 while ((nextState = mRecentStates.poll(timeoutLeft, TimeUnit.MILLISECONDS)) in waitForAnyOfStates()
209 Log.v(TAG, " Saw transition to " + stateToString(nextState)); in waitForAnyOfStates()
211 if (states.contains(nextState)) break; in waitForAnyOfStates()
224 if (!states.contains(nextState)) { in waitForAnyOfStates()
233 return nextState; in waitForAnyOfStates()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java576 UnifiedRestoreState nextState = UnifiedRestoreState.FINAL; in dispatchNextRestore() local
593 nextState = UnifiedRestoreState.FINAL; in dispatchNextRestore()
603 nextState = UnifiedRestoreState.FINAL; in dispatchNextRestore()
626 nextState = UnifiedRestoreState.RUNNING_QUEUE; in dispatchNextRestore()
655 nextState = UnifiedRestoreState.RUNNING_QUEUE; in dispatchNextRestore()
699 nextState = UnifiedRestoreState.RUNNING_QUEUE; in dispatchNextRestore()
708 nextState = UnifiedRestoreState.RUNNING_QUEUE; in dispatchNextRestore()
732 nextState = UnifiedRestoreState.RESTORE_KEYVALUE; in dispatchNextRestore()
734 nextState = UnifiedRestoreState.RESTORE_FULL; in dispatchNextRestore()
744 nextState = UnifiedRestoreState.RUNNING_QUEUE; in dispatchNextRestore()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java1257 @PolitenessState int nextState = currState; in getNextState() local
1261 nextState = POLITE_STATE_POLITE; in getNextState()
1266 nextState = POLITE_STATE_MUTED; in getNextState()
1268 nextState = POLITE_STATE_DEFAULT; in getNextState()
1270 nextState = POLITE_STATE_POLITE; in getNextState()
1275 nextState = POLITE_STATE_POLITE; in getNextState()
1277 nextState = POLITE_STATE_MUTED; in getNextState()
1284 return nextState; in getNextState()
1335 @PolitenessState int nextState; in onNotificationPosted() local
1337 nextState = getNextState(currState, timeSinceLastNotif, record); in onNotificationPosted()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/
DSliderStateTracker.kt222 val nextState = in handleArrowOnce() constant
234 setState(nextState) in handleArrowOnce()
239 val nextState = in handleArrowContinuous() constant
253 setState(nextState) in handleArrowContinuous()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DServiceStateStats.java221 @Nullable CellularServiceState prevState, CellularServiceState nextState) { in getDataServiceSwitch() argument
224 && prevState.isMultiSim == nextState.isMultiSim in getDataServiceSwitch()
225 && prevState.carrierId == nextState.carrierId in getDataServiceSwitch()
226 && prevState.dataRat != nextState.dataRat) { in getDataServiceSwitch()
229 serviceSwitch.ratTo = nextState.dataRat; in getDataServiceSwitch()
230 serviceSwitch.isMultiSim = nextState.isMultiSim; in getDataServiceSwitch()
231 serviceSwitch.simSlotIndex = nextState.simSlotIndex; in getDataServiceSwitch()
232 serviceSwitch.carrierId = nextState.carrierId; in getDataServiceSwitch()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCallOrderStateMachineHelper.h110 auto nextState() { in nextState() function
DOutputTest.cpp2167 return nextState<ExecuteState>(); in expectBestColorModeCallResultUsedToSetColorProfile()
2210 return nextState<AndIfMiddleLayerDataspaceState>(); in ifTopLayerIs()
2221 return nextState<AndIfBottomLayerDataspaceState>(); in andIfMiddleLayerIs()
2232 return nextState<ThenExpectBestColorModeCallUsesState>(); in andIfBottomLayerIs()
2244 return nextState<ExecuteState>(); in thenExpectBestColorModeCallUses()
2331 return nextState<ThenExpectBestColorModeCallUsesState>(); in ifForceOutputColorMode()
2341 return nextState<ExecuteState>(); in thenExpectBestColorModeCallUses()
2388 return nextState<AndTopLayerCompositionTypeState>(); in ifTopLayerIs()
2397 return nextState<AndIfBottomLayerDataspaceState>(); in andTopLayerIsREComposed()
2405 return nextState<AndBottomLayerCompositionTypeState>(); in andIfBottomLayerIs()
[all …]
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c285 State_t nextState = (*transitionTable[i].mAction)(&player); in main() local
286 if (STATE_UNCHANGED != nextState) in main()
287 currentState = nextState; in main()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp356 CaptureState nextState = DONE; in manageStart() local
368 nextState = ZSL_START; in manageStart()
370 nextState = STANDARD_START; in manageStart()
379 return nextState; in manageStart()
/frameworks/av/media/libaaudio/src/core/
DAudioStream.cpp429 aaudio_stream_state_t *nextState, in waitForStateChange() argument
459 if (nextState != nullptr) { in waitForStateChange()
460 *nextState = state; in waitForStateChange()
DAAudioAudio.cpp350 aaudio_stream_state_t *nextState, in AAudioStream_waitForStateChange() argument
356 return spAudioStream->waitForStateChange(inputState, nextState, timeoutNanoseconds); in AAudioStream_waitForStateChange()
DAudioStream.h118 aaudio_stream_state_t *nextState,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java290 public void setUpcomingState(int nextState) { in setUpcomingState() argument
295 recordHistoricalState(nextState /* newState */, mState /* lastState */, true); in setUpcomingState()
296 updateUpcomingState(nextState); in setUpcomingState()
/frameworks/base/core/java/android/app/
DFragmentManager.java1572 int nextState = mCurState; in moveFragmentToExpectedState() local
1575 nextState = Math.min(nextState, Fragment.CREATED); in moveFragmentToExpectedState()
1577 nextState = Math.min(nextState, Fragment.INITIALIZING); in moveFragmentToExpectedState()
1581 moveToState(f, nextState, f.getNextTransition(), f.getNextTransitionStyle(), false); in moveFragmentToExpectedState()
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h1679 aaudio_stream_state_t inputState, aaudio_stream_state_t* _Nullable nextState,

12