Home
last modified time | relevance | path

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

/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DNetworkState.java157 State preState = mStateDepository.get(i-1); in validateNetworkDisconnection() local
159 if ((preState == State.CONNECTED) && ((curState == State.DISCONNECTING) || in validateNetworkDisconnection()
162 } else if ((preState == State.DISCONNECTING) && (curState == State.DISCONNECTED)) { in validateNetworkDisconnection()
164 } else if ((preState == State.DISCONNECTED) && (curState == State.DISCONNECTED)) { in validateNetworkDisconnection()
168 preState.toString(), curState.toString())); in validateNetworkDisconnection()
198 State preState = mStateDepository.get(i-1); in validateNetworkConnection() local
200 if ((preState == State.DISCONNECTED) && ((curState == State.CONNECTING) || in validateNetworkConnection()
203 } else if ((preState == State.CONNECTING) && (curState == State.CONNECTED)) { in validateNetworkConnection()
205 } else if ((preState == State.CONNECTED) && (curState == State.CONNECTED)) { in validateNetworkConnection()
209 preState.toString(), curState.toString())); in validateNetworkConnection()