Home
last modified time | relevance | path

Searched refs:getCurrentState (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNetworkTypeControllerTest.java65 private IState getCurrentState() throws Exception { in getCurrentState() method in NetworkTypeControllerTest
171 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateLegacy()
176 assertEquals("legacy", getCurrentState().getName()); in testTransitionToCurrentStateLegacy()
181 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateRestricted()
187 assertEquals("restricted", getCurrentState().getName()); in testTransitionToCurrentStateRestricted()
192 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateIdle()
199 assertEquals("not_restricted_rrc_idle", getCurrentState().getName()); in testTransitionToCurrentStateIdle()
204 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateLteConnected()
211 assertEquals("not_restricted_rrc_con", getCurrentState().getName()); in testTransitionToCurrentStateLteConnected()
216 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateNrConnected()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DSimSlotStateTest.java75 SimSlotState state = SimSlotState.getCurrentState(); in testEmptySlots()
87 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_nullSlot()
99 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_inactiveSlot()
111 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_noSimCard()
124 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCard()
137 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCardInErrorState()
150 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCardInRestrictedState()
164 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithNullCard()
177 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithoutProfile()
190 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithProfile()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccConnectorTest.java92 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noPermission()
101 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noBindPermission()
110 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noPriority()
162 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testInitialState_available()
169 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testPackageChange_unavailableToAvailable()
179 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testPackageChange_unavailableToAvailable()
188 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testPackageChange_availableToUnavailable()
199 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testPackageChange_availableToUnavailable()
299 assertEquals(mConnector.mConnectedState, mConnector.getCurrentState()); in testLinger()
303 assertEquals(mConnector.mConnectedState, mConnector.getCurrentState()); in testLinger()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java118 private IState getCurrentState() { in getCurrentState() method in GsmInboundSmsHandlerTest
255 assertEquals("StartupState", getCurrentState().getName()); in transitionFromStartupToIdle()
261 assertEquals("IdleState", getCurrentState().getName()); in transitionFromStartupToIdle()
289 assertEquals("WaitingState", getCurrentState().getName()); in verifySmsIntentBroadcasts()
307 assertEquals("WaitingState", getCurrentState().getName()); in verifySmsIntentBroadcasts()
313 assertEquals("IdleState", getCurrentState().getName()); in verifySmsIntentBroadcasts()
339 assertEquals("IdleState", getCurrentState().getName()); in testNewSms()
353 assertEquals("IdleState", getCurrentState().getName()); in testNewSmsFromBlockedNumber_noBroadcastsSent()
362 assertEquals("WaitingState", getCurrentState().getName()); in verifyDataSmsIntentBroadcasts()
367 assertEquals("IdleState", getCurrentState().getName()); in verifyDataSmsIntentBroadcasts()
[all …]
/frameworks/native/services/surfaceflinger/
DLayerVector.cpp42 (mStateSet == StateSet::Current) ? l->getCurrentState() : l->getDrawingState(); in do_compare()
44 (mStateSet == StateSet::Current) ? r->getCurrentState() : r->getDrawingState(); in do_compare()
65 auto& state = (stateSet == StateSet::Current) ? layer->getCurrentState() in traverseInZOrder()
77 auto& state = (stateSet == StateSet::Current) ? layer->getCurrentState() in traverseInReverseZOrder()
DLayer.h627 inline const State& getCurrentState() const { return mCurrentState; } in getCurrentState() function
628 inline State& getCurrentState() { return mCurrentState; } in getCurrentState() function
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiControllerTest.java80 private IState getCurrentState() throws Exception { in getCurrentState() method in WifiControllerTest
155 assertEquals("StaDisabledState", getCurrentState().getName()); in enableWifi()
160 assertEquals("StaEnabledState", getCurrentState().getName()); in enableWifi()
513 assertEquals("EcmState", getCurrentState().getName()); in testEcmOnFromDisabledMode()
757 assertEquals("EcmState", getCurrentState().getName()); in testWifiDoesNotToggleOnWhenInEcm()
781 assertEquals("EcmState", getCurrentState().getName()); in testScanModeDoesNotToggleOnWhenInEcm()
807 assertEquals("EcmState", getCurrentState().getName()); in testSoftApModeDoesNotToggleOnWhenInEcm()
829 assertEquals("EcmState", getCurrentState().getName()); in testSoftApStoppedDoesNotSwitchModesWhenInEcm()
871 assertEquals("EcmState", getCurrentState().getName()); in testScanModeStoppedDoesNotSwitchModesWhenInEcm()
894 assertEquals("EcmState", getCurrentState().getName()); in testClientModeStoppedDoesNotSwitchModesWhenInEcm()
[all …]
DClientModeImplTest.java265 private IState getCurrentState() throws in getCurrentState() method in ClientModeImplTest
600 assertEquals("DefaultState", getCurrentState().getName()); in createNew()
604 assertEquals("DefaultState", getCurrentState().getName()); in createNew()
610 assertEquals("DisconnectedState", getCurrentState().getName()); in loadComponentsInStaMode()
616 assertEquals("DefaultState", getCurrentState().getName()); in checkInitialStateStickyWhenDisabledMode()
622 assertEquals("DefaultState", getCurrentState().getName()); in checkInitialStateStickyWhenDisabledMode()
629 assertEquals("DefaultState", getCurrentState().getName()); in shouldStartSupplicantWhenConnectModeRequested()
635 assertEquals("DisconnectedState", getCurrentState().getName()); in shouldStartSupplicantWhenConnectModeRequested()
645 assertEquals("DefaultState", getCurrentState().getName()); in checkIsWifiEnabledForModeChanges()
651 assertEquals("DisconnectedState", getCurrentState().getName()); in checkIsWifiEnabledForModeChanges()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java60 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in ViewTransformationHelper
109 TransformState ownState = getCurrentState(viewType); in transformTo()
117 TransformState otherState = notification.getCurrentState(viewType); in transformTo()
166 TransformState ownState = getCurrentState(viewType); in transformFrom()
174 TransformState otherState = notification.getCurrentState(viewType); in transformFrom()
192 TransformState ownState = getCurrentState(viewType); in setVisible()
202 TransformState ownState = getCurrentState(viewType); in abortTransformations()
DTransformableView.java38 TransformState getCurrentState(int fadingView); in getCurrentState() method
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java86 private IState getCurrentState() { in getCurrentState() method in CdmaInboundSmsHandlerTest
171 assertEquals("StartupState", getCurrentState().getName()); in transitionFromStartupToIdle()
177 assertEquals("IdleState", getCurrentState().getName()); in transitionFromStartupToIdle()
197 assertEquals("WaitingState", getCurrentState().getName()); in testNewSms()
205 assertEquals("WaitingState", getCurrentState().getName()); in testNewSms()
210 assertEquals("IdleState", getCurrentState().getName()); in testNewSms()
243 assertEquals("IdleState", getCurrentState().getName()); in testNewSmsFromBlockedNumber_noBroadcastsSent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridNotificationView.java81 TransformState otherState = notification.getCurrentState( in onFinishInflate()
95 TransformState otherState = notification.getCurrentState( in onFinishInflate()
127 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in HybridNotificationView
128 return mTransformationHelper.getCurrentState(fadingView); in getCurrentState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DCustomInterpolatorTransformation.java43 TransformState otherState = notification.getCurrentState(mViewType); in transformTo()
64 TransformState otherState = notification.getCurrentState(mViewType); in transformFrom()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcControllerTest.java81 private IState getCurrentState() { in getCurrentState() method in DcControllerTest
120 assertEquals("DccDefaultState", getCurrentState().getName()); in testDataDormant()
DDataConnectionTest.java335 private IState getCurrentState() throws Exception { in getCurrentState() method in DataConnectionTest
369 assertEquals("DcInactiveState", getCurrentState().getName()); in testSanity()
398 assertEquals("DcActiveState", getCurrentState().getName()); in testConnectEvent()
420 assertEquals("DcInactiveState", getCurrentState().getName()); in testDisconnectEvent()
714 assertEquals("DcActiveState", getCurrentState().getName()); in connectEvent()
720 assertEquals("DcInactiveState", getCurrentState().getName()); in disconnectEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSimSlotState.java31 public static SimSlotState getCurrentState() { in getCurrentState() method in SimSlotState
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationHeaderViewWrapper.java196 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in NotificationHeaderViewWrapper
197 return mTransformationHelper.getCurrentState(fadingView); in getCurrentState()
DNotificationTemplateViewWrapper.java82 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
108 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
DNotificationViewWrapper.java232 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in NotificationViewWrapper
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java1150 private final IState getCurrentState() { in getCurrentState() method in StateMachine.SmHandler
1397 public final IState getCurrentState() { in getCurrentState() method in StateMachine
1401 return smh.getCurrentState(); in getCurrentState()
1569 smh.mLogRecords.add(this, smh.getCurrentMessage(), string, smh.getCurrentState(), in addLogRec()
2094 final IState curState = getCurrentState(); in dump()
2104 state = mSmHandler.getCurrentState().getName().toString(); in toString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkTypeController.java815 mPreviousState = getCurrentState().getName(); in transitionWithTimerTo()
824 String currentName = getCurrentState().getName(); in transitionWithSecondaryTimerTo()
835 transitionTo(getCurrentState()); in transitionWithSecondaryTimerTo()
856 if (!transitionState.equals(getCurrentState())) { in transitionToCurrentState()
864 String currentState = getCurrentState().getName(); in updateTimers()
DSmsDispatchersController.java305 if (mGsmInboundSmsHandler.getCurrentState().getName().equals("WaitingState") in handlePartialSegmentTimerExpiry()
306 || mCdmaInboundSmsHandler.getCurrentState().getName().equals("WaitingState")) { in handlePartialSegmentTimerExpiry()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanOnlyModeManager.java114 IState currentState = mStateMachine.getCurrentState(); in getCurrentStateName()
DClientModeManager.java119 IState currentState = mStateMachine.getCurrentState(); in getCurrentStateName()
DSupplicantStateTracker.java96 return getCurrentState().getName(); in getSupplicantStateName()

12