Home
last modified time | relevance | path

Searched refs:allStates (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/util/
DStateMachineShimTest.kt55 val allStates = ArrayList<StateInfo>() in makeSyncStateMachine() constant
56 allStates.add(StateInfo(mState1, null)) in makeSyncStateMachine()
57 allStates.add(StateInfo(mState2, mState1)) in makeSyncStateMachine()
58 shimUsingSyncSM.addAllStates(allStates) in makeSyncStateMachine()
59 inOrder.verify(mSyncSM).addAllStates(allStates) in makeSyncStateMachine()
100 val allStates = ArrayList<StateInfo>() in testUsingAsyncStateMachine() constant
101 allStates.add(StateInfo(mState1, null)) in testUsingAsyncStateMachine()
102 allStates.add(StateInfo(mState2, mState1)) in testUsingAsyncStateMachine()
103 shimUsingAsyncSM.addAllStates(allStates) in testUsingAsyncStateMachine()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java363 final ArrayList allStates = new ArrayList<StateInfo>(); in IpServer() local
364 allStates.add(new StateInfo(mInitialState, null)); in IpServer()
365 allStates.add(new StateInfo(mLocalHotspotState, null)); in IpServer()
366 allStates.add(new StateInfo(mTetheredState, null)); in IpServer()
367 allStates.add(new StateInfo(mWaitingForRestartState, mTetheredState)); in IpServer()
368 allStates.add(new StateInfo(mUnavailableState, null)); in IpServer()
369 addAllStates(allStates); in IpServer()