Home
last modified time | relevance | path

Searched refs:INITIALIZED (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java29 import static com.android.systemui.doze.DozeMachine.State.INITIALIZED;
143 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testInitialize_setsScreenBrightnessToValidValue()
151 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesDebugValue()
152 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testAod_usesDebugValue()
172 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesLightSensorRespectingUserSetting()
185 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesLightSensorNotClampingToAutoBrightnessValue()
192 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in doze_doesNotUseLightSensor()
193 mScreen.transitionTo(INITIALIZED, DOZE); in doze_doesNotUseLightSensor()
207 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in dozeSuspendTriggers_doesNotUseLightSensor()
208 mScreen.transitionTo(INITIALIZED, DOZE_SUSPEND_TRIGGERS); in dozeSuspendTriggers_doesNotUseLightSensor()
[all …]
DDozeMachineTest.java31 import static com.android.systemui.doze.DozeMachine.State.INITIALIZED;
119 mMachine.requestState(INITIALIZED); in testInitialize_initializesParts()
121 verify(mPartMock).transitionTo(UNINITIALIZED, INITIALIZED); in testInitialize_initializesParts()
128 mMachine.requestState(INITIALIZED); in testInitialize_goesToDoze()
130 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_goesToDoze()
138 mMachine.requestState(INITIALIZED); in testInitialize_goesToAod()
140 verify(mPartMock).transitionTo(INITIALIZED, DOZE_AOD); in testInitialize_goesToAod()
148 mMachine.requestState(INITIALIZED); in testInitialize_afterDocked_goesToDockedAod()
150 verify(mPartMock).transitionTo(INITIALIZED, DOZE_AOD_DOCKED); in testInitialize_afterDocked_goesToDockedAod()
160 mMachine.requestState(INITIALIZED); in testInitialize_afterDockPaused_goesToDoze()
[all …]
DDozeScreenStateTest.java28 import static com.android.systemui.doze.DozeMachine.State.INITIALIZED;
111 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInDoze()
112 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_offInDoze()
119 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_onInAod()
120 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testScreen_onInAod()
127 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_onInPulse()
128 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_onInPulse()
138 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInRequestPulseWithoutAoD()
139 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_offInRequestPulseWithoutAoD()
148 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInRequestPulseWithAoD()
[all …]
DDozeSuppressorTest.java26 import static com.android.systemui.doze.DozeMachine.State.INITIALIZED;
116 mDozeSuppressor.transitionTo(UNINITIALIZED, INITIALIZED); in testRegistersListenersOnInitialized_unregisteredOnFinish()
120 mDozeSuppressor.transitionTo(INITIALIZED, FINISH); in testRegistersListenersOnInitialized_unregisteredOnFinish()
130 mDozeSuppressor.transitionTo(UNINITIALIZED, INITIALIZED); in testSuspendTriggersDoze_carMode()
141 mDozeSuppressor.transitionTo(UNINITIALIZED, INITIALIZED); in testSuspendTriggersDoze_enterCarMode()
142 mDozeSuppressor.transitionTo(INITIALIZED, DOZE); in testSuspendTriggersDoze_enterCarMode()
156 mDozeSuppressor.transitionTo(UNINITIALIZED, INITIALIZED); in testDozeResume_exitCarMode()
157 mDozeSuppressor.transitionTo(INITIALIZED, DOZE_SUSPEND_TRIGGERS); in testDozeResume_exitCarMode()
171 mDozeSuppressor.transitionTo(UNINITIALIZED, INITIALIZED); in testDozeAoDResume_exitCarMode()
172 mDozeSuppressor.transitionTo(INITIALIZED, DOZE_SUSPEND_TRIGGERS); in testDozeAoDResume_exitCarMode()
[all …]
DDozeTriggersTest.java20 import static com.android.systemui.doze.DozeMachine.State.INITIALIZED;
159 mTriggers.transitionTo(UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_stillWorksAfterOneFailedProxCheck()
160 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_stillWorksAfterOneFailedProxCheck()
190 mTriggers.transitionTo(UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_startsPulseRequest()
191 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_startsPulseRequest()
209 mTriggers.transitionTo(UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_cannotPulse_notificationSuppressed()
210 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_cannotPulse_notificationSuppressed()
231 mTriggers.transitionTo(UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_alreadyPulsing_notificationNotSuppressed()
232 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE_PULSING); in testOnNotification_alreadyPulsing_notificationNotSuppressed()
249 mTriggers.transitionTo(UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_noPulseIfPulseIsNotPendingAnymore()
[all …]
DDozeUiTest.java22 import static com.android.systemui.doze.DozeMachine.State.INITIALIZED;
102 mDozeUi.transitionTo(UNINITIALIZED, INITIALIZED); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
103 mDozeUi.transitionTo(INITIALIZED, DOZE_AOD); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
DDozeDockHandlerTest.java70 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in setUp()
80 mDockHandler.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.FINISH); in transitionToFinish_unregistersDockEventListener()
/frameworks/av/media/libstagefright/
DMediaMuxer.cpp92 mState = INITIALIZED; in MediaMuxer()
114 if (mState != INITIALIZED) { in addTrack()
144 if (mState != INITIALIZED) { in setOrientationHint()
160 if (mState != INITIALIZED) { in setLocation()
175 if (mState == INITIALIZED) { in start()
280 if (mState != INITIALIZED && mState != STARTED) { in getTrackCount()
289 if (mState != INITIALIZED && mState != STARTED) { in getTrackFormat()
DMediaAppender.cpp294 mState = INITIALIZED; in init()
307 if (mState != INITIALIZED) { in start()
397 if (mState != INITIALIZED && mState != STARTED) { in getTrackCount()
407 if (mState != INITIALIZED && mState != STARTED) { in getTrackFormat()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java67 INITIALIZED, enumConstant
123 case INITIALIZED: in screenState()
354 Preconditions.checkState(newState == State.INITIALIZED); in validateTransition()
360 case INITIALIZED: in validateTransition()
426 case INITIALIZED: in resolveIntermediateState()
430 if (state != State.INITIALIZED && (wakefulness == WAKEFULNESS_AWAKE in resolveIntermediateState()
DDozeDockHandler.java65 case INITIALIZED: in transitionTo()
DDozeScreenBrightness.java145 case INITIALIZED: in transitionTo()
287 && mState == DozeMachine.State.INITIALIZED; in clampToDimBrightnessForScreenOff()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaRecorderStateUnitTestTemplate.java227 case INITIALIZED: in setMediaRecorderToState()
262 case INITIALIZED: in setStateError()
293 … callMediaRecorderMethodUnderTestInState(MediaRecorderStateErrors.MediaRecorderState.INITIALIZED); in checkInitializedState()
DMediaRecorderStateErrors.java24 INITIALIZED, enumConstant
DMediaPlayerStateErrors.java24 INITIALIZED, enumConstant
DMediaPlayerStateUnitTestTemplate.java343 case INITIALIZED: in setMediaPlayerToState()
387 case INITIALIZED: in setStateError()
430 callMediaPlayerMethodUnderTestInState(MediaPlayerStateErrors.MediaPlayerState.INITIALIZED); in checkInitializedState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DDozeStateModel.kt23 INITIALIZED,
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DCompositionEngine.cpp207 LayerFE::ReleaseFencePromiseStatus::INITIALIZED) { in postComposition()
217 LayerFE::ReleaseFencePromiseStatus::INITIALIZED) { in postComposition()
/frameworks/av/media/libeffects/visualizer/aidl/
DVisualizerContext.cpp51 mState = State::INITIALIZED; in initParams()
65 if (mState != State::INITIALIZED) { in enable()
76 mState = State::INITIALIZED; in disable()
DVisualizerContext.h67 INITIALIZED, enumerator
/frameworks/av/media/module/libmediatranscoding/transcoder/
DMediaSampleWriter.cpp111 mState = INITIALIZED; in init()
126 if (mState != INITIALIZED) { in addTrack()
180 } else if (mState != INITIALIZED) { in start()
/frameworks/base/core/java/android/service/games/
DGameSession.java116 INITIALIZED, enumConstant
127 private LifecycleState mLifecycleState = LifecycleState.INITIALIZED;
197 case INITIALIZED: in moveToState()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaMuxer.h148 INITIALIZED, enumerator
DMediaAppender.h92 INITIALIZED, enumerator
/frameworks/native/services/surfaceflinger/
DLayerFE.cpp89 mReleaseFencePromiseStatus == ReleaseFencePromiseStatus::INITIALIZED) { in ~LayerFE()
417 if (mReleaseFencePromiseStatus == ReleaseFencePromiseStatus::INITIALIZED) { in createReleaseFenceFuture()
421 mReleaseFencePromiseStatus = ReleaseFencePromiseStatus::INITIALIZED; in createReleaseFenceFuture()

12