Home
last modified time | relevance | path

Searched refs:addState (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DStateListDrawableTest.java47 slDrawable.addState(StateSet.WILD_CARD, in broken_testFocusScenarioSetStringWildcardFirst()
49 slDrawable.addState(checkedStateSet, mockCheckedDrawable); in broken_testFocusScenarioSetStringWildcardFirst()
50 slDrawable.addState(focusedStateSet, mockFocusedDrawable); in broken_testFocusScenarioSetStringWildcardFirst()
59 slDrawable.addState(checkedStateSet, mockCheckedDrawable); in broken_testFocusScenarioStateSetWildcardLast()
60 slDrawable.addState(focusedStateSet, mockFocusedDrawable); in broken_testFocusScenarioStateSetWildcardLast()
61 slDrawable.addState(StateSet.WILD_CARD, in broken_testFocusScenarioStateSetWildcardLast()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DStateMachineTest.java113 stateMachine.addState(exampleState); in testToStringSucceedsEvenIfStateHasNoName()
124 stateMachine.addState(exampleState); in testToStringIncludesMachineAndStateNames()
135 stateMachine.addState(exampleState); in testToStringDoesNotContainMultipleLines()
153 addState(mS1); in StateMachineQuitTest()
254 addState(mS1); in StateMachineQuitNowTest()
356 addState(mS1); in StateMachineQuitNowAfterStartTest()
449 addState(mS1); in StateMachineEnterExitTransitionToTest()
450 addState(mS2); in StateMachineEnterExitTransitionToTest()
451 addState(mS3); in StateMachineEnterExitTransitionToTest()
452 addState(mS4); in StateMachineEnterExitTransitionToTest()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStateTracker.java108 addState(mDefaultState); in SupplicantStateTracker()
109 addState(mUninitializedState, mDefaultState); in SupplicantStateTracker()
110 addState(mInactiveState, mDefaultState); in SupplicantStateTracker()
111 addState(mDisconnectState, mDefaultState); in SupplicantStateTracker()
112 addState(mConnectionActiveState, mDefaultState); in SupplicantStateTracker()
113 addState(mScanState, mConnectionActiveState); in SupplicantStateTracker()
114 addState(mHandshakeState, mConnectionActiveState); in SupplicantStateTracker()
115 addState(mCompletedState, mConnectionActiveState); in SupplicantStateTracker()
116 addState(mDormantState, mConnectionActiveState); in SupplicantStateTracker()
DWifiController.java118 addState(mDefaultState); in WifiController()
119 addState(mStaDisabledState, mDefaultState); in WifiController()
120 addState(mStaEnabledState, mDefaultState); in WifiController()
121 addState(mStaDisabledWithScanState, mDefaultState); in WifiController()
122 addState(mEcmState, mDefaultState); in WifiController()
DScanOnlyModeManager.java179 addState(mIdleState); in ScanOnlyModeStateMachine()
180 addState(mStartedState); in ScanOnlyModeStateMachine()
DClientModeManager.java204 addState(mIdleState); in ClientModeStateMachine()
205 addState(mStartedState); in ClientModeStateMachine()
DActiveModeWarden.java282 addState(mClientModeActiveState); in ModeStateMachine()
283 addState(mScanOnlyModeActiveState); in ModeStateMachine()
284 addState(mWifiDisabledState); in ModeStateMachine()
DSoftApManager.java356 addState(mIdleState); in SoftApStateMachine()
357 addState(mStartedState); in SoftApStateMachine()
DClientModeImpl.java909 addState(mDefaultState); in ClientModeImpl()
910 addState(mConnectModeState, mDefaultState); in ClientModeImpl()
911 addState(mL2ConnectedState, mConnectModeState); in ClientModeImpl()
912 addState(mObtainingIpState, mL2ConnectedState); in ClientModeImpl()
913 addState(mConnectedState, mL2ConnectedState); in ClientModeImpl()
914 addState(mRoamingState, mL2ConnectedState); in ClientModeImpl()
915 addState(mDisconnectingState, mConnectModeState); in ClientModeImpl()
916 addState(mDisconnectedState, mConnectModeState); in ClientModeImpl()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWakeLockStateMachine.java84 addState(mDefaultState); in WakeLockStateMachine()
85 addState(mIdleState, mDefaultState); in WakeLockStateMachine()
86 addState(mWaitingState, mDefaultState); in WakeLockStateMachine()
DNetworkTypeController.java155 addState(mDefaultState); in NetworkTypeController()
156 addState(mLegacyState, mDefaultState); in NetworkTypeController()
157 addState(mIdleState, mDefaultState); in NetworkTypeController()
158 addState(mLteConnectedState, mDefaultState); in NetworkTypeController()
159 addState(mNrConnectedState, mDefaultState); in NetworkTypeController()
DInboundSmsHandler.java286 addState(mDefaultState); in InboundSmsHandler()
287 addState(mStartupState, mDefaultState); in InboundSmsHandler()
288 addState(mIdleState, mDefaultState); in InboundSmsHandler()
289 addState(mDeliveringState, mDefaultState); in InboundSmsHandler()
290 addState(mWaitingState, mDeliveringState); in InboundSmsHandler()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java1163 private final StateInfo addState(State state, State parent) { in addState() method in StateMachine.SmHandler
1173 parentStateInfo = addState(parent, null); in addState()
1224 addState(mHaltingState, null); in SmHandler()
1225 addState(mQuittingState, null); in SmHandler()
1352 public final void addState(State state, State parent) { in addState() method in StateMachine
1353 mSmHandler.addState(state, parent); in addState()
1361 public final void addState(State state) { in addState() method in StateMachine
1362 mSmHandler.addState(state, null); in addState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DRilMessageDecoder.java121 addState(mStateStart); in RilMessageDecoder()
122 addState(mStateCmdParamsReady); in RilMessageDecoder()
/frameworks/base/core/java/android/animation/
DStateListAnimator.java82 public void addState(int[] specs, Animator animator) { in addState() method in StateListAnimator
150 clone.addState(tuple.mSpecs, animatorClone); in clone()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java523 addState(mDefaultState); in WifiSingleScanStateMachine()
524 addState(mDriverStartedState, mDefaultState); in WifiSingleScanStateMachine()
525 addState(mIdleState, mDriverStartedState); in WifiSingleScanStateMachine()
526 addState(mScanningState, mDriverStartedState); in WifiSingleScanStateMachine()
1078 addState(mDefaultState); in WifiBackgroundScanStateMachine()
1079 addState(mStartedState, mDefaultState); in WifiBackgroundScanStateMachine()
1080 addState(mPausedState, mDefaultState); in WifiBackgroundScanStateMachine()
1526 addState(mDefaultState); in WifiPnoScanStateMachine()
1527 addState(mStartedState, mDefaultState); in WifiPnoScanStateMachine()
1528 addState(mHwPnoScanState, mStartedState); in WifiPnoScanStateMachine()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java70 public synchronized boolean addState(int state) { in addState() method in GraphRunner.State
244 mState.addState(State.PAUSED); in onPause()
256 if (mState.addState(State.HALTED) && mState.check(State.RUNNING)) { in onHalt()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java388 addState(mUnavailableState); in init()
390 addState(mAvailableState, mUnavailableState); in init()
393 addState(mBindingState); in init()
398 addState(mDisconnectedState); in init()
400 addState(mConnectedState, mDisconnectedState); in init()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java322 addState(mInitialState); in IpServer()
323 addState(mLocalHotspotState); in IpServer()
324 addState(mTetheredState); in IpServer()
325 addState(mWaitingForRestartState, mTetheredState); in IpServer()
326 addState(mUnavailableState); in IpServer()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java804 addState(mDefaultState); in P2pStateMachine()
805 addState(mP2pNotSupportedState, mDefaultState); in P2pStateMachine()
806 addState(mP2pDisablingState, mDefaultState); in P2pStateMachine()
807 addState(mP2pDisabledState, mDefaultState); in P2pStateMachine()
808 addState(mP2pEnabledState, mDefaultState); in P2pStateMachine()
809 addState(mInactiveState, mP2pEnabledState); in P2pStateMachine()
810 addState(mGroupCreatingState, mP2pEnabledState); in P2pStateMachine()
811 addState(mUserAuthorizingInviteRequestState, mGroupCreatingState); in P2pStateMachine()
812 addState(mUserAuthorizingNegotiationRequestState, mGroupCreatingState); in P2pStateMachine()
813 addState(mProvisionDiscoveryState, mGroupCreatingState); in P2pStateMachine()
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java1439 addState(mInitialState); in TetherMainSM()
1440 addState(mTetherModeAliveState); in TetherMainSM()
1441 addState(mSetIpForwardingEnabledErrorState); in TetherMainSM()
1442 addState(mSetIpForwardingDisabledErrorState); in TetherMainSM()
1443 addState(mStartTetheringErrorState); in TetherMainSM()
1444 addState(mStopTetheringErrorState); in TetherMainSM()
1445 addState(mSetDnsForwardersErrorState); in TetherMainSM()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java112 addState(mDefaultState); in NsdStateMachine()
113 addState(mDisabledState, mDefaultState); in NsdStateMachine()
114 addState(mEnabledState, mDefaultState); in NsdStateMachine()
/frameworks/base/graphics/java/android/graphics/drawable/
DStateListDrawable.java84 public void addState(int[] stateSet, Drawable drawable) { in addState() method in StateListDrawable
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java643 addState(mDefaultState); in DataConnection()
644 addState(mInactiveState, mDefaultState); in DataConnection()
645 addState(mActivatingState, mDefaultState); in DataConnection()
646 addState(mActiveState, mDefaultState); in DataConnection()
647 addState(mDisconnectingState, mDefaultState); in DataConnection()
648 addState(mDisconnectingErrorCreatingConnection, mDefaultState); in DataConnection()
DDcController.java128 addState(mDccDefaultState); in DcController()

12