Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java27 import static com.android.systemui.doze.DozeMachine.State.INITIALIZED;
80 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testInitialize_setsScreenBrightnessToValidValue()
88 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesLightSensor()
89 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testAod_usesLightSensor()
98 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesDebugValue()
99 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testAod_usesDebugValue()
116 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesLightSensorRespectingUserSetting()
122 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testPausingAod_doesntPauseLightSensor()
123 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testPausingAod_doesntPauseLightSensor()
137 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testPausingAod_doesNotResetBrightness()
[all …]
DDozeScreenStateTest.java24 import static com.android.systemui.doze.DozeMachine.State.INITIALIZED;
76 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInDoze()
77 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_offInDoze()
84 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_onInAod()
85 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testScreen_onInAod()
92 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_onInPulse()
93 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_onInPulse()
103 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInRequestPulseWithoutAoD()
104 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_offInRequestPulseWithoutAoD()
113 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInRequestPulseWithAoD()
[all …]
DDozeDockHandlerTest.java82 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testDockEventListener_registerAndUnregister()
93 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_dockedWhenDoze_requestPulse()
103 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_dockedWhenDozeAoD_requestPulse()
113 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_dockedHideWhenPulsing_requestPulseOut()
124 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_undockedWhenPulsing_requestPulseOut()
135 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_undockedWhenDoze_neverRequestPulseOut()
146 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_undockedWhenDozeAndEnabledAoD_requestDozeAoD()
156 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testTransitionToDoze_whenDocked_requestPulse()
157 when(mMachine.getState()).thenReturn(DozeMachine.State.INITIALIZED); in testTransitionToDoze_whenDocked_requestPulse()
160 mDockHandler.transitionTo(State.INITIALIZED, DozeMachine.State.DOZE); in testTransitionToDoze_whenDocked_requestPulse()
[all …]
DDozeMachineTest.java25 import static com.android.systemui.doze.DozeMachine.State.INITIALIZED;
87 mMachine.requestState(INITIALIZED); in testInitialize_initializesParts()
89 verify(mPartMock).transitionTo(UNINITIALIZED, INITIALIZED); in testInitialize_initializesParts()
96 mMachine.requestState(INITIALIZED); in testInitialize_goesToDoze()
98 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_goesToDoze()
106 mMachine.requestState(INITIALIZED); in testInitialize_goesToAod()
108 verify(mPartMock).transitionTo(INITIALIZED, DOZE_AOD); in testInitialize_goesToAod()
115 mMachine.requestState(INITIALIZED); in testPulseDone_goesToDoze()
128 mMachine.requestState(INITIALIZED); in testPulseDone_goesToAoD()
140 mMachine.requestState(INITIALIZED); in testFinished_staysFinished()
[all …]
DDozeTriggersTest.java93 mTriggers.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_stillWorksAfterOneFailedProxCheck()
94 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_stillWorksAfterOneFailedProxCheck()
113 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testTransitionTo_disablesAndEnablesTouchSensors()
130 mTriggers.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testDockEventListener_registerAndUnregister()
DDozeUiTest.java22 import static com.android.systemui.doze.DozeMachine.State.INITIALIZED;
95 mDozeUi.transitionTo(UNINITIALIZED, INITIALIZED); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
96 mDozeUi.transitionTo(INITIALIZED, DOZE_AOD); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
/frameworks/av/media/libstagefright/
DMediaMuxer.cpp68 mState = INITIALIZED; in MediaMuxer()
89 if (mState != INITIALIZED) { in addTrack()
115 if (mState != INITIALIZED) { in setOrientationHint()
131 if (mState != INITIALIZED) { in setLocation()
146 if (mState == INITIALIZED) { in start()
DMediaCodec.cpp1902 UNINITIALIZED : INITIALIZED); in onMessageReceived()
1982 setState(INITIALIZED); in onMessageReceived()
2014 setState(INITIALIZED); in onMessageReceived()
2040 setState(INITIALIZED); in onMessageReceived()
2081 if (mState == RELEASING || mState == UNINITIALIZED || mState == INITIALIZED) { in onMessageReceived()
2399 setState(INITIALIZED); in onMessageReceived()
2523 if (mState != INITIALIZED) { in onMessageReceived()
2709 (msg->what() == kWhatStop) ? INITIALIZED : UNINITIALIZED; in onMessageReceived()
2748 && mState != INITIALIZED in onMessageReceived()
3200 if (newState == INITIALIZED || newState == UNINITIALIZED) { in setState()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java56 INITIALIZED, enumConstant
102 case INITIALIZED: in screenState()
288 Preconditions.checkState(newState == State.INITIALIZED); in validateTransition()
294 case INITIALIZED: in validateTransition()
346 case INITIALIZED: in resolveIntermediateState()
DDozeScreenState.java87 boolean justInitialized = oldState == DozeMachine.State.INITIALIZED; in transitionTo()
DDozeService.java93 mDozeMachine.requestState(DozeMachine.State.INITIALIZED); in onDreamingStarted()
DDozeDockHandler.java60 case INITIALIZED: in transitionTo()
DDozeUi.java142 case INITIALIZED: in transitionTo()
DDozeScreenBrightness.java106 case INITIALIZED: in transitionTo()
/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/bubbles/
DBubbleExpandedView.java68 INITIALIZED, enumConstant
121 case INITIALIZED:
553 case INITIALIZED: in cleanUpExpandedState()
581 mActivityViewStatus = ActivityViewStatus.INITIALIZED; in notifyDisplayEmpty()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaMuxer.h130 INITIALIZED, enumerator
DMediaFilter.h70 INITIALIZED, enumerator
DMediaCodec.h215 INITIALIZED, enumerator
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp405 mState = INITIALIZED; in onAllocateComponent()
412 CHECK_EQ(mState, INITIALIZED); in onConfigureComponent()
624 mState = INITIALIZED; in onShutdown()
/frameworks/native/opengl/libs/EGL/
Degl_display.h59 INITIALIZED = 1, enumerator
Degl_display.cpp307 disp.state = egl_display_t::INITIALIZED; in initialize()
468 if (cnx->dso && disp.state == egl_display_t::INITIALIZED) { in terminate()

12