Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java89 DozeMachine.State nextState; in onEvent() local
92 nextState = State.DOZE_AOD_DOCKED; in onEvent()
95 nextState = mConfig.alwaysOnEnabled(UserHandle.USER_CURRENT) ? State.DOZE_AOD in onEvent()
99 nextState = State.DOZE; in onEvent()
104 mMachine.requestState(nextState); in onEvent()
DDozeMachine.java381 final State nextState; in resolveIntermediateState() local
385 nextState = State.FINISH; in resolveIntermediateState()
387 nextState = mDockManager.isHidden() ? State.DOZE : State.DOZE_AOD_DOCKED; in resolveIntermediateState()
389 nextState = State.DOZE_AOD; in resolveIntermediateState()
391 nextState = State.DOZE; in resolveIntermediateState()
394 transitionTo(nextState, DozeLog.PULSE_REASON_NONE); in resolveIntermediateState()
DDozeTriggers.java571 final DozeMachine.State nextState;
573 nextState = DozeMachine.State.DOZE_AOD;
575 nextState = DozeMachine.State.DOZE;
577 mMachine.requestState(nextState);
/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.java487 UnifiedRestoreState nextState = UnifiedRestoreState.FINAL; in dispatchNextRestore() local
498 nextState = UnifiedRestoreState.FINAL; in dispatchNextRestore()
507 nextState = UnifiedRestoreState.FINAL; in dispatchNextRestore()
521 nextState = UnifiedRestoreState.RUNNING_QUEUE; in dispatchNextRestore()
539 nextState = UnifiedRestoreState.RUNNING_QUEUE; in dispatchNextRestore()
565 nextState = UnifiedRestoreState.RUNNING_QUEUE; in dispatchNextRestore()
598 nextState = UnifiedRestoreState.RESTORE_KEYVALUE; in dispatchNextRestore()
600 nextState = UnifiedRestoreState.RESTORE_FULL; in dispatchNextRestore()
604 nextState = UnifiedRestoreState.RUNNING_QUEUE; in dispatchNextRestore()
611 nextState = UnifiedRestoreState.FINAL; in dispatchNextRestore()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp402 State nextState; in threadMain() local
404 nextState = mVSyncState->synthetic ? State::SyntheticVSync : State::VSync; in threadMain()
407 nextState = State::Idle; in threadMain()
410 if (mState != nextState) { in threadMain()
413 } else if (nextState == State::VSync) { in threadMain()
417 mState = nextState; in threadMain()
/frameworks/av/media/libaaudio/examples/loopback/src/analyzer/
DLatencyAnalyzer.h501 echo_state nextState = mState; in processInputFrame() local
512 nextState = STATE_IN_PULSE; in processInputFrame()
521 nextState = STATE_GOT_DATA; in processInputFrame()
531 mState = nextState; in processInputFrame()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCallOrderStateMachineHelper.h110 auto nextState() { in nextState() function
DOutputTest.cpp1668 return nextState<ExecuteState>(); in expectBestColorModeCallResultUsedToSetColorProfile()
1710 return nextState<ThenExpectSetColorProfileCallUsesColorSpaceAgnosticDataspaceState>(); in ifColorSpaceAgnosticDataspaceSetTo()
1723 return nextState<ExecuteState>(); in thenExpectSetColorProfileCallUsesColorSpaceAgnosticDataspace()
1761 return nextState<AndIfMiddleLayerDataspaceState>(); in ifTopLayerIs()
1772 return nextState<AndIfBottomLayerDataspaceState>(); in andIfMiddleLayerIs()
1783 return nextState<ThenExpectBestColorModeCallUsesState>(); in andIfBottomLayerIs()
1795 return nextState<ExecuteState>(); in thenExpectBestColorModeCallUses()
1883 return nextState<ThenExpectBestColorModeCallUsesState>(); in ifForceOutputColorMode()
1893 return nextState<ExecuteState>(); in thenExpectBestColorModeCallUses()
1941 return nextState<AndTopLayerCompositionTypeState>(); in ifTopLayerIs()
[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/media/libaaudio/src/core/
DAudioStream.cpp346 aaudio_stream_state_t *nextState, in waitForStateChange() argument
370 if (nextState != nullptr) { in waitForStateChange()
371 *nextState = state; in waitForStateChange()
DAAudioAudio.cpp308 aaudio_stream_state_t *nextState, in AAudioStream_waitForStateChange() argument
313 return audioStream->waitForStateChange(inputState, nextState, timeoutNanoseconds); in AAudioStream_waitForStateChange()
DAudioStream.h107 aaudio_stream_state_t *nextState,
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp355 CaptureState nextState = DONE; in manageStart() local
367 nextState = ZSL_START; in manageStart()
369 nextState = STANDARD_START; in manageStart()
378 return nextState; in manageStart()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java972 private void changeState(int nextState) { in changeState() argument
973 if (nextState != mState) { in changeState()
975 Log.v(TAG, "Changing state from " + mState + " -> " + nextState); in changeState()
977 mState = nextState; in changeState()
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h1155 aaudio_stream_state_t inputState, aaudio_stream_state_t *nextState,
/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/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java1971 final boolean nextState = r != null && r.immersive; in applyUpdateLockStateLocked()
1973 if (mUpdateLock.isHeld() != nextState) { in applyUpdateLockStateLocked()
1975 "Applying new update lock state '" + nextState + "' for " + r); in applyUpdateLockStateLocked()
1976 if (nextState) { in applyUpdateLockStateLocked()