Home
last modified time | relevance | path

Searched refs:addState (Results 1 – 25 of 33) 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/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStateTracker.java101 addState(mDefaultState); in SupplicantStateTracker()
102 addState(mUninitializedState, mDefaultState); in SupplicantStateTracker()
103 addState(mInactiveState, mDefaultState); in SupplicantStateTracker()
104 addState(mDisconnectState, mDefaultState); in SupplicantStateTracker()
105 addState(mConnectionActiveState, mDefaultState); in SupplicantStateTracker()
106 addState(mScanState, mConnectionActiveState); in SupplicantStateTracker()
107 addState(mHandshakeState, mConnectionActiveState); in SupplicantStateTracker()
108 addState(mCompletedState, mConnectionActiveState); in SupplicantStateTracker()
109 addState(mDormantState, mConnectionActiveState); in SupplicantStateTracker()
DClientModeManager.java448 addState(mIdleState); in ClientModeStateMachine()
449 addState(mStartedState); in ClientModeStateMachine()
450 addState(mScanOnlyModeState, mStartedState); in ClientModeStateMachine()
451 addState(mConnectModeState, mStartedState); in ClientModeStateMachine()
DActiveModeWarden.java635 addState(defaultState); { in WifiController()
636 addState(mDisabledState, defaultState); in WifiController()
637 addState(mEnabledState, defaultState); in WifiController()
DSoftApManager.java559 addState(mIdleState); in SoftApStateMachine()
560 addState(mStartedState); in SoftApStateMachine()
DClientModeImpl.java868 addState(mDefaultState); in ClientModeImpl()
869 addState(mConnectModeState, mDefaultState); in ClientModeImpl()
870 addState(mL2ConnectedState, mConnectModeState); in ClientModeImpl()
871 addState(mObtainingIpState, mL2ConnectedState); in ClientModeImpl()
872 addState(mConnectedState, mL2ConnectedState); in ClientModeImpl()
873 addState(mRoamingState, mL2ConnectedState); in ClientModeImpl()
874 addState(mDisconnectingState, mConnectModeState); in ClientModeImpl()
875 addState(mDisconnectedState, mConnectModeState); in ClientModeImpl()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DStateMachineTest.java115 stateMachine.addState(exampleState); in testToStringSucceedsEvenIfStateHasNoName()
126 stateMachine.addState(exampleState); in testToStringIncludesMachineAndStateNames()
137 stateMachine.addState(exampleState); in testToStringDoesNotContainMultipleLines()
155 addState(mS1); in StateMachineQuitTest()
256 addState(mS1); in StateMachineQuitNowTest()
358 addState(mS1); in StateMachineQuitNowAfterStartTest()
451 addState(mS1); in StateMachineEnterExitTransitionToTest()
452 addState(mS2); in StateMachineEnterExitTransitionToTest()
453 addState(mS3); in StateMachineEnterExitTransitionToTest()
454 addState(mS4); in StateMachineEnterExitTransitionToTest()
[all …]
/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.java154 addState(mDefaultState); in NetworkTypeController()
155 addState(mLegacyState, mDefaultState); in NetworkTypeController()
156 addState(mIdleState, mDefaultState); in NetworkTypeController()
157 addState(mLteConnectedState, mDefaultState); in NetworkTypeController()
158 addState(mNrConnectedState, mDefaultState); in NetworkTypeController()
DInboundSmsHandler.java292 addState(mDefaultState); in InboundSmsHandler()
293 addState(mStartupState, mDefaultState); in InboundSmsHandler()
294 addState(mIdleState, mDefaultState); in InboundSmsHandler()
295 addState(mDeliveringState, mDefaultState); in InboundSmsHandler()
296 addState(mWaitingState, mDeliveringState); in InboundSmsHandler()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DRilMessageDecoder.java122 addState(mStateStart); in RilMessageDecoder()
123 addState(mStateCmdParamsReady); in RilMessageDecoder()
/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/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/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/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java656 addState(mDefaultState); in WifiSingleScanStateMachine()
657 addState(mDriverStartedState, mDefaultState); in WifiSingleScanStateMachine()
658 addState(mIdleState, mDriverStartedState); in WifiSingleScanStateMachine()
659 addState(mScanningState, mDriverStartedState); in WifiSingleScanStateMachine()
1314 addState(mDefaultState); in WifiBackgroundScanStateMachine()
1315 addState(mStartedState, mDefaultState); in WifiBackgroundScanStateMachine()
1316 addState(mPausedState, mDefaultState); in WifiBackgroundScanStateMachine()
1786 addState(mDefaultState); in WifiPnoScanStateMachine()
1787 addState(mStartedState, mDefaultState); in WifiPnoScanStateMachine()
1788 addState(mHwPnoScanState, mStartedState); in WifiPnoScanStateMachine()
[all …]
/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.java319 addState(mInitialState); in IpServer()
320 addState(mLocalHotspotState); in IpServer()
321 addState(mTetheredState); in IpServer()
322 addState(mWaitingForRestartState, mTetheredState); in IpServer()
323 addState(mUnavailableState); in IpServer()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java810 addState(mDefaultState); in P2pStateMachine()
811 addState(mP2pNotSupportedState, mDefaultState); in P2pStateMachine()
812 addState(mP2pDisablingState, mDefaultState); in P2pStateMachine()
813 addState(mP2pDisabledState, mDefaultState); in P2pStateMachine()
814 addState(mP2pEnabledState, mDefaultState); in P2pStateMachine()
815 addState(mInactiveState, mP2pEnabledState); in P2pStateMachine()
816 addState(mGroupCreatingState, mP2pEnabledState); in P2pStateMachine()
817 addState(mUserAuthorizingInviteRequestState, mGroupCreatingState); in P2pStateMachine()
818 addState(mUserAuthorizingNegotiationRequestState, mGroupCreatingState); in P2pStateMachine()
819 addState(mProvisionDiscoveryState, mGroupCreatingState); in P2pStateMachine()
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java1439 addState(mInitialState); in TetherMasterSM()
1440 addState(mTetherModeAliveState); in TetherMasterSM()
1441 addState(mSetIpForwardingEnabledErrorState); in TetherMasterSM()
1442 addState(mSetIpForwardingDisabledErrorState); in TetherMasterSM()
1443 addState(mStartTetheringErrorState); in TetherMasterSM()
1444 addState(mStopTetheringErrorState); in TetherMasterSM()
1445 addState(mSetDnsForwardersErrorState); in TetherMasterSM()
/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
DAnimatedStateListDrawable.java112 public void addState(@NonNull int[] stateSet, @NonNull Drawable drawable, int id) { in addState() method in AnimatedStateListDrawable
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java626 addState(mDefaultState); in DataConnection()
627 addState(mInactiveState, mDefaultState); in DataConnection()
628 addState(mActivatingState, mDefaultState); in DataConnection()
629 addState(mActiveState, mDefaultState); in DataConnection()
630 addState(mDisconnectingState, mDefaultState); in DataConnection()
631 addState(mDisconnectingErrorCreatingConnection, mDefaultState); in DataConnection()
DDcController.java128 addState(mDccDefaultState); in DcController()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java772 addState(mLoggingState); in TestStateMachine()

12